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

allowEmptyValues in RefFilter

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3 (Lincoln)
    • None
    • None

    Description

      allowEmptyValues in RefFilter will not accept null value anymore (see error bellow). Instead ObjectReferenceType(oid=null) must be used. Both options (null Vs. ORT) should behave the same.

      <message>Couldn't evaluate expressioncom.evolveum.midpoint.xml.ns._public.common.common_3.ExpressionType@3a1cca49[description=&lt;null&gt;,extension=&lt;null&gt;,stringFilter=&lt;null&gt;,variable=&lt;null&gt;,returnMultiplicity=&lt;null&gt;,allowEmptyValues=false,expressionEvaluator=[javax.xml.bind.JAXBElement@38249c6d]]: null</message>
            <details>com.evolveum.midpoint.util.exception.SystemException: Couldn't evaluate expressioncom.evolveum.midpoint.xml.ns._public.common.common_3.ExpressionType@3a1cca49[description=&lt;null&gt;,extension=&lt;null&gt;,stringFilter=&lt;null&gt;,variable=&lt;null&gt;,returnMultiplicity=&lt;null&gt;,allowEmptyValues=false,expressionEvaluator=[javax.xml.bind.JAXBElement@38249c6d]]: null
      com.evolveum.midpoint.model.common.expression.ExpressionUtil.evaluateFilterExpressionsInternal(ExpressionUtil.java:503)
      com.evolveum.midpoint.model.common.expression.ExpressionUtil.evaluateFilterExpressionsInternal(ExpressionUtil.java:451)
      

      Attachments

        Activity

          People

            martin.lizner Martin Lizner
            martin.lizner Martin Lizner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: