Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-12008

Paddle tool should check syntax and for missing attributes

    XMLWordPrintable

Details

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? 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: