10.10 milestone name corrupted in JS: 10.1
Bug #581748 reported by
Matthew Revell
This bug affects 10 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
In Progress
|
Low
|
Colin Watson | ||
lazr.restful |
Triaged
|
High
|
Unassigned |
Bug Description
Steps to reproduce:
1. In a series of a Launchpad sub-project (e.g. malone) create a milestone named 10.10.
2. Notice the error message "Could not retrieve milestone 10.10" in the Milestones and Releases table.
3. Refresh and the error becomes a link to a new 10.1 milestone, rather than 10.10.
See screen shot.
Related branches
lp://staging/~cjwatson/launchpad/safer-ajax-strings
- William Grant (community): Approve (code)
- Roberto Alsina (community): Approve
-
Diff: 25 lines (+3/-2)2 files modifiedlib/lp/app/javascript/client.js (+2/-1)
lib/lp/app/javascript/tests/test_lp_client.js (+1/-1)
summary: |
- Can't create 10.10 milestone for Launchpad sub + 10.10 milestone name corrupted in JS: 10.1 |
tags: | added: javascript |
tags: | added: milestones |
Changed in launchpad: | |
assignee: | nobody → Colin Watson (cjwatson) |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Looks like the trailing '0' is lost between ajax and the form. The milestone is created as 10.1, which causes the error. The user can then rename the milestone. It is possible for this problem to create another error is the x.1 milestone already exists.