Closed
Bug 861967
Opened 12 years ago
Closed 12 years ago
updater sets PLATFORM_VERSION part of URL wrong
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 23
People
(Reporter: bhearsum, Assigned: bhearsum)
Details
Attachments
(1 file)
2.68 KB,
patch
|
snorp
:
review+
bhearsum
:
checkin+
|
Details | Diff | Splinter Review |
The update URL for Fennec is currently defined like this:
UPDATE_URL = "https://aus2.mozilla.org/update/4/" + AppConstants.MOZ_APP_BASENAME + "/" +
AppConstants.MOZ_APP_VERSION +
"/%BUILDID%/Android_" + AppConstants.MOZ_APP_ABI + pkgSpecial +
"/%LOCALE%/" + AppConstants.MOZ_UPDATE_CHANNEL +
"/%OS_VERSION%/default/default/" + AppConstants.MOZ_APP_VERSION +
"/update.xml";
}
However, the last path segment of the URL should be the Gecko version, not the application version. For comparison, this is what the XUL based Fennec used: https://aus2.mozilla.org/update/4/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/%PLATFORM_VERSION%/update.xml (from https://mxr.mozilla.org/mobile-browser/source/app/mobile.js#517).
Updated•12 years ago
|
Assignee: nobody → snorp
Assignee | ||
Comment 1•12 years ago
|
||
I pushed a possible patch for this to try: https://tbpl.mozilla.org/?tree=Try&rev=b147041377c2
Assignee: snorp → nobody
Assignee | ||
Comment 2•12 years ago
|
||
This patch seems to have worked, I got this in my log from the test build:
I/UpdateService( 5169): openning connection with url: https://aus2.mozilla.org/update/4/Fennec/23.0a1/20130415130941/Android_arm-eabi-gcc3/en-US/default/4.1.1/default/default/99.0a1/update.xml
Comment 3•12 years ago
|
||
Comment on attachment 738096 [details] [diff] [review]
use MOZILLA_VERSION
Review of attachment 738096 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, thanks
Attachment #738096 -
Flags: review?(snorp) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Comment on attachment 738096 [details] [diff] [review]
use MOZILLA_VERSION
Landed to inbound: https://hg.mozilla.org/integration/mozilla-inbound/rev/f2ddcae0868a
Attachment #738096 -
Flags: checkin+
Comment 5•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 23
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•