Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-26811

Fix UserInvitationComponent erroneous request

    XMLWordPrintable

    Details

    • Release Notes Summary:
      UserInvitationComponent uses correct SQL requests
    • Tags:
    • Backlog priority:
      800
    • Upgrade notes:
      Hide

      The query is correctly written.

      Show
      The query is correctly written.

      Description

      The following line misses a space at the end:
      https://github.com/nuxeo/nuxeo/blob/master/nuxeo-services/nuxeo-invite/src/main/java/org/nuxeo/ecm/user/invite/UserInvitationComponent.java#L577

      This produces requests like the following:

      SELECT * FROM Document WHERE ecm:currentLifeCycleState != 'validated' AND ecm:mixinType = 'UserInvitation' AND docinfo:documentId = 'null' *ANDuserinfo:login* = 'desactive@mailinator.com' AND ecm:isCheckedInVersion = 0

      where ANDuserinfo should have a space in-between.

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d