Closed Bug 1048842 Opened 10 years ago Closed 10 years ago

[Loop] Changing the date of the device, change the expiration time of a shared URL

Categories

(Firefox OS Graveyard :: Gaia::Loop, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mbarone976, Unassigned)

References

Details

(Whiteboard: [mobile app][not blocking][Test-Run1])

Device: Flame / Fire E Loop Id: 24c7618 STR: 1. Share a URL by email 2. Once the shared URL is shown in the call log (with the expiration time), open settings app and change the date of the device 3. Open again the call log in Loop ACTUAL RESULT The expiration time change according the date of the device EXPECTED RESULT The expiration time should be independent of the date of the device. Also in this case is possible to call an expired URL.
This issue still occurs on the latest 2.0 build with the v165 KK base as written for Device B. When the device date is changed, the expiration time changes as well. Environmental Variables: Device: Flame 2.0 BuildID: 20140819030000 Gaia: 287a2c725a5c14e5dc1d48e3158ffc79c7d1ea33 Gecko: 6329352ca531b977979451e77e5862af485388b2 Version: 32.0 (2.0) Firmware Version: v165 User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0 Loop version: 32219a2
In this case, the expiration date is a number of days based on the current date. If you change the reference date, the expiration date shown will be updated accordingly (and I think this is the right behavior). Could you explain the STR? Is this a bug?
Flags: needinfo?(mbarone976)
Borja, one question, are we calculating (in the mobile application) the expiration date or the server is providing an absolute expiration date?
Flags: needinfo?(borja.bugzilla)
Server provides a date, (for example 1st of December, 2014). Taking server date and the current date (the one we use as reference), we calculate the number of days when we could use the URL. That's why changing the device date (imagine if we set the date to the 2nd of December, 2014) will be translated sometimes in the label 'Expired' in the UI.
Flags: needinfo?(borja.bugzilla)
Thanks Borja! so if the user sets correctly the date of the device, there should not be any issue. In that case I don't think this bug is blocking. The only way to avoid this weird behavior should be showing the expired date and not the pending days for the expiration, but this would be a product decision. Jorge, Romain, up to you, guys!
Flags: needinfo?(rtestard)
Flags: needinfo?(jorge.munuera)
Whiteboard: [mobile app] → [mobile app][not blocking]
I think this is a fairly edge case and I'm happy to leave this one as is currently (I'd expect my calendar to wrongly warn me of meetings if I set my date incorrectly on my device). I expect most people use automatic dates and times rather than manual but I may be wrong.
Flags: needinfo?(rtestard)
(In reply to Romain Testard [:RT] from comment #6) > I think this is a fairly edge case and I'm happy to leave this one as is > currently (I'd expect my calendar to wrongly warn me of meetings if I set my > date incorrectly on my device). > I expect most people use automatic dates and times rather than manual but I > may be wrong. Agree with you, Massimo, let me know your opinion to close the bug or not
Flags: needinfo?(jorge.munuera)
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(mbarone976)
Resolution: --- → WONTFIX
Whiteboard: [mobile app][not blocking] → [mobile app][not blocking][Test-Run1]
You need to log in before you can comment on or make changes to this bug.