cosmo
cosmo copied to clipboard
ClassCastException in DefaultItemPathTranslator and EntityConverter as JPA query returns proxied entities
While creating a ticket on a calendar resource, the call is failing with ClassCastException
as JPA query returns proxied entities.
It fails in DefaultItemPathTranslator.findItemByParentAndName
.
Also while trying to fetch a calendar resource using ticket, similar error occurs at EntityConverter.getCalendarFromEventStamp
.
Cosmo version: 3.8.4 spring.boot.version: 2.2.13.RELEASE
I am working on building the application from the codebase hence reported this issue so that it gets fixed in the next SNAPSHOT version, if the spring version is upgraded.