Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-135808

Log 'Unable to match filter' exception as WARN instead of ERROR

    Details

      Description

      Log 'Unable to match filter' exception as WARN instead of ERROR to avoid unnecesary and excessive concern.

      Steps to produce the exception:

      1. Deploy upf.rule.hour.experience.jar or create a new Request Context Contributor.
      1. Create a segmentation rule adding "Hora"(Session) property.
      1. Add a content page "cp1".
      1. Add a new experience in "cp1", selecting the new sesegment.
      1. Activate the new experience.
      1. Access gogo shell and stop "UPF Rule Hour Experience (1.0.0)".
      1. Refresh "cp1".

       Actual result: a PortalException ERROR is shown in the log:

      ERROR [http-nio-8080-exec-1][BaseSegmentsEntryProvider:251] com.liferay.portal.kernel.exception.PortalException: Unable to match filter: A property used in the filter criteria is not supported: (customContext/hour eq 0)
      com.liferay.portal.kernel.exception.PortalException: Unable to match filter: A property used in the filter criteria is not supported: (customContext/hour eq 0)

       Expected result: a Warning is shown if WARN level is configured for com.liferay.segments.internal.provider package. PortalException with its stack trace should be shown at DEBUG level.

        Attachments

          Activity

            People

            Assignee:
            team-tango Product Team Tango
            Reporter:
            cristina.rodriguez Cristina Rodriguez
            Participants of an Issue:
            Recent user:
            Clarissa Velazquez
            Engineering Assignee:
            Cristina Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              7 weeks, 5 days ago

                Packages

                Version Package
                7.2.10 DXP FP15
                7.2.X
                7.3.X
                7.4.2 CE GA3 DXP 7,4
                Master