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

allowEmptyValues in RefFilter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3 (Lincoln)
    • Component/s: None
    • Labels:
      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

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

              Dates

              Created:
              Updated:
              Resolved: