Skip to content

"ProcessWire: ProcessPageEditImageSelect: Page is not editable" when I click variations for image inside repeater #5

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

Closed
CaelanStewart opened this issue Sep 26, 2016 · 5 comments

Comments

@CaelanStewart
Copy link

Briefly describe the issue.

Getting "ProcessWire: ProcessPageEditImageSelect: Page is not editable" when i click on "Variations" for image inside repeater for role with minimal permissions.

What did you expect to happen?

For ProcessWire to show the variations of the image.

What did actually happen?

Got the error "ProcessWire: ProcessPageEditImageSelect: Page is not editable"

Optional: Do you have screenshots/links that demonstrate the issue?

2016-09-26 11_13_02-

What are the steps to reproduce the issue?

  1. Create an image field
  2. Create a repeater
  3. Add image field to repeater
  4. Create a template
  5. Add repeater to template
  6. Create page using template, create repeater item, upload image.
  7. Create a role
  8. Assign minimal permissions to the role/template that just allow for the creation/editing of content
  9. Create a user using the role
  10. Log into the user
  11. Edit the page
  12. Click on the "Variations" button for the image inside the repeater

Tell us about the setup you experienced the bug in.

  • ProcessWire version: 3.0.34

This happens on multiple environments (local, staging, production) which are difference servers

@isellsoap
Copy link
Collaborator

isellsoap commented Sep 26, 2016

Thank you for using the issue template. 👍

I can reproduce this issue and couldn’t get it to work either.

I found a related comment in the forum, maybe that can help you?

Either way, I think this should be fixed or somehow made more easy/obvious to set up. This is far away from being an edge case, so it should be possible to get it to work easily.

@CaelanStewart
Copy link
Author

@isellsoap, well, a template is there to be used, so why not? :p

I reported a similar issue for ProcessWire 3.0.33, except that the error occurred when I clicked on the "crop" button instead. Ryan said he had pushed a fix, which he did, but there is still an error occurring when viewing variations.

I have just quickly set up a test case so you can see the problem for yourself.

Attached, is a zip archive. This archive contains an installation of the latest release of ProcessWire (3.0.34), and a .sql export from phpMyAdmin.

I have already set up the various fields/templates/roles/users.

Admin Credentials:
Username: admin
Password: password

Client Credentials:
Username: client
Password: password123!@#

Instructions to reproduce:

  1. Get attached PW installation working locally
  2. Login with client account
  3. Edit Test Case Page
  4. Open up the repeater item, click 'Edit' on the image thumbnail, and click on the 'Variations' button.

@CaelanStewart
Copy link
Author

@isellsoap, I somehow misread your saying "I can reproduce this issue" for "I can't..." hehe.

Hehe, seems I didn't need to make the test case!

Never mind.

@ryancramerdesign
Copy link
Member

Thanks I've pushed a fix for this issue.

@isellsoap
Copy link
Collaborator

Fixed with processwire/processwire@835b7ce.

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

No branches or pull requests

3 participants