Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-20581

Add constraint to prevent creation of duplicate global labels

    XMLWordPrintable

Details

    • 1
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? 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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: