simonsays Posted October 26, 2018 Share Posted October 26, 2018 (edited) @ryan Found a bug which involves a certain scenario. My version is 3.0.98, therefore I am not sure if it has been fixed in later versions or should I raise an issue. Steps to reproduce: 1. Do a clean install of Processwire 3.0.98. 2. Install PageFrontEdit module. 3. Add repeater field and add an image field inside of it. Assign it to any template (I picked "home") 4. Create a page and add a button to open an edit modal dialog echo '<edit field="' . $page->fields->implode(',', 'name') . '" page="' . $page->id . '">'; echo '<a>edit</a>'; echo '</edit>'; 5. Open modal dialog on the front-end and upload an image to repeater. Save changes. 6. Open the dialog again and crop the image. Click "Apply" and "Save and replace". Expected behaviour: The form and the image field are updated with the new cropped image preview. Actual behaviour: Nothing is updated and old image preview stays. Through web developer tools and "network" tab I got a json error {"error":true,"message":"Field 'headline' is not applicable to this page"} The bug does not happen when editing the same page in admin as well as for "image" fields which are not inside a repeater. Has this been raised or fixed already? Or is this something you are unaware of? Edited October 26, 2018 by simonsays typo Link to comment Share on other sites More sharing options...
simonsays Posted October 29, 2018 Author Share Posted October 29, 2018 Logged issue on github https://github.com/processwire/processwire-issues/issues/736 Link to comment Share on other sites More sharing options...
simonsays Posted November 22, 2018 Author Share Posted November 22, 2018 Bump. Any update on this? No feedback here, none on github ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now