Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-12008

Paddle tool should check syntax and for missing attributes

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.

      If you are missing the "membershipAttribute" in confluence/WEB-INF/classes/atlassian-user.xml when you run the in build paddle tool, you get the following error:

      java.lang.NullPointerException
      	at javax.naming.directory.BasicAttributes.get(BasicAttributes.java:144)
      	at com.atlassian.paddle.search.GroupResultConverter.getAttributeValues(GroupResultConverter.java:45)
      	at com.atlassian.paddle.search.GroupResultConverter.convert(GroupResultConverter.java:36)
      	at com.atlassian.paddle.search.DefaultSearcher.search(DefaultSearcher.java:43)
      	at com.atlassian.paddle.task.ListGroupsTask.doSearch(ListGroupsTask.java:47)
      	at com.atlassian.paddle.task.ListGroupsTask.withConnection(ListGroupsTask.java:33)
      	at com.atlassian.paddle.task.DefaultTaskRunner.runTask(DefaultTaskRunner.java:36)
      	at com.atlassian.paddle.Paddle.testConnectivity(Paddle.java:131)
      

      Also if you do not have the brackets around objectclass eg

      			<userSearchFilter>objectClass=inetorgperson</userSearchFilter>
      

      the paddle will not report any errors, however when trying to log in with a LDAP user, confluence will throw a NPE, see http://confluence.atlassian.com/x/twOCCQ.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pkamal Partha
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: