Uploaded image for project: '[Read Only] - Hippo Essentials'
  1. [Read Only] - Hippo Essentials
  2. ESSENTIALS-728

Adding taxonomy to document type doesn't work when there are checked-in documents

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Fixed
    • 1.03.01
    • CMS-10.0-GA, 2.0.0
    • None
    • 0.5
    • Tiger Sprint 107

    Description

      Apparently, org.onehippo.cms7.essentials.dashboard.utils.DocumentTemplateUtils#addContentMixin() tries to add a mixin to documents of the specified type, which breaks when the versionable document variant is checked in. By default, demo content installed by Essentials isn't checked in, but once you changed and published a document, it is checked in, and then, adding a taxonomy to this document type fails:

      ERROR http-nio-8080-exec-1 [TaxonomyResource.addTaxonomyToDocument:249] Error adding taxonomy to a document
      javax.jcr.version.VersionException: Unable to perform operation. Node is checked-in.

      Above function should ensure that the nodes are checked out before adding the mixin.

      Attachments

        Activity

          People

            pgupta Pankaj Gupta (Inactive)
            tjeger Tobias Jeger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: