validation.valid(key, object) should support null - null key - no prefix would be added
Bug #522139 reported by
tomas
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
play framework | Status tracked in 1.0 | |||||
1.0 |
Fix Released
|
Wishlist
|
Nicolas Leroux | |||
1.1 |
Fix Committed
|
Wishlist
|
Nicolas Leroux |
Bug Description
It would be nice if there was a way not to add the prefix to the validated object:
Person person=new Person(name)
validation.
Fix:ValidCheck:50
from
String fkey = key + "." + ctx.getField(
to
String fkey = (key==null?"":key + ".") + ctx.getField(
Changed in play: | |
assignee: | nobody → Nicolas (nicolas-lunatech) |
importance: | Undecided → Medium |
To post a comment you must log in.
I don't understand the use case I have to say. Why would you want this feature?