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

Cast exception when adding a LDAP population to a site

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.2.0
    • None
    • None
    • None
    • 4.2 M7

      Certainly linked to the fix of issue CMS-9379 and the new data model API

      When I affect a LDAP population to a site I have the following error

      java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
          at org.ametys.runtime.plugins.admin.datasource.CheckDataSourceAction._checkLDAPParameters(CheckDataSourceAction.java:178)
          at org.ametys.runtime.plugins.admin.datasource.CheckDataSourceAction.act(CheckDataSourceAction.java:114)
          at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:125)
          at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)

      The error occurs on "useSSL" parameter.

      When checking the LDAP source, the useSSL parameter is a boolean (CMS-9379)
      When adding the LDAP population to the site, the useSSL parameter is a string.

       

            raphael Raphaël Franchet
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: