Uh oh!
There was an error while loading. Please reload this page.
Support record binding from API actions using JSON - #7837
Conversation
…ers cause record construction to fail
Uh oh!
There was an error while loading. Please reload this page.
labkey-matthewb
left a comment
There was a problem hiding this comment.
I've spent a lot of time chasing down errors that change depending on the exact code path. I'd like to see a small record/class test that shows that the errors are the same.
labkey-adam
commented
Jul 14, 2026
They are probably as aligned as they're going to get. See Of course, the missing parameter error does not apply to form beans, since these members are always initialized to their default values. The conversion error is now consistent across both, though. |
Uh oh!
There was an error while loading. Please reload this page.
## Rationale Claude had some late-breaking suggestions for record binding, primarily if validate() is implemented (not currently, but could be added in the future) then propagating new Object() as the target would result in a ClassCastException. Note that, if a record is used, getView() in the reshow case needs to handle a null target. ## Related Pull Requests - #7837
Rationale
We want more actions to support form binding to Java records. https://github.com/LabKey/internal-issues/issues/1277
Related Pull Requests