-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disallow a conflicting draft editions
Currently, a publishing application can send a draft edition to Publishing API, which has the same base path as a live edition but with a different content ID. This results in a valid draft edition being created in Publishing API. However after this occurs, neither the original live edition with the original content ID or the draft edition can have a new edition created, as there will be a conflict in content IDs. This updates the validation to disallow a draft edition with a different content ID if there is already a published edition at that base path.
- Loading branch information
Showing
3 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters