Closed
Bug 255803
Opened 20 years ago
Closed 19 years ago
update website needs to handle version numbers correctly
Categories
(addons.mozilla.org Graveyard :: Developer Pages, defect)
addons.mozilla.org Graveyard
Developer Pages
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 304857
2.0
People
(Reporter: bugs, Assigned: morgamic)
References
Details
The version strings stored in varchar(10)s in Version, MinAppVer, MaxAppVer are
treated as decimals by various functions in update.mozilla.org code.
Instead, they should be treated as Firefox Version Format strings, which
requires some special parsing and analysis. See
http://lxr.mozilla.org/aviarybranch/source/toolkit/mozapps/extensions/service/Version.java
Reporter | ||
Updated•20 years ago
|
Flags: blocking-aviary1.0PR+
Priority: -- → P1
Updated•20 years ago
|
Status: ASSIGNED → NEW
Comment 1•20 years ago
|
||
any progress on this one? how critical is this for holding up the initial PR push?
Updated•20 years ago
|
Whiteboard: [server side]
Comment 2•20 years ago
|
||
(In reply to comment #1)
I wouldn't hold PR for this, as its pretty much stalled. The "functions" in
Update code that don't parse the string properly are part the MySQL query
strings. MySQL itself doesn't seem to have string functions suitable to resolve
this bug. That I've found in the MySQL 4.x manual. I haven't found another way
to do this either. (having PHP parse it, as Ben has had Java do in the link
provided, would require returning the whole list each time, I'm pretty sure.
which is unacceptable, IMO).
Updated•20 years ago
|
Whiteboard: [server side] → [server side] fixed by switch to rdf?
Updated•20 years ago
|
Whiteboard: [server side] fixed by switch to rdf?
Updated•20 years ago
|
Priority: P1 → --
Comment 4•20 years ago
|
||
*** Bug 263994 has been marked as a duplicate of this bug. ***
Comment 5•20 years ago
|
||
*** Bug 264970 has been marked as a duplicate of this bug. ***
There are several bugs that relate to the sorting of versions being incorrect.
I suggest that we correct this by having columns for major, minor, subver, and
build, like we do for t_applications. This would be more correct than Date
Updated because someone can add/edit an older version.
This will not only require a db change, but some php to change when inserting
the record and querying.
RSS and XML export are dependent.
Comment 7•20 years ago
|
||
Date Updated isn't what's used.
Assignee: psychoticwolf → nobody
Whiteboard: after-1.0
Comment 8•20 years ago
|
||
Bulk Moving Developer Control Panel bugs to new component.
(Filter: massdevcpspam)
Component: Update → Developers
Product: mozilla.org → Update
Version: other → unspecified
Severity: normal → major
Whiteboard: after-1.0
Target Milestone: --- → 1.1
Comment 9•19 years ago
|
||
*** This bug has been marked as a duplicate of 304857 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•