Skip to content

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

@glebfox

Description

@glebfox

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions