Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-3254

Warning on the static group feature when a configuration parameter is missing

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.2.7, 4.3.0
    • 4.2.6, 4.3.0
    • None
    • None
    • 4.3 M4

      My application starts in safe mode because I have a missing configuration parameter (workspaces.member.removed.send.notificatio).

      I have the following warning

      Category:	org.ametys.core.group.directory.GroupDirectoryFactory
      Message:		The plugin 'core-impl.runtime.group.directory.impl.static' has a group directory model extension but has an incorrect configuration
      Location:	org.ametys.core.group.directory.GroupDirectoryFactory.addExtension(GroupDirectoryFactory.java:166)
      Thrown:
      org.apache.avalon.framework.configuration.ConfigurationException: Unable to find the type 'string' defined on the item 'runtime.groups.static.group'.
      	at org.ametys.runtime.model.AbstractModelItemParser._parseType(AbstractModelItemParser.java:150)
      	at org.ametys.runtime.model.AbstractModelItemParser.parse(AbstractModelItemParser.java:68)
      	at org.ametys.runtime.model.ElementDefinitionParser.parse(ElementDefinitionParser.java:68)
      	at org.ametys.core.group.directory.GroupDirectoryFactory.configureParameters(GroupDirectoryFactory.java:252)
      	at org.ametys.core.group.directory.GroupDirectoryFactory.addGroupDirectoryModel(GroupDirectoryFactory.java:219)
      	at org.ametys.core.group.directory.GroupDirectoryFactory.addExtension(GroupDirectoryFactory.java:160)
      ...
      Caused by: org.ametys.runtime.model.exception.UnknownTypeException: The type 'string' is not available for the extension point 'org.ametys.core.group.directory.GroupDirectoryParameterTypeExtensionPoint@68d8ae27'. Available types are: ''.
      	at org.ametys.runtime.model.AbstractModelItemParser._parseType(AbstractModelItemParser.java:149)
      	... 103 more
      

            cbayle Caroline Bayle
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: