Stevo Slavić wrote:
Hello Jasha,
Yes that is exact scenario, copying preview and not live. I expect CMS
editor to handle this situation better, so not only check for
publicationDate, but also for presence of document in live. Displaying
just based on publicationDate, is obviously not complete, signals that
document is published which isn't present in live at all. This kind of
issues is hard to debug, and if hippo would report this, e.g. just by
displaying document as not published, it would be enough to save a lot
of nerves.
Since the situation that you ended up with is not reproducible from
within the CMS, I (personally) don't think the CMS should check for it.
An administrator doing some action in the background, should consider
the possible consequences.
What can be done:
0] When copying copy both preview & www.
1] Run the publishall WDBP with plugin.1.configuration.onlypublished set
to true.
2] Run the propertiesdelete WDBP to remove the publicationDate property.
All Webdav Batch Processor Plugins mentioned above can be found at
https://svn.hippocms.org/repos/hippo/hippo-tools
Mvg,
--
Bartosz Oudekerk
.---------------------------------.-----------------------------------.
| Hippo B.V. | Hippo USA Inc. |
| Oosteinde 11 | 101 H Street, suite Q Petaluma CA |
| 1017 WT Amsterdam | 94952-3329 San Francisco |
| The Netherlands | United States |
| Tel +31 (0)20 5224466 | +1 (707) 773-4646 |
+---------------------------------+-----------------------------------+
| [EMAIL PROTECTED] | http://www.onehippo.com |
`---------------------------------^-----------------------------------'
********************************************
Hippocms-dev: Hippo CMS development public mailinglist