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

cannot create root stem with new validation

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.5.49
    • None
    • None

    Description

      # edu.internet2.middleware.grouper.exception.GrouperException: unable to initialize registry: veto.stem.attribute.name.regex.extension: The folder ID can only contain letters, numbers, underscore, or dash
      # 	at edu.internet2.middleware.grouper.registry.RegistryInstall.install(RegistryInstall.java:122)
      # 	at edu.internet2.middleware.grouper.ddl.GrouperDdlEngine.registryInstall(GrouperDdlEngine.java:1058)
      # 	at edu.internet2.middleware.grouper.ddl.GrouperDdlEngine.initRegistryAndClearCache(GrouperDdlEngine.java:1014)
      # 	at edu.internet2.middleware.grouper.ddl.GrouperDdlEngine.runDdl(GrouperDdlEngine.java:880)
      # 	at edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:213)
      # 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      # 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      # 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      # 	at java.lang.reflect.Method.invoke(Method.java:498)
      # 	at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:232)
      # 	at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:165)
      # 	at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
      # Caused by: edu.internet2.middleware.grouper.hooks.logic.HookVeto: veto.stem.attribute.name.regex.extension: The folder ID can only contain letters, numbers, underscore, or dash
      # 	at edu.internet2.middleware.grouper.hooks.examples.StemAttributeNameValidationHook.stemPreChangeAttribute(StemAttributeNameValidationHook.java:215)
      # 	at edu.internet2.middleware.grouper.hooks.examples.StemAttributeNameValidationHook.stemPreChangeAttribute(StemAttributeNameValidationHook.java:177)
      # 	at edu.internet2.middleware.grouper.hooks.examples.StemAttributeNameValidationHook.stemPreInsert(StemAttributeNameValidationHook.java:166)
      # 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      # 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      # 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      # 	at java.lang.reflect.Method.invoke(Method.java:498)
      # 	at edu.internet2.middleware.grouper.util.GrouperUtil.invokeMethod(GrouperUtil.java:5019)
      # 	at edu.internet2.middleware.grouper.hooks.logic.GrouperHooksUtils.executeHook(GrouperHooksUtils.java:499)
      # 	at edu.internet2.middleware.grouper.hooks.logic.GrouperHooksUtils.callHooksIfRegistered(GrouperHooksUtils.java:299)
      # 	at edu.internet2.middleware.grouper.hooks.logic.GrouperHooksUtils.callHooksIfRegistered(GrouperHooksUtils.java:238)
      # 	at edu.internet2.middleware.grouper.hooks.logic.GrouperHooksUtils.callHooksIfRegistered(GrouperHooksUtils.java:164)
      # 	at edu.internet2.middleware.grouper.Stem.onPreSave(Stem.java:3704)
      # 	at edu.internet2.middleware.grouper.hibernate.ByObject.save(ByObject.java:209)
      # 	at edu.internet2.middleware.grouper.hibernate.ByObjectStatic$7.callback(ByObjectStatic.java:494)
      # 	at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:703)
      # 	at edu.internet2.middleware.grouper.hibernate.ByObjectStatic.save(ByObjectStatic.java:481)
      # 	at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3StemDAO.createRootStem(Hib3StemDAO.java:251) 

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist