Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-8098

(Un)publish all documents in folder breaks the workflow if there are documents in another state

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Top
    • Resolution: Fixed
    • 2.26.00
    • 2.26.04
    • None
    • Sprint 84

    Description

      Run the archetype:

      mvn archetype:generate \
      -DarchetypeRepository=http://maven.onehippo.com/maven2 \
      -DarchetypeGroupId=org.onehippo.cms7 \
      -DarchetypeArtifactId=hippo-archetype-website \
      -DarchetypeVersion=1.09.00

      $ mvn package && mvn -Pcargo.run

      Login to the CMS with the admin user
      Go to the news/2011 folder and unpublish one of the articles
      Now select the action menu on the 2011 folder and select the 'take all offline in folder'
      Press OK and see the error message appear.

      See the screenshots.

      This seems to be a regression based on the new document model where the variants stay instead of getting removed.

      Attachments

        1. unpublis-article.png
          unpublis-article.png
          207 kB
        2. take-offline.png
          take-offline.png
          218 kB
        3. incorrect-count.png
          incorrect-count.png
          179 kB
        4. hippo-cms-error.txt
          6 kB
        5. final-step.png
          final-step.png
          170 kB

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            jreijn Jeroen Reijn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: