Null Values from a Data Source
this more of implementation question troubleshooting question. also, since i've been unable find documentation on wondering if has come across behavior or found bug it.
yesterday working on application explore proof of concept aspects of flex application i'm developing. started running problem flex data services throwing 'unknown property: "clientaddress1"' error whenever tried update data. seemed whenever tried update record in database thrown unknown property error. spent chunk of day trying figure out causing , gave , called day.
this morning reassessing problem , trying find differences between database , code , stumbled upon fact add no records , modify them without problem, if tried access existing record , update i'd unknown property error.
i start analyzing database , found i'd configured database use null values empty values , records created database had null values, however, of values inserted flex inserted blank values. matching action script class clientaddress1 = ""; so, upon further testing fould flex not processing null values correctly, when came , rightly generated conflict error...and called acceptserver() unable find clientaddress1 property of class.
also, if of properties in database null throws same error. seems have invalidated object because 1 value null. if of values db set , 1 field set null it's still throwing error on first alphabetical item of properties.
i can resolve problem not using null values in database, but...what sort of effect have on working large legacy database extensively uses nulls undefined values?
also, if flex guru explain reasoning happening appreciate it!
best regards,
chris maloney
yesterday working on application explore proof of concept aspects of flex application i'm developing. started running problem flex data services throwing 'unknown property: "clientaddress1"' error whenever tried update data. seemed whenever tried update record in database thrown unknown property error. spent chunk of day trying figure out causing , gave , called day.
this morning reassessing problem , trying find differences between database , code , stumbled upon fact add no records , modify them without problem, if tried access existing record , update i'd unknown property error.
i start analyzing database , found i'd configured database use null values empty values , records created database had null values, however, of values inserted flex inserted blank values. matching action script class clientaddress1 = ""; so, upon further testing fould flex not processing null values correctly, when came , rightly generated conflict error...and called acceptserver() unable find clientaddress1 property of class.
also, if of properties in database null throws same error. seems have invalidated object because 1 value null. if of values db set , 1 field set null it's still throwing error on first alphabetical item of properties.
i can resolve problem not using null values in database, but...what sort of effect have on working large legacy database extensively uses nulls undefined values?
also, if flex guru explain reasoning happening appreciate it!
best regards,
chris maloney
hi,
are using hibernateassembler? can have actionscript class source?
thanks!
william chan
are using hibernateassembler? can have actionscript class source?
thanks!
william chan
More discussions in LiveCycle Data Services
adobe
Comments
Post a Comment