Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When a published entity is added in a non-default workspace, we actually need to create two revisions:
- an unpublished one so that the new entity appears in the default workspace as the default revision
- a new revision of it which is only published in its workspace
Comment | File | Size | Author |
---|---|---|---|
#2 | 2927171.patch | 7.74 KB | amateescu |
Comments
Comment #2
amateescu CreditAttribution: amateescu for Pfizer, Inc. commentedHere's a patch lifted from #2925140: Add complete test coverage for creating and deploying content across workspaces. It also does a bit of unrelated cleanup but I was too lazy to split it out even more.
Comment #4
amateescu CreditAttribution: amateescu for Pfizer, Inc. commentedAll this new logic is already tested in #2925140: Add complete test coverage for creating and deploying content across workspaces so committed and pushed to 8.x-2.x!