Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-20159

Regression introduced by implementing JSWSERVER-16717

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 7.6.15, 7.13.9
    • 7.13.0, 7.13.1, 7.6.10, 7.6.11, 7.13.2, 7.6.13, 7.6.12, 7.13.3, 7.6.14, 7.13.4, 7.13.5, 7.6.9
    • AgileBoard

      Issue Summary

      The Jira Agile sidebar does not load the expected board for a project if the following conditions are met and instead it loads the last "visited" board by the user.

      • A user clicks on the project link either from the Top Menu->Projects or from View All Projects screen
      • The project's board is not in the user's history (The user has not accessed this board, hence there is no record in userhistoryitem table for that user and the specific board)

      Environment

      • From Jira 7.6.9 (this is the version where the feature was implemented) to 7.6.latest or Jira 7.13.X
      • With the dark feature com.atlassian.jira.agile.darkfeature.sidebar.boards.list.disabled enabled

      Steps to reproduce

      There could be different ways to reproduce the problem, one is as described in the Summary section another way to reproduce it is as follows:

      1. Login as an admin user
      2. Create a new project
      3. Go to the View All Projects menu
      4. Click on the link to access the new project

      Actual Results

      • The Jira Agile sidebar does not load the expected board for a project

      Expected Results

      • The Jira Agile sidebar loads the expected board for a project

      Workaround

      • Accessing the board from the View All Boards screen solves the problem. Once accessed and while the board is in the user's history the problem does not reproduce.

      Additional Details

      The below error is written to the Jira log file when the board is not loaded.

      2019-07-19 22:49:04,119 http-nio-8080-exec-17 WARN anonymous 1369x527x1 14dqubd 10.0.2.2 /browse/BOD2 [c.a.w.s.plugin.request.RedirectInterceptingResponse] Invalid location: /secure/RapidBoard.jspa?projectKey=BOD2&useStoredSettings=true&rapidView=${selectedBoard.id}
      java.net.URISyntaxException: Illegal character in query at index 74: /secure/RapidBoard.jspa?projectKey=BOD2&useStoredSettings=true&rapidView=${selectedBoard.id}
      	at java.net.URI$Parser.fail(URI.java:2848)
      	at java.net.URI$Parser.checkChars(URI.java:3021)
      	at java.net.URI$Parser.parseHierarchical(URI.java:3111)
      	at java.net.URI$Parser.parse(URI.java:3063)
      	at java.net.URI.<init>(URI.java:588)
      	at com.atlassian.web.servlet.plugin.request.RedirectInterceptingResponse.locationWithinCurrentContext(RedirectInterceptingResponse.java:63)
      	at com.atlassian.web.servlet.plugin.request.RedirectInterceptingResponse.forward(RedirectInterceptingResponse.java:48)
      	at com.atlassian.web.servlet.plugin.request.RedirectInterceptingResponse.sendRedirect(RedirectInterceptingResponse.java:36)
      	at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:138)
      	... 1 filtered
      	at com.atlassian.jira.projects.page.ProjectPageServlet.doGet(ProjectPageServlet.java:112)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
      	at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:37)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
      	at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:45)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
      	... 44 filtered
      	at com.atlassian.jira.software.internal.filters.ReleasesPageAccessControlFilter.doFilter(ReleasesPageAccessControlFilter.java:73)
      	... 4 filtered
      	at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
      	... 40 filtered
      	at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:66)
      	... 1 filtered
      	at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:64)
      	... 20 filtered
      	at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30)
      	... 12 filtered
      	at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25)
      	... 25 filtered
      	at com.atlassian.jira.projects.issuenavigator.RequestParametersToAttributesTransformerFilter.doFilter(RequestParametersToAttributesTransformerFilter.java:49)
      	... 12 filtered
      	at com.atlassian.jira.projects.servlet.ReKeyedProjectFilter.doFilter(ReKeyedProjectFilter.java:59)
      	... 11 filtered
      	at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:66)
      	... 1 filtered
      	at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:64)
      	... 20 filtered
      	at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30)
      	... 12 filtered
      	at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25)
      	... 7 filtered
      	at com.atlassian.web.servlet.plugin.DynamicAuthorizationServletForwarder.forward(DynamicAuthorizationServletForwarder.java:53)
      	at com.atlassian.web.servlet.plugin.DynamicAuthorizationServletForwarder.forwardSafely(DynamicAuthorizationServletForwarder.java:83)
      	at com.atlassian.web.servlet.plugin.SanitizingServletForwarder.forwardSafely(SanitizingServletForwarder.java:48)
      	at com.atlassian.web.servlet.plugin.RememberingServletForwarder.forwardSafely(RememberingServletForwarder.java:75)
      	at com.atlassian.web.servlet.plugin.ResolvingServletForwarder.forwardSafely(ResolvingServletForwarder.java:50)
      	at com.atlassian.web.servlet.plugin.request.RedirectInterceptingResponse.lambda$null$0(RedirectInterceptingResponse.java:50)
      	at java.util.Optional.map(Optional.java:215)
      	at com.atlassian.web.servlet.plugin.request.RedirectInterceptingResponse.lambda$forward$1(RedirectInterceptingResponse.java:50)
      	at java.util.Optional.flatMap(Optional.java:241)
      	at com.atlassian.web.servlet.plugin.request.RedirectInterceptingResponse.forward(RedirectInterceptingResponse.java:50)
      	at com.atlassian.web.servlet.plugin.request.RedirectInterceptingResponse.sendRedirect(RedirectInterceptingResponse.java:36)
      	at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:138)
      	at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:138)
      	at com.atlassian.jira.projects.legacy.LegacyRedirectFilter.doFilter(LegacyRedirectFilter.java:73)
      	... 15 filtered
      	at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:66)
      	... 1 filtered
      	at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:64)
      	... 39 filtered
      	at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30)
      	... 10 filtered
      	at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
      	... 4 filtered
      	at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36)
      	... 26 filtered
      	at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25)
      	... 24 filtered
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      	at java.lang.Thread.run(Thread.java:748)
      
      

              mrydzewski Mikolaj Rydzewski (Inactive)
              ecasuscelli Esteban Casuscelli
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: