framework icon indicating copy to clipboard operation
framework copied to clipboard

FormBuilderLocator with generic type can't always be found

Open pbrant opened this issue 13 years ago • 4 comments

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#

pbrant avatar Apr 17 '11 01:04 pbrant

Assigning the ticket to Peter now that he's a committer (bah hah hah... my evil plan is working. ;-) )

dpp avatar Jul 01 '11 10:07 dpp

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.

pbrant avatar Jul 01 '11 10:07 pbrant

Imported from Assembla: http://www.assembla.com/spaces/liftweb/tickets/977

github-importer avatar Feb 19 '12 21:02 github-importer

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.

Shadowfiend avatar May 11 '14 22:05 Shadowfiend