UpdateService:selectUpdate - skipping update even though application version is higher?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

UpdateService:selectUpdate - skipping update even though application version is higher?

Alex K
Hi all,

I'm testing out the v51 codebase. I've got an application at version 51.0. I've made a supplementary update to 51.0.0.1 to test out the updater. The update doesn't ever get downloaded though:

AUS:SVC Checker: checkForUpdates, force: true
AUS:SVC Checker:getUpdateURL - update URL: https://www.test.org/update/test/osx/update.xml?force=1
AUS:SVC Checker:checkForUpdates - sending request to: https://www.test.org/update/test/osx/update.xml?force=1
AUS:SVC Checker:onLoad - request completed downloading document
AUS:SVC Checker:getUpdateURL - update URL: https://www.test.org/update/test/osx/update.xml?force=1
AUS:SVC Checker:onLoad - number of updates available: 1
AUS:SVC UpdateService:selectUpdate - skipping update because the update's application version is less than the current application version

The structure of the update XML is:

<updates><update type="major" buildID="20170125112829" version="51.0.0.1" extensionVersion="51.0.0.1" ><patch type="complete" URL="https://test.org/releases/osx64/update/test-51.0.0.1.en-US.osx64.complete.mar" hashFunction="SHA512" hashValue="74a2d2d125ea42a5496e61cf0559a874307c14f58b197738c6f56066f63df32bf935bb89e7740e2bd0f9e4b373089ab1fdc3394e0e1e18ccf335076994e9b4fa" size="93270351"/></update></updates>

And the application details:

Application Basics
------------------

Name: Test
Version: 51.0
Build ID: 20170125003748
Update Channel: release
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:51.0) Gecko/20100101 Firefox/51.0
OS: Darwin 16.3.0
Multiprocess Windows: 0/1 (Disabled)
Safe Mode: false

I've also tried various update versions such as 52.0 and still get the same error. Am I overlooking anything?
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: UpdateService:selectUpdate - skipping update even though application version is higher?

Alex K
On Wednesday, January 25, 2017 at 12:27:07 PM UTC, Alex wrote:

> Hi all,
>
> I'm testing out the v51 codebase. I've got an application at version 51.0. I've made a supplementary update to 51.0.0.1 to test out the updater. The update doesn't ever get downloaded though:
>
> AUS:SVC Checker: checkForUpdates, force: true
> AUS:SVC Checker:getUpdateURL - update URL: https://www.test.org/update/test/osx/update.xml?force=1
> AUS:SVC Checker:checkForUpdates - sending request to: https://www.test.org/update/test/osx/update.xml?force=1
> AUS:SVC Checker:onLoad - request completed downloading document
> AUS:SVC Checker:getUpdateURL - update URL: https://www.test.org/update/test/osx/update.xml?force=1
> AUS:SVC Checker:onLoad - number of updates available: 1
> AUS:SVC UpdateService:selectUpdate - skipping update because the update's application version is less than the current application version
>
> The structure of the update XML is:
>
> <updates><update type="major" buildID="20170125112829" version="51.0.0.1" extensionVersion="51.0.0.1" ><patch type="complete" URL="https://test.org/releases/osx64/update/test-51.0.0.1.en-US.osx64.complete.mar" hashFunction="SHA512" hashValue="74a2d2d125ea42a5496e61cf0559a874307c14f58b197738c6f56066f63df32bf935bb89e7740e2bd0f9e4b373089ab1fdc3394e0e1e18ccf335076994e9b4fa" size="93270351"/></update></updates>
>
> And the application details:
>
> Application Basics
> ------------------
>
> Name: Test
> Version: 51.0
> Build ID: 20170125003748
> Update Channel: release
> User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:51.0) Gecko/20100101 Firefox/51.0
> OS: Darwin 16.3.0
> Multiprocess Windows: 0/1 (Disabled)
> Safe Mode: false
>
> I've also tried various update versions such as 52.0 and still get the same error. Am I overlooking anything?

Looks like version and extensionVersion have been replace by displayVersion, appVersion and platformVersion? Can anyone confirm? And what do each stand for? I've tried searching the MDN and wiki to no avail.
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: UpdateService:selectUpdate - skipping update even though application version is higher?

Ben Hearsum-2
On 2017-01-25 08:02 AM, Alex wrote:

