Closed
Bug 1523725
Opened 7 years ago
Closed 7 years ago
Version comparing the strings from compatibility.ini fails in some cases
Categories
(Toolkit :: Startup and Profile System, enhancement)
Toolkit
Startup and Profile System
Tracking
()
RESOLVED
FIXED
People
(Reporter: mossop, Assigned: mossop)
References
Details
Attachments
(2 files)
compatibility.ini uses versions in the format: <appversion>_<appbuild>/<platformbuild>
The version comparator doesn't recognise _ and / and version separators so it gets confused.
For example: Services.vc.compare("67.0a1_1", "67.0_1") returns 1 instead of -1 like it should.
We should convert the separators to dots for comparison.
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
These patches were rolled into the patch for bug 1455707.
You need to log in
before you can comment on or make changes to this bug.
Description
•