Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-4914

3.9 QueryException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.9
    • Component/s: None
    • Labels:

      Description

      Under enduser when going to role detail - assignment or inducement tab, adding new entity via new popup GUI we get:

      Caused by: com.evolveum.midpoint.repo.sql.query.QueryException: Entity Ent:ROrg (jaxb=OrgType) cannot be restricted to Ent:RRole (jaxb=RoleType)
              at com.evolveum.midpoint.repo.sql.query2.resolution.ItemPathResolver.findRestrictedEntityDefinition(ItemPathResolver.java:261)
              at com.evolveum.midpoint.repo.sql.query2.QueryInterpreter2.findAndCreateRestrictionInternal(QueryInterpreter2.java:257)
              at com.evolveum.midpoint.repo.sql.query2.QueryInterpreter2.findAndCreateRestriction(QueryInterpreter2.java:231)
              at com.evolveum.midpoint.repo.sql.query2.QueryInterpreter2.interpretFilter(QueryInterpreter2.java:215)
              at com.evolveum.midpoint.repo.sql.query2.restriction.NaryLogicalRestriction.updateJunction(NaryLogicalRestriction.java:67)
              at com.evolveum.midpoint.repo.sql.query2.restriction.OrRestriction.interpret(OrRestriction.java:40)
              at com.evolveum.midpoint.repo.sql.query2.QueryInterpreter2.interpretFilter(QueryInterpreter2.java:216)
              at com.evolveum.midpoint.repo.sql.query2.restriction.NaryLogicalRestriction.updateJunction(NaryLogicalRestriction.java:67)
              at com.evolveum.midpoint.repo.sql.query2.restriction.AndRestriction.interpret(AndRestriction.java:40)
              at com.evolveum.midpoint.repo.sql.query2.QueryInterpreter2.interpretFilter(QueryInterpreter2.java:216)
              at com.evolveum.midpoint.repo.sql.query2.QueryInterpreter2.interpretQueryFilter(QueryInterpreter2.java:209)
              at com.evolveum.midpoint.repo.sql.query2.QueryInterpreter2.interpret(QueryInterpreter2.java:119)
              at com.evolveum.midpoint.repo.sql.query2.QueryEngine2.interpret(QueryEngine2.java:63)
              at com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever.countObjectsAttempt(ObjectRetriever.java:325)
      

        Attachments

          Activity

            People

            Assignee:
            martin.lizner Martin Lizner
            Reporter:
            martin.lizner Martin Lizner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: