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

Dynamic attributes with entity type throw exception if entity in a secondary data store #3305

Open
glebfox opened this issue Oct 13, 2023 · 0 comments
Labels
type: bug Something isn't working

Comments

@glebfox
Copy link
Member

glebfox commented Oct 13, 2023

Case:

  1. Create a dynamic attribute with entity type and entity class from a secondary data store
  2. Add dynamic attribute to screens
  3. Try to create an entity with dynamic attribute and fill its value
  4. Save

AR:

Local Exception Stack: 
Exception [EclipseLink-0] (Eclipse Persistence Services - 2.7.9.6-jmix): org.eclipse.persistence.exceptions.JPQLException
Exception Description: Problem compiling [select e from Customer e where e.id in :ids]. 
[14, 22] The abstract schema type 'Customer' is unknown.
[31, 35] The state field path 'e.id' cannot be resolved to a valid type.
@glebfox glebfox added the type: bug Something isn't working label Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant