Skip to content

ClassCastException in DefaultItemPathTranslator and EntityConverter as JPA query returns proxied entities #58

@ketanPatil

Description

@ketanPatil

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions