mirror of
https://github.com/ushahidi/SMSSync.git
synced 2026-04-25 07:45:53 +03:00
[GH-ISSUE #356] App sends data of all failed messages in one request #257
Labels
No labels
Bug report
Code improvement
Concern
Feature request
Feature request
Good first issue to work on
In progress
Needs info
Question
Ready
Translation
User Experience
User Experience
Website
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SMSSync#257
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @raghavio on GitHub (Nov 18, 2015).
Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/356
Originally assigned to: @eyedol on GitHub.
Let's say I have one pending message. I try to publish it. My service does not respond with JSON so it goes back to pending again.
Now if I try to publish again it increments the data of all the failed messages with that request.
For example
This happens only when I choose URLEncoded or XML as data format for my request. JSON works fine and only sends data of that one message I selected.
@eyedol commented on GitHub (Nov 18, 2015):
@RaghavPro Funky. Thanks for reporting. Will look into this.
@raghavio commented on GitHub (Nov 18, 2015):
Another thing which is very weird.
I have two services. One is heroku and the other is http://requestb.in, which inspect http requests.
They both have different secret keys.
But, I see secret key of heroku service on requestb page along with requestb's secret key.
Request body:
Here's a screenshot from requestb's page for better readability.

test is for requestb and the other one is for heroku.
It is sending details of one service with the url of another. Weird. This is all from one request.
@eyedol commented on GitHub (Nov 19, 2015):
@RaghavPro Quick question. We're you manually publishing the failed messages? You hit a button to upload the messages.
@raghavio commented on GitHub (Nov 19, 2015):
Yes, manually published it.
From: Henry Addomailto:notifications@github.com
Sent: 19/11/2015 12:41
To: ushahidi/SMSSyncmailto:SMSSync@noreply.github.com
Cc: Raghav Sharmamailto:Raghav_ftw@hotmail.com
Subject: Re: [SMSSync] App sends data of all failed messages in one request (#356)
@RaghavPro Quick question. We're you manually publishing the failed messages? You hit a button to upload the messages.
Reply to this email directly or view it on GitHub:
https://github.com/ushahidi/SMSSync/issues/356#issuecomment-157972644