Forums / Developer / fromString for updating objects? / Comment69459
Gaetano Giunta
Tuesday 19 July 2011 11:49:24 am
I fully agree that the fromString method, while extremely useful, is not good enough.
Point 2 is especially important, as there is currently no other method (afaik) that does it - datatype validation is sadly tied to variables being there in $_POST. This has the nasty effects that a lot of import scripts do create inconsistent data (inconsistent wrt. content class definition).
Let's hope that this will be fixed in the new content-management API currently in the works...
Principal Consultant International Business Member of the Community Project Board