Merge lp:~leonardr/lazr.restful/fix-remove-recipe into lp:lazr.restful
Proposed by
Leonard Richardson
Status: | Rejected |
---|---|
Rejected by: | Leonard Richardson |
Proposed branch: | lp:~leonardr/lazr.restful/fix-remove-recipe |
Merge into: | lp:lazr.restful |
Diff against target: |
45 lines (+8/-4) 3 files modified
src/lazr/restful/NEWS.txt (+6/-0) src/lazr/restful/example/base/configure.zcml (+1/-3) src/lazr/restful/version.txt (+1/-1) |
To merge this branch: | bzr merge lp:~leonardr/lazr.restful/fix-remove-recipe |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Leonard Richardson (community) | Disapprove | ||
Review via email: mp+24423@code.launchpad.net |
Description of the change
This very simple branch adds 'removeRecipe' to the list of "require" attributes for Cookbook, so that the Zope security proxy allows that method to be called. Without this change, lazr.restfulclient can't DELETE a recipe.
Why is there no test? Because I can't figure out why the existing tests pass. The same code runs whether we test DELETE in lazr.restful or lazr.restfulclient. I don't see why the Zope security proxy shouldn't be running in the lazr.restful tests, but clearly it hasn't been.
Is this mystery worth resolving right now?
To post a comment you must log in.
Unmerged revisions
- 128. By Leonard Richardson
-
Initial representation.
This seems not to have been necessary- -presumably it wasn't a real problem or was resolved some other way.