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

Can't provision root stem due to infinite loop

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 4.5.5, 5.4.0
    • 4.5.2
    • API
    • None

    Description

      v4.5.2: edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningService#calculateProvisioningAttributes

      2095      while (true) {
      2096        depth++;
      2097        currObjectName = GrouperUtil.parentStemNameFromName(currObjectName);
      2098        if (currObjectName == null) {
      2099          break;
      2100        }
      ...
      

      If it's the root stem, currObjectName is "" rather than null, so the loop never exits until the cpu catches fire.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: