dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
820 stars 462 forks source link

[core] : Copying Site with archived content results in incorrect copy #17763

Closed jcastro-dotcms closed 4 years ago

jcastro-dotcms commented 4 years ago

Reported via Support: 99996 Reproducible in dotCMS 4.3.3, 5.2.2, and latest master.

When copying a Site, content that is Archived in the source is copied over to the new Site as Unpublished.

Steps to reproduce the behavior:

  1. Create a new empty Site, called "source.com".
  2. At the root of the Site, add a couple of empty HTML Pages to it. Then, un-publish and archive them.
  3. Apply an Enterprise License and now COPY the "source.com" Site to a new Site called "copy.com"
  4. Change the Site Selector to "copy.com", go to the root in the Site Browser, and notice that the two Archived HTML Pages from "source.com" are showing up as Unpublished in the "copy.com" Site.

Expected behavior

All content copied from one Site to another must remain the same and have the same status. The current behavior is confusing to our customers.

Acceptance Criteria

  1. Match the design
  2. Work in all the supported browsers (don't forget IE11 and iPad)
  3. Multilanguage
  4. Unit test
jcastro-dotcms commented 4 years ago

Core PR: https://github.com/dotCMS/core/pull/17856 Enterprise PR: https://github.com/dotCMS/enterprise-2.x/pull/698

bryanboza commented 4 years ago

Fixed, tested in release-5.2.5 and unable to reproduce after the changes