Closed Bug 741787 Opened 12 years ago Closed 12 years ago

"Not compatible with Firefox 11" error when running cfx xpi with --update-link and --update-url

Categories

(Add-on SDK Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 740378

People

(Reporter: mikeaschneider, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.142 Safari/535.19

Steps to reproduce:

I ran cfx xpi --update-url some/url/here.rdf --update-link my_addon_name.xpi and then attempted to install the resulting XPI in Firefox 11.


Actual results:

I received the message "[addon name] could not be installed because it is incompatible with Firefox 11.0."


Expected results:

The addon should have installed successfully.
Confirmed. I was able to reproduce it without being able to know why it fails.
It seems to be a bug in AddonManager that dislike whatever value we put in updateURL within install.rdf:
  <em:updateURL>http://www.foo.com/update.cgi?id=%ITEM_ID%&amp;version=%ITEM_VERSION%</em:updateURL>

(If we remove this attribute from install.rdf, install works fine)

Mossop, I can't remember what was the preference to get more output from addon manager. By default, it doesn't ouput any log message :(
Status: UNCONFIRMED → NEW
Ever confirmed: true
(In reply to Alexandre Poirot (:ochameau) from comment #1)
> Mossop, I can't remember what was the preference to get more output from
> addon manager. By default, it doesn't ouput any log message :(

extensions.logging.enabled looks like a good place to start. :)
(In reply to Alexandre Poirot (:ochameau) from comment #1)
> Confirmed. I was able to reproduce it without being able to know why it
> fails.
> It seems to be a bug in AddonManager that dislike whatever value we put in
> updateURL within install.rdf:
>  
> <em:updateURL>http://www.foo.com/update.cgi?id=%ITEM_ID%&amp;
> version=%ITEM_VERSION%</em:updateURL>
> 
> (If we remove this attribute from install.rdf, install works fine)
> 
> Mossop, I can't remember what was the preference to get more output from
> addon manager. By default, it doesn't ouput any log message :(

That's an insecure updateURL and presumably you have no updateKey in the install.rdf. If you try with a secure updateURL (https) it should work.
Unless you are using a https URL this is just bug 740378
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.