Add constraint to prevent creation of duplicate global labels

XMLWordPrintable

    • 1

      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.

            Assignee:
            Unassigned
            Reporter:
            Carlos Ramos
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: