add methods should return last part of composite key

Bug #490924 reported by Michael Greifeneder
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Studentlife
Fix Released
Undecided
Florian Motlik

Bug Description

POST to http://localhost:8080/app/state/add/3?nocache=1259430515837&name=test
returns

"Country(3)/State(9)"

Please return only the id of the new state. It's redundant information and neither a standard format.
The same applies for city/add and univerity/add

Changed in studentlife:
assignee: nobody → Florian Motlik (flomotlik)
Revision history for this message
Florian Motlik (flomotlik) wrote :

Done

Changed in studentlife:
status: New → Fix Committed
Changed in studentlife:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.