-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
Description
@oscryan commented on Mon Nov 29 2021
Description
Attempting to duplicate a book page in wagtail in any environment results in a 500 error, even when both the title and the slug are changed. Discussed in https://openstax.slack.com/archives/C69BU01RC/p1638220616221900
Acceptance Criteria
- Removed Duplicate Book from book menu since it did not work and was a wrapper around import-export
- Wagtail Copy menu item on the Book menu can be used to copy a book on the same server
- Import-Export can be used to copy content to other servers. Code was improved to prevent id collisions and notify user of duplicate slug.
To test, you could do these things
- Create a new test page on QA or dev and save it. Go to import-export on that server and export. It will download a zip file
- Go to import-export on staging and import your zip file. You will have to choose a parent page such as home or subjects depending on where you made your test page
- To test Copy, once your test page is in staging, select Copy from the menu and make a copy. You can delete your test pages once your testing is done.
Reactions are currently unavailable