> On Wednesday, January 25, 2017 at 12:27:07 PM UTC, Alex wrote:
>> Hi all,
>>
>> I'm testing out the v51 codebase. I've got an application at version 51.0. I've made a supplementary update to 51.0.0.1 to test out the updater. The update doesn't ever get downloaded though:
>>
>> AUS:SVC Checker: checkForUpdates, force: true
>> AUS:SVC Checker:getUpdateURL - update URL: https://www.test.org/update/test/osx/update.xml?force=1
>> AUS:SVC Checker:checkForUpdates - sending request to: https://www.test.org/update/test/osx/update.xml?force=1
>> AUS:SVC Checker:onLoad - request completed downloading document
>> AUS:SVC Checker:getUpdateURL - update URL: https://www.test.org/update/test/osx/update.xml?force=1
>> AUS:SVC Checker:onLoad - number of updates available: 1
>> AUS:SVC UpdateService:selectUpdate - skipping update because the update's application version is less than the current application version
>>
>> The structure of the update XML is:
>>
>> <updates><update type="major" buildID="20170125112829" version="51.0.0.1" extensionVersion="51.0.0.1" ><patch type="complete" URL="https://test.org/releases/osx64/update/test-51.0.0.1.en-US.osx64.complete.mar" hashFunction="SHA512" hashValue="74a2d2d125ea42a5496e61cf0559a874307c14f58b197738c6f56066f63df32bf935bb89e7740e2bd0f9e4b373089ab1fdc3394e0e1e18ccf335076994e9b4fa" size="93270351"/></update></updates>
>>
>> And the application details:
>>
>> Application Basics
>> ------------------
>>
>> Name: Test
>> Version: 51.0
>> Build ID: 20170125003748
>> Update Channel: release
>> User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:51.0) Gecko/20100101 Firefox/51.0
>> OS: Darwin 16.3.0
>> Multiprocess Windows: 0/1 (Disabled)
>> Safe Mode: false
>>
>> I've also tried various update versions such as 52.0 and still get the same error. Am I overlooking anything?
>
> Looks like version and extensionVersion have been replace by displayVersion, appVersion and platformVersion? Can anyone confirm? And what do each stand for? I've tried searching the MDN and wiki to no avail.
>

They were, way back in https://bugzilla.mozilla.org/show_bug.cgi?id=530872.
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: UpdateService:selectUpdate - skipping update even though application version is higher?

Alex K
On Wednesday, January 25, 2017 at 2:30:24 PM UTC, Ben Hearsum wrote:

> On 2017-01-25 08:02 AM, Alex wrote:
> > On Wednesday, January 25, 2017 at 12:27:07 PM UTC, Alex wrote:
> >> Hi all,
> >>
> >> I'm testing out the v51 codebase. I've got an application at version 51.0. I've made a supplementary update to 51.0.0.1 to test out the updater. The update doesn't ever get downloaded though:
> >>
> >> AUS:SVC Checker: checkForUpdates, force: true
> >> AUS:SVC Checker:getUpdateURL - update URL: https://www.test.org/update/test/osx/update.xml?force=1
> >> AUS:SVC Checker:checkForUpdates - sending request to: https://www.test.org/update/test/osx/update.xml?force=1
> >> AUS:SVC Checker:onLoad - request completed downloading document
> >> AUS:SVC Checker:getUpdateURL - update URL: https://www.test.org/update/test/osx/update.xml?force=1
> >> AUS:SVC Checker:onLoad - number of updates available: 1
> >> AUS:SVC UpdateService:selectUpdate - skipping update because the update's application version is less than the current application version
> >>
> >> The structure of the update XML is:
> >>
> >> <updates><update type="major" buildID="20170125112829" version="51.0.0.1" extensionVersion="51.0.0.1" ><patch type="complete" URL="https://test.org/releases/osx64/update/test-51.0.0.1.en-US.osx64.complete.mar" hashFunction="SHA512" hashValue="74a2d2d125ea42a5496e61cf0559a874307c14f58b197738c6f56066f63df32bf935bb89e7740e2bd0f9e4b373089ab1fdc3394e0e1e18ccf335076994e9b4fa" size="93270351"/></update></updates>
> >>
> >> And the application details:
> >>
> >> Application Basics
> >> ------------------
> >>
> >> Name: Test
> >> Version: 51.0
> >> Build ID: 20170125003748
> >> Update Channel: release
> >> User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:51.0) Gecko/20100101 Firefox/51.0
> >> OS: Darwin 16.3.0
> >> Multiprocess Windows: 0/1 (Disabled)
> >> Safe Mode: false
> >>
> >> I've also tried various update versions such as 52.0 and still get the same error. Am I overlooking anything?
> >
> > Looks like version and extensionVersion have been replace by displayVersion, appVersion and platformVersion? Can anyone confirm? And what do each stand for? I've tried searching the MDN and wiki to no avail.
> >
>
> They were, way back in https://bugzilla.mozilla.org/show_bug.cgi?id=530872.

Ah strange, the update from v50 -> v51 accepted version/extensionVersion. Wonder what landed to change that. Will have a gander through bugs between 50->51. Thanks for the link!
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds