Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor permissions enable the "Copy Page" button but it does not work #321

Open
abea opened this issue Jun 22, 2020 · 1 comment
Open

Editor permissions enable the "Copy Page" button but it does not work #321

abea opened this issue Jun 22, 2020 · 1 comment
Assignees
Labels

Comments

@abea
Copy link
Contributor

abea commented Jun 22, 2020

To Reproduce

Step by step instructions to reproduce the behavior:

  1. Add an "editor" user group and set up basic edit permissions. Make sure the editor group can edit all pages via the page settings.

Screen Shot 2020-06-22 at 1 59 00 PM

  1. As an "editor," open the context menu and click Copy Page. It should open a new page modal. Update the title and click save

Expected behavior

It should save the copied page and leave you on that new page ready to edit it.

Describe the bug

The process gets stuck with the "busy" spinner running and Apostrophe throws an error the browser console:

Uncaught TypeError: can't access property "_id", self.savedPage is undefined
    afterSave http://localhost:3000/modules/apostrophe-workflow-pages/js/editor.js:71
    method http://localhost:3000/modules/apostrophe-pages/js/editor.js:140
    afterSave http://localhost:3000/modules/apostrophe-pages/js/editor.js:137
    ...

Details

Version of Node.js: 12.x

Server Operating System: MacOS

@abea abea added the bug label Jun 22, 2020
@abea abea self-assigned this Jun 22, 2020
@boutell
Copy link
Contributor

boutell commented Jun 24, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants