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

Paddle tool should check syntax and for missing attributes

    XMLWordPrintable

    Details

    • Feedback Policy:
      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 An updated workflow for server feature suggestions.

      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

              • Assignee:
                Unassigned
                Reporter:
                pkamal Partha Kamal
                Participants:
                Last Touched By:
                Rachel Lin (Inactive)
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Last commented:
                  5 years, 17 weeks, 2 days ago