Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-4040

StemFinder and GroupFinder findByUuidOrName can't find when name has upper case letters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 2.4.0.patch, 2.5.0, 2.6.0
    • API
    • None

    Description

      new StemSave().assignName("test").save()
      def folderA = new StemSave().assignName("test:folderA").save()
      def folderB = new StemSave().assignName("test:folder-b").save()
       
      new StemFinder().assignScope("test:folderA").assignFindByUuidOrName(true).findStem()
      // not found, name has upper case
      new StemFinder().assignScope("test:folder-b").assignFindByUuidOrName(true).findStem()
      // found
      

      Part of the StemFinder code is converting the scope to lower case, but not making the field lower case when using it in the query.

      Also applies to GroupFinder.

      Introduced in grouper_2_4_0-a74-u44-w8-p11 and 2.5.0

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chad.redman@at.internet2.edu Chad Redman (unc.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: