Merge lp:~mars/launchpad/fix-picker-result-parsing-487975 into lp:launchpad/db-devel
Proposed by
Māris Fogels
Status: | Merged |
---|---|
Approved by: | Aaron Bentley |
Approved revision: | not available |
Merged at revision: | not available |
Proposed branch: | lp:~mars/launchpad/fix-picker-result-parsing-487975 |
Merge into: | lp:launchpad/db-devel |
Diff against target: |
43 lines (+16/-12) 1 file modified
lib/canonical/launchpad/javascript/lp/picker.js (+16/-12) |
To merge this branch: | bzr merge lp:~mars/launchpad/fix-picker-result-parsing-487975 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Francis J. Lacoste (community) | release-critical | Approve | |
Tim Penhey (community) | Approve | ||
Aaron Bentley (community) | code | Approve | |
Review via email: mp+15436@code.launchpad.net |
To post a comment you must log in.
Hi,
This branch fixes the Picker widget's API result parsing code. This fixes bug
#487975, which prevented the "Assign Me" link in the picker widget from working
correctly.
I updated the picker parsing code so that is processes the result as Node
objects rather than raw DOM elements. This saves us some tree traversal code.
There was no error checking code before, and I did not add any myself. It would
require changes beyond an RC fix.
I did not include a windmill test for this feature due to release-critical time
constraints.
Tested on launchpad.dev
Bugs Windmill tests appear to pass.
I haven't run the Bugs JS unit test suite.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: canonical/ launchpad/ javascript/ lp/picker. js
lib/
== JSLint notices ==
jslint: No problem found in mars/canonical/ lp-branches/ fix-picker- result- parsing- 487975/ lib/canonical/ launchpad/ javascript/ lp/picker. js'.
'/home/
Maris