Merge lp:~gary/lazr.restful/fix-wadl-root-template into lp:lazr.restful
Proposed by
Gary Poster
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~gary/lazr.restful/fix-wadl-root-template |
Merge into: | lp:lazr.restful |
Diff against target: |
46 lines 4 files modified
buildout.cfg (+2/-0) src/lazr/restful/NEWS.txt (+6/-0) src/lazr/restful/templates/wadl-root.pt (+1/-1) src/lazr/restful/version.txt (+1/-1) |
To merge this branch: | bzr merge lp:~gary/lazr.restful/fix-wadl-root-template |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Hummer (community) | Approve | ||
Review via email: mp+13429@code.launchpad.net |
To post a comment you must log in.
This branch fixes the root WADL template so that hosted files have a unique id for the DELETE methods.
It also prepares for another micro-release.
The test for this problem essentially already existed: we were validating our WADL files with lxml. However, we were using libxml2 2.6.32. Karmic uses 2.7.5 at the moment, which does validate the fact that ids should be unique. To actually test for the problem, I changed lazr.restful's buildout to use the newest versions of libxml2 and libxslt. This causes the existing test to fail without the change, and to pass once the template is fixed.
The fact that the bad template passes with older versions of libxml2 also explains why the Launchpad tests for the generated WADL passed on Hardy, but fail on Karmic.