cosmo icon indicating copy to clipboard operation
cosmo copied to clipboard

ClassCastException in DefaultItemPathTranslator and EntityConverter as JPA query returns proxied entities

Open ketanPatil opened this issue 1 year ago • 1 comments

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.

ketanPatil avatar Dec 01 '22 07:12 ketanPatil