Uploaded image for project: 'Hippo Essentials'
  1. Hippo Essentials
  2. ESSENTIALS-728

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 1.03.01
    • Fix Version/s: CMS-10.0-GA, 2.0.0
    • Component/s: None
    • Labels:
    • Similar issues:
    • Story Points:
      0.5
    • Sprint:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: