[Loop] Expiration date is longer than 56 days when the date of the device is changed to the past

VERIFIED FIXED

Status

Firefox OS
Gaia::Loop
VERIFIED FIXED
3 years ago
3 years ago

People

(Reporter: isabelrios, Assigned: jaoo)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [Room1.1.1_TestRun1][tef-triage])

Attachments

(2 attachments)

(Reporter)

Description

3 years ago
Created attachment 8549541 [details]
2015-01-15-11-08-46.png

Flame 2.0
Gecko-5f9dc54
Gaia-31d6c94
Loop master version

User A logged in mobile loop app.

1. User A creates a Room
2. In settings, Date&Time, change the date, for example three months earlier
3. Go to Room list, Room detail and check the expiration date

EXPECTED
Expiration date is 56 days maximum

ACTUAL
Depending on the past date selected, the expiration date is longer than 56 days
This issue has the same root case that bug 1121866, we need to make a decision about the date changes in the device
See Also: → bug 1121866
Whiteboard: [Room1.1.1_TestRun1] → [Room1.1.1_TestRun1][tef-triage]
(Assignee)

Updated

3 years ago
Assignee: nobody → josea.olivera
Status: NEW → ASSIGNED
(Assignee)

Comment 2

3 years ago
Created attachment 8551336 [details] [review]
Pointer to Github PR https://github.com/mozilla-b2g/firefoxos-loop-client/pull/478
Attachment #8551336 - Flags: review?(crdlc)
Comment on attachment 8551336 [details] [review]
Pointer to Github PR https://github.com/mozilla-b2g/firefoxos-loop-client/pull/478

LGTM, left a couple of comments, thanks a lot
Attachment #8551336 - Flags: review?(crdlc) → review+
Summary: [Loop] Expiration date is longer than 56 days when the date of the device is change to the past → [Loop] Expiration date is longer than 56 days when the date of the device is changed to the past
(Assignee)

Comment 4

3 years ago
Landed on master branch at:

https://github.com/mozilla-b2g/firefoxos-loop-client/commit/1b1fb596cb9f9ea1a5aeab32eb8e45d67d7b3177
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Tested and it is working. Today I have created a room and after I have changed date in device to two month earlier, expiration date is 56 days maximum.

FireE
Commercial version 2.0
Loop version:1.1.1/d4d6d37
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.