mirror of
https://github.com/ushahidi/SMSSync.git
synced 2026-04-25 15:55:57 +03:00
[GH-ISSUE #452] Imported messages not getting published on Lollipop devices #313
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#313
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 @vanso-hubsi on GitHub (Jun 29, 2016).
Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/452
Expected behavior
Imported messages to be published and moved to the Published folder
Actual behavior
Imported messages don't get published
Steps to reproduce the behavior
Import messages on a device running Android >Kitkat
Notes
With the scenario described above, creating the publish request fails and SMSSync throws the following error when trying to publish an imported message:
That null object seems to be a missing value for the message_id key - it seems imported messages don't get a uuid on import.
The code different for import on devices >Kitkat: In contrast to Kitkat imports (ProcessSms.java#L174), messages imported on Lollipop devices don't get a uuid (ProcessSms.java#L210).
Though this empty line indicates that this is explicitly wanted, copying the line from Kitkat above solved the issue for us.