doppelter Name bei Abfragen von country/state/city/university

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

Bug Description

zb:
http://localhost:8080/app/state/list/3?nocache=1259437798016
{"states":[{"id":8,"name":"test,test"},{"id":9,"name":"upper,upper"}, {"id":19,"name":"BAYERN,BAYERN"}]}

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

Bug doesn't manifest in my tests. Maybe JavaScript Error?

Functional Test testing this was already in codebase

Changed in studentlife:
status: New → Invalid
Revision history for this message
Michael Greifeneder (mikegr) wrote :

I think it's because parameter and post data are added to the request. Therefore Grails gets a multi dimensional array for params.name. I have change the request to only post data.

Revision history for this message
Michael Greifeneder (mikegr) wrote :

For documentation:
request.setParameter(); //set both
request.setFormField(); //only post data

Changed in studentlife:
status: Invalid → 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.