Community
Participate
Working Groups
See attached project. I have a record that contains a few simple fields: record Student firstName string; lastName string; hireDate date?; active boolean?; d decimal(9,2)?; t timestamp?; i int?; f float?; end Note that 'hireDate' is marked as nullable. If I instantiate a new Student and return it from a service function, I get a 'JSON conversion cannot be performed on field:hireDate in common.Student' error in the RUI handler calling this function. If I set hireDate to a non-null value or make the 'hireDate' field not nullable, everything works. So, there seems to be an issue with JSON conversion of nullable date/timestamp fields. I tried this with a few other primitive types (boolean, decimal, int) and even if the value of the field is null, it works (i.e. my callback function in my RUI handler is invoked). See attached project.
Created attachment 208652 [details] Project demonstrating the problem
fixed
Verified in 2/20 nightly build.