Closed Bug 911949 Opened 11 years ago Closed 11 years ago

[WAP push] When there are 2 SI with same ID but different created date, open either one will get empty message and unable to close it.

Categories

(Firefox OS Graveyard :: Gaia, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:koi+)

RESOLVED DUPLICATE of bug 911947
blocking-b2g koi+

People

(Reporter: echu, Assigned: gsvelto)

Details

(Whiteboard: [FT:RIL])

Attachments

(2 files)

Attached file 17:41. (deleted) —
When there are 2 SI with same ID but different created date, open either one will get empty message and unable to close it.

* Build Number                
Gaia:     9fb5802df60a9081846d704def01df814ed8fbd4
Gecko:    http://hg.mozilla.org/mozilla-central/rev/b6c29e434519
BuildID   20130901040215
Version   26.0a1

* Reproduce Steps
1. Send SI with SI ID:abc, create date 2013-09-03T10:35:33Z from NowSMS to DUT.
2. Send another SI with same ID, but create date 2013-09-03T17:35:33Z
3. Open one of the message.

* Expected Result
Content can be displayed.

* Actual Result
Open am empty message and unable to close it via "x" button.

* Occurrence rate
100%.
blocking-b2g: --- → koi?
blocking-b2g: koi? → koi+
Assignee: nobody → gsvelto
Whiteboard: [FT:RIL]
This patch modifies the way SI messages are parsed to properly extract the 'si-id' field (or synthesize it if it's not present). The application's storage has been moved from raw messages using asyncStorage to parsed messages using IndexedDB and an index was added to retrieve messages via the 'si-id' field.
Hi Gabriele,

Is this patch reviewed and landed? I cannot reproduce it on 
Gaia:     313599c293f596519604070fa378ffc89e61e98f
Gecko:    http://hg.mozilla.org/releases/mozilla-aurora/rev/decf58f0d596
BuildID   20131008004009
Version   26.0a2

Can you confirm it?
Flags: needinfo?(gsvelto)
 Hi Enpei,

> Is this patch reviewed and landed? I cannot reproduce it on 
> [...]
> Can you confirm it?

no, this patch has not landed yet. In fact I should obsolete it because I'm fixing this in bug 911947 which is effectively a duplicate of this.
Flags: needinfo?(gsvelto)
The problem causing this issue is the same as for bug 911947 and will be fixed once the patch there lands.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: