90301 / Crescent-CRM-V

the vaadian version of Crescent CRM.
2 stars 0 forks source link

Needs to allow the adding of a New Date and saves when updated and stays in the datefield #231

Open FfGingaNinja opened 7 years ago

FfGingaNinja commented 7 years ago

So first time logging in I enter a new date for the birthday field image

After pressing update I get this error which is caused due to the try catch failing for converting the date to a string. image

Once I remove the error notification and try to update a new date AGAIN it doesn't throw an error and it does save that date to the field database in the xml string...

FfGingaNinja commented 7 years ago

image

Here is the debugging screen after the above actions are done

FfGingaNinja commented 7 years ago

This shows that the date DID save the second time yet we do not have the date uploading back to the date field... image

90301 commented 7 years ago

Seems like a fundamental problem with loading and storing. The best we can do is debug what the value is, and what the class is at each point in the transaction. At some point I think it get's converted from a date to a string, or something where it shouldn't. This may be possible to fix with consolidating custom fields into few classes (hopefully we can do everything in one class. instead of the 4+ classes used to store this information).