Closed
Bug 801742
Opened 13 years ago
Closed 13 years ago
B2G Updates: Display "No updates found" message during Force Update check
Categories
(Firefox OS Graveyard :: General, defect, P1)
Tracking
(blocking-basecamp:+, firefox18 fixed, firefox19 fixed)
RESOLVED
FIXED
blocking-basecamp | + |
People
(Reporter: tchung, Assigned: marshall)
References
Details
(Whiteboard: [dogfooding-blocker])
Attachments
(1 file)
6.52 KB,
patch
|
fabrice
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #798948 +++
Need text displayed if an update is not available. Right not, tapping Check now does send a request in logcat, but nothing is shown to the User if no updates are found.
Logcat:
10-15 10:32:51.510: E/GeckoConsole(455): AUS:SVC Checker:checkForUpdates - sending request to: http://update.boot2gecko.org/nightly/update.xml?force=1
10-15 10:32:51.510: I/GeckoDump(455): XXX FIXME : Got a mozContentEvent: force-update-check
Repro:
1) install 10-15-2012 unagi nightly build
** Gaia: 589c7f8f7df88766f7a5fa944f6bb05eef04b8c3
** Gecko: 1ec4bdea9de7c0567810fd09cb55b02304b3186d
2) settings > Device information > Software Updates > tap "Check Now"
3) Verify if no updates are available (because you're on a latest build), there's no error shown on the UI indicating nothing is found.
Expected:
- when force update checking, and no updates found, display "No updates found" on the device someplace
Actual:
- no messages for "No updates Found" when force checking for updates
Reporter | ||
Updated•13 years ago
|
Summary: B2G Updates: Implement "force update check" → B2G Updates: Display "No updates found" message during Force Update check
Reporter | ||
Updated•13 years ago
|
Severity: major → normal
Priority: P1 → --
Updated•13 years ago
|
Assignee: nobody → marshall
blocking-basecamp: ? → +
Assignee | ||
Comment 1•13 years ago
|
||
In Josh's UX document, errors from a manual check show up in a pop-up message banner on the bottom of the screen.
@etienne Do you know if Gaia supports these kinds of banners? If not maybe we can just add a status message area in the settings page.
Assignee: marshall → nobody
blocking-basecamp: + → ?
Assignee | ||
Comment 2•13 years ago
|
||
Argh, accidentally cleared blocking-basecamp+. Can someone with powers greater than me change this back?
Assignee: nobody → marshall
Updated•13 years ago
|
blocking-basecamp: ? → +
Updated•13 years ago
|
Whiteboard: ota update → ota update [dogfooding-blocker]
Reporter | ||
Updated•13 years ago
|
Whiteboard: ota update [dogfooding-blocker] → ota update, [dogfooding-blocker]
Reporter | ||
Comment 3•13 years ago
|
||
adding severity P1 and importance: critical to get onto the dogfood-blocking bug query radar.
Severity: normal → critical
Priority: -- → P1
Reporter | ||
Updated•13 years ago
|
Whiteboard: ota update, [dogfooding-blocker] → [dogfooding-blocker]
Comment 4•13 years ago
|
||
What is the status here?
Assignee | ||
Comment 5•13 years ago
|
||
This uses a mozChromeEvent to notify of fatal errors, and a setting to notify of
non-fatal errors or completion.
Attachment #671919 -
Flags: review?(fabrice)
Assignee | ||
Comment 6•13 years ago
|
||
Gaia pull request:
https://github.com/mozilla-b2g/gaia/pull/5850
Comment 7•13 years ago
|
||
Comment on attachment 671919 [details] [diff] [review]
update errors and status - v1
Review of attachment 671919 [details] [diff] [review]:
-----------------------------------------------------------------
r=me
::: b2g/components/UpdatePrompt.js
@@ +30,1 @@
>
Nit: remove blank line.
@@ +42,5 @@
> "nsIIdleService");
>
> +XPCOMUtils.defineLazyServiceGetter(Services, "settings",
> + "@mozilla.org/settingsService;1",
> + "nsISettingsService");
Nit: add blank line ;)
Also, we usually don't add new fields to the "Services" object. I'm ok to clean that in a follow up.
Attachment #671919 -
Flags: review?(fabrice) → review+
Assignee | ||
Comment 8•13 years ago
|
||
Comment 9•13 years ago
|
||
Updated•13 years ago
|
Reporter | ||
Comment 10•13 years ago
|
||
Verified fix on 10-17-2012 unagi. message now shows "This is already the latest version of Firefox OS"
** Gaia: e3efbd0411
BuildID=2012101708343
logcat:
10-17 10:31:23.919: E/GeckoConsole(2038): AUS:SVC Checker:getUpdateURL - update URL: http://update.boot2gecko.org/stable/update.xml?force=1
10-17 10:31:23.919: I/Gecko(2038): *** AUS:SVC Checker:onLoad - number of updates available: 1
10-17 10:31:23.919: E/GeckoConsole(2038): AUS:SVC Checker:onLoad - number of updates available: 1
10-17 10:31:23.929: I/Gecko(2038): *** AUS:SVC UpdateService:selectUpdate - skipping update because the update's application version is less than the current application version
10-17 10:31:23.929: E/GeckoConsole(2038): AUS:SVC UpdateService:selectUpdate - skipping update because the update's application version is less than the current application version
Comment 11•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•