JPA object binding should throw a 404 if object not found
Bug #637304 reported by
niels
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
play framework |
Invalid
|
Undecided
|
Unassigned |
Bug Description
See discussion here: http://
If an object is deleted during edit you get an Exception instead of an 404 if you use JPA-Object binding. This should be fixed.
The patch throws an NotFound with Message for code object_
Related branches
lp:~opensource21/play/1_1_jpa_notfound
Ready for review
for merging
into
lp:play/1.1
- play framework developers: Pending requested
-
Diff: 99 lines (+25/-7)3 files modifiedframework/src/play/db/Model.java (+6/-1)
framework/src/play/db/jpa/JPAPlugin.java (+16/-5)
samples-and-tests/just-test-cases/test/JPABinding.test.html (+3/-1)
Changed in play: | |
status: | New → Invalid |
To post a comment you must log in.
The patch is for play 1.1 r1038