Uploaded image for project: 'OpenICF'
  1. OpenICF
  2. OPENICF-1065

Google Apps Connector: Unsupported OR queries return inappropriate messages

    Details

      Description

      The google query filters doesn’t support OR queries. Currently several of the filter functions return null which causes the query to scan the entire Google segment.

      Instead of returning null, the connector should present an appropriate error message, similar to the following in UserHandler.java:

      logger.error("Google does not support OR filters");
      throw new InvalidAttributeValueException();

      We found the issue in the following functions.

      visitContainsAllValuesFilter
      visitExtendedFilter
      visitGreaterThanFilter
      visitGreaterThanOrEqualFilter
      visitLessThanFilter
      visitLessThanOrEqualFilter
      visitNotFilter
      visitOrFilter
      visitEndsWithFilter

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                petr.jurica Petr Jurica [X] (Inactive)
                Reporter:
                margaret.rizkalla Margaret Rizkalla
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: