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

Two-Dimensional Filter Statistic Gadget showing wrong links

    XMLWordPrintable

Details

    Description

      Steps to reproduce the problem:

      1. Add a project with some issue types (bug, task, sub-task, release)
      2. Project needs at approx 10 components.
      3. For one particular issue type (in our example lets take the "bug"),
      4. Hide the component/s in the field configuration of that particular issue type.
      5. Add a filter that is searching for your project and for all issue types
      6. create a two-dimensional filter statistics gadget that is using this filter:
        • x-axis: issue type
        • y-axis: components
        • Number of Results: 1
      7. See two_dimensional_gadgets_links.png and two_dimensional_gadgets_links_2.png
      8. It seem showing the following stack trace in JIRA log:
        2014-04-17 10:07:05,031 http-bio-8617-exec-4 ERROR admin 607x2552x1 1uvi9p3 0:0:0:0:0:0:0:1 /rest/dashboards/1.0/10100/gadget/10100 [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service
        java.lang.NullPointerException
        	at com.atlassian.jira.dashboard.JiraDashboardChangeVisitor.visit(JiraDashboardChangeVisitor.java:103)
        	at com.atlassian.gadgets.dashboard.spi.changes.RemoveGadgetChange.accept(RemoveGadgetChange.java:24)
        	at com.atlassian.jira.dashboard.JiraDashboardChangeVisitor.accept(JiraDashboardChangeVisitor.java:52)
        	at com.atlassian.jira.dashboard.JiraDashboardStateStoreManager$3.get(JiraDashboardStateStoreManager.java:146)
        	at com.atlassian.jira.dashboard.JiraDashboardStateStoreManager$3.get(JiraDashboardStateStoreManager.java:128)
        	at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:303)
        

      The bottom of the result the link "show more" is not where it should be and the name of the link is "show less" instead.

      Attachments

        1. two_dimensional_gadgets_links_2.png
          29 kB
          John Chin
        2. two_dimensional_gadgets_links.png
          29 kB
          John Chin

        Activity

          People

            Unassigned Unassigned
            ckimloong John Chin
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: