framework
framework copied to clipboard
FormBuilderLocator with generic type can't always be found
manifest.toString() in vendForm() can return surprising results depending on the field(...) call in the screen.
Sample project here: https://github.com/pbrant/generic_fbl_test / git://github.com/pbrant/generic_fbl_test.git
The cause appears to be the generic valConversion() validation method
Original thread here http://groups.google.com/group/liftweb/browse_thread/thread/af21b61154c2b8c2#
Assigning the ticket to Peter now that he's a committer (bah hah hah... my evil plan is working. ;-) )
Aw, man. :-)
I'll at least check to see if this has changed in 2.9. I don't remember exactly how the manifest.toString()s differed, but it might also be possible to normalize the returned value to compare them reliably. IIRC, it seemed like they were essentially saying the same thing in different ways.
Imported from Assembla: http://www.assembla.com/spaces/liftweb/tickets/977
Probably worth mentioning in here in case someone else wants to take up the gauntlet, in the original ML post David suggested that we look into directly comparing manifests instead of using toString
. Not sure what latest behavior is on any of this though.