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. final-step.png
          170 kB
          Jeroen Reijn
        2. hippo-cms-error.txt
          6 kB
          Jeroen Reijn
        3. incorrect-count.png
          179 kB
          Jeroen Reijn
        4. take-offline.png
          218 kB
          Jeroen Reijn
        5. unpublis-article.png
          207 kB
          Jeroen Reijn

        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: