grails / grails-core

The Grails Web Application Framework
http://grails.org
Apache License 2.0
2.78k stars 950 forks source link

Grails 5.x includes an older version of the legacy converters plugin than Grails 4.x #12594

Open spmcewen opened 2 years ago

spmcewen commented 2 years ago

Expected Behavior

Grails 4.x includes legacyConvertersVersion 4.0.1 but 5.x and beyond include the older 4.0.0 release. 4.0.1 includes a fix for issue 11450 where rendering domain objects with composite keys throws a NPE.

I should be able to render a domain object that has composite keys as JSON with Grails 5

Actual Behaviour

With Grails 5 if you render a domain object with composite keys as JSON a null pointer exception is thrown

Steps To Reproduce

No response

Environment Information

No response

Example Application

No response

Version

5.1.7

osscontributor commented 2 years ago

FYI... https://github.com/grails/grails-core/commit/9044f9399717008906a35830dbeebd058cfe5323 is a commit that upgraded to 4.0.1.