Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-23958

User Directories with duplicting names are allowed

    XMLWordPrintable

Details

    • 4.03
    • Severity 2 - Major
    • Hide
      Atlassian Update – 04 December 2017

      Hi everyone,

      We have recently reviewed this issue and the overall interest in the problem. As the issue hasn't collect votes, watchers, comments, or support cases from many customers during its lifetime, it's very low on our priority list, and will not be fixed in the foreseeable future. That's why we've decided to resolve it as Time Out.

      Although we're aware the issue is still important to those of you who were involved in the conversations around it, we want to be clear in managing your expectations. The Jira team is focusing on issues that have broad impact and high value, reflected by the number of comments, votes, support cases, and customers interested. Please consult the Atlassian Bugfix Policy for more details.

      We understand how disappointing this decision may be, but we hope you'll appreciate our transparent approach and communication.

      Atlassian will continue to watch this issue for further updates, so please feel free to share your thoughts in the comments.

      Thank you,
      Ignat Alexeyenko
      Jira Bugmaster

      Show
      Atlassian Update – 04 December 2017 Hi everyone, We have recently reviewed this issue and the overall interest in the problem. As the issue hasn't collect votes, watchers, comments, or support cases from many customers during its lifetime, it's very low on our priority list, and will not be fixed in the foreseeable future. That's why we've decided to resolve it as Time Out . Although we're aware the issue is still important to those of you who were involved in the conversations around it, we want to be clear in managing your expectations. The Jira team is focusing on issues that have broad impact and high value, reflected by the number of comments, votes, support cases, and customers interested. Please consult the Atlassian Bugfix Policy for more details. We understand how disappointing this decision may be, but we hope you'll appreciate our transparent approach and communication. Atlassian will continue to watch this issue for further updates, so please feel free to share your thoughts in the comments. Thank you, Ignat Alexeyenko Jira Bugmaster

    Description

      Steps needed to reproduce the behaviour:

      1. Navigate to User Directories and create new directory called for eg. AD win2k8 (Directory Name field)
      2. Attempt to add another directory with the same name. When the page is submitted JIRA returns 500page and the following is reported in the log file:
        2011-03-17 11:53:33,534 http-8080-2 ERROR test 713x223x1 1v9c034 127.0.0.1 /plugins/servlet/embedded-crowd/configure/ldap/ [atlassian.plugin.servlet.ServletModuleContainerServlet] Request processing failed; nested exception is java.lang.IllegalArgumentException: Passed List had more than one value.
        org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalArgumentException: Passed List had more than one value.
        	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:583)
        	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        	at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:42)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        	at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:52)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        ...
        Caused by: java.lang.IllegalArgumentException: Passed List had more than one value.
        	at org.ofbiz.core.entity.EntityUtil.getOnly(EntityUtil.java:59)
        	at com.atlassian.crowd.embedded.ofbiz.OfBizDirectoryDao.findDirectoryByName(OfBizDirectoryDao.java:97)
        	at com.atlassian.crowd.embedded.ofbiz.OfBizDirectoryDao.add(OfBizDirectoryDao.java:165)
        	at com.atlassian.crowd.embedded.ofbiz.OfBizDirectoryDao.add(OfBizDirectoryDao.java:32)
        	at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.addDirectory(DirectoryManagerGeneric.java:134)
        	at com.atlassian.crowd.embedded.core.CrowdDirectoryServiceImpl.addDirectory(CrowdDirectoryServiceImpl.java:54)
        ...
        

        Although the duplicating directory still gets created!

      Attachments

        Activity

          People

            Unassigned Unassigned
            bdziedzic Bogdan Dziedzic [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: