Closed
Bug 310421
Opened 19 years ago
Closed 19 years ago
Updates fail due to missing hash
Categories
(Toolkit :: Add-ons Manager, defect)
Toolkit
Add-ons Manager
Tracking
()
RESOLVED
FIXED
People
(Reporter: dveditz, Assigned: robert.strong.bugs)
References
Details
(Keywords: fixed1.8, regression)
Attachments
(1 file)
2.41 KB,
patch
|
benjamin
:
review+
dveditz
:
superreview+
asa
:
approval1.8b5+
|
Details | Diff | Splinter Review |
Since bug 306478 landed updates fail since none of the update rdf files yet specify the hash. The hash should be optional. Enforced if it's present, of course, but not required as that breaks existing update sites. See bug 306478 comment 13. reason for the failure, backend looks for null as "no hash", a blank string is interpreted as a malformed hash (that is, asserting that the calling code *intended* a hash check).
Reporter | ||
Updated•19 years ago
|
Keywords: regression
Assignee | ||
Comment 1•19 years ago
|
||
Thought I had this already... that's what I get for thinking. Daniel - could you take a look at this as well?
Attachment #197824 -
Flags: superreview?(dveditz)
Attachment #197824 -
Flags: review?(benjamin)
Reporter | ||
Comment 2•19 years ago
|
||
Comment on attachment 197824 [details] [diff] [review] patch sr=dveditz I flop/flip about every 30 seconds whether nsXPITriggerInfo ought to treat "" and null the same. This patch is good, it works regardless of what we decide in xpinstall.
Attachment #197824 -
Flags: superreview?(dveditz) → superreview+
Updated•19 years ago
|
Attachment #197824 -
Flags: review?(benjamin) → review+
Assignee | ||
Comment 3•19 years ago
|
||
Checked in on trunk Checking in mozilla/toolkit/mozapps/extensions/src/nsExtensionManager.js.in; /cvsroot/mozilla/toolkit/mozapps/extensions/src/nsExtensionManager.js.in,v <-- nsExtensionManager.js.in new revision: 1.159; previous revision: 1.158 done Checking in mozilla/toolkit/mozapps/extensions/content/update.js; /cvsroot/mozilla/toolkit/mozapps/extensions/content/update.js,v <-- update.js new revision: 1.20; previous revision: 1.19 done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 4•19 years ago
|
||
Comment on attachment 197824 [details] [diff] [review] patch please land this on the branch along with bug 306478. thanks.
Attachment #197824 -
Flags: approval1.8b5+
Updated•19 years ago
|
Flags: blocking1.8b5+
Assignee | ||
Comment 5•19 years ago
|
||
Checked in along with the patch in bug 306478
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•