Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-20581

Add constraint to prevent creation of duplicate global labels

    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.

      Currently, it is possible for duplicate global labels to be created in the database, typically from a malfunctioning plugin. This causes errors similar to this:

      2010-08-12 15:32:12,612 ERROR [TP-Processor28] [com.atlassian.hibernate.HibernateObjectDao] doInHibernate There is more than one label named 'test-label' in the 'global' namespace.
       -- url: /confluence/createrssfeed.action | userName: xxxxx | action: createrssfeed
      2010-08-12 15:32:12,659 ERROR [TP-Processor83] [com.atlassian.hibernate.HibernateObjectDao] findSingleObject Uh oh - found more than one object when single object requested: [Labelling[content: 126583340, label: 76808259, owner: xxxxx], Labelling[content: 126583340, label: 76808259, owner: xxxxx]]
      

      A means to prevent this from happening would be beneficial.

            [CONFCLOUD-20581] Add constraint to prevent creation of duplicate global labels

            BillA added a comment -

            Thank you for raising this issue. While we can see how this feature would be useful, we have no plans to implement it in the foreseeable future. In order to set expectations, we're closing this request now. Thanks again for your idea.

            BillA added a comment - Thank you for raising this issue. While we can see how this feature would be useful, we have no plans to implement it in the foreseeable future. In order to set expectations, we're closing this request now. Thanks again for your idea.

            Hello,

            This a production critical issue. Would it possible a patch can be provided in order to prevent this from occurring?

            Carlos

            Carlos Ramos added a comment - Hello, This a production critical issue. Would it possible a patch can be provided in order to prevent this from occurring? Carlos

              Unassigned Unassigned
              66204b622618 Carlos Ramos
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: