Closed Bug 255311 Opened 20 years ago Closed 20 years ago

Add extension: limit maxVer to known versions - change install.rdf

Categories

(addons.mozilla.org Graveyard :: Developer Pages, enhancement)

x86
All
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: Bugzilla-alanjstrBugs, Assigned: wolf)

Details

If someone uploads an invalid maxVer, we should change it for them. Definitely a future item.
*** Bug 255310 has been marked as a duplicate of this bug. ***
Change in the DB or in the XPI?
One bug is for the website, the other is for install.rdf. Obviously one is easier than the other.
Actually editing the install.rdf isn't going to happen in the known future, the zip functions are read-only. heh. If that's what this bug is about. It's not very clear.
Yes, this is about changing install.rdf. phpMyAdmin export is able to generate a zip, so all we'd need to do is extract install.rdf, make a change, and then update the .jar/.xpi
I'm not in favor of this change. The install.rdf doesn't need modifying anymore as firefox checks with the DB data. The code would have to be very careful to not damage the install.rdf and corrupt the file. I'm not particularly fond of modifying authors submissions post addition. OTOH, a tool for creating a install.rdf that's valid and could be inserted into an XPI, would be acceptable to have to aid the authors, (file a bug for that, if you'd like, and assign it to nobody@ with helpwanted.) :-) I had this bug confused with Bug 255310 on my list. oops.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
err. forgot one thing, that tool should/could be able to remove an existing install.rdf from a package. :-)
If someone uploads an install.rdf with a maxVer of 2.0, extension manager will not check UMO for an update to maxVer, afaik.
(In reply to comment #8) > If someone uploads an install.rdf with a maxVer of 2.0, extension manager will > not check UMO for an update to maxVer, afaik. If somebody uploads a maxVer of 2.0, it'll be rejected. as invalid.
Well, as an Enhancement, it would be more user-friendly to change it to comply, instead of making them make the change themselves and reupload.
Component: Update → Developers
Product: mozilla.org → Update
Version: other → unspecified
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.