You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a migration that changes content we normally want all the entries that are public available (that once have been published) to have the changes.
There should be an option for shouldPublish to only publish entries that have a published version, since entries in "DRAFT" state should not be published.
Actual Behavior
When running a migration with shouldPublish="preserve" the "PUBLISHED" entries will be automatically published and have the changes. While the "CHANGED" entries will not be published and the old published version will not have the changes.
When running a migration with shouldPublish=true all entries, including the 'DRAFT', are published, which is not desired.
It is not possible to publish only "CHANGED" and "PUBLISHED" entries.
Possible Solution
Add a new option for shouldPublish to allow publishing of only the entries in "PUBLISHED" and "CHANGED" state.
For example something like shouldPublish="oncePublished" or shouldPublish="changedAndPublished"
The text was updated successfully, but these errors were encountered:
Bump on this still outstanding issue. It's really unfortunate that the library only changes the latest version rather than both the published version and a changed version. We would like to rely on scripting updates to entries to maintain consistency with the content model. Without this capability, we can't.
Expected Behavior
When running a migration that changes content we normally want all the entries that are public available (that once have been published) to have the changes.
There should be an option for
shouldPublish
to only publish entries that have a published version, since entries in "DRAFT" state should not be published.Actual Behavior
When running a migration with
shouldPublish="preserve"
the "PUBLISHED" entries will be automatically published and have the changes. While the "CHANGED" entries will not be published and the old published version will not have the changes.When running a migration with
shouldPublish=true
all entries, including the 'DRAFT', are published, which is not desired.It is not possible to publish only "CHANGED" and "PUBLISHED" entries.
Possible Solution
Add a new option for
shouldPublish
to allow publishing of only the entries in "PUBLISHED" and "CHANGED" state.For example something like
shouldPublish="oncePublished"
orshouldPublish="changedAndPublished"
The text was updated successfully, but these errors were encountered: