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

Activity Stream gadget fail to load if Project Category have assign more than one projects

    XMLWordPrintable

Details

    Description

      Steps to reproduce the problem:

      1. Create a new Project A and B.
      2. Create a new Project Category A.
      3. Link Project A and B to Project Category A.
      4. Create a new issue for Project A and B.
      5. Refresh dashboard and JIRA Activity Stream gadget is showing data.
      6. When edit the gadget, we will see "No activity was found" message.

      Turn on the debugging of the com.atlassian.streams package, we will get this stack trace:

      Caused by: java.lang.IllegalArgumentException: duplicate key: 10000
      	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:115)
      	at com.google.common.collect.RegularImmutableMap.<init>(RegularImmutableMap.java:72)
      	at com.google.common.collect.ImmutableMap$Builder.fromEntryList(ImmutableMap.java:245)
      	at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:231)
      	at com.google.common.collect.Maps.uniqueIndex(Maps.java:681)
      	at com.google.common.collect.Maps.uniqueIndex(Maps.java:637)
      	at com.atlassian.streams.jira.JiraFilterOptionProvider.getProject
      

      Finding

      • JIRA or other application filters will be missing from the JIRA Activity Stream gadget.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: