Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ketanPatil opened this issue Dec 1, 2022 · 1 comment

Comments

@ketanPatil
Copy link

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.

@danielgrigore
Copy link
Collaborator

Hi @ketanPatil

Can you please provide some information about the steps to reproduce this ?
For instance some curl calls using the demo cosmo-webapp.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants