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

[studio] "Error executing REST script at /scripts/rest/api/1/dependency/get-dependencies.post.groovy" error is displayed on the log and the text "Unable to load dependencies" is displayed on the delete dialog when user tries to delete a content page with an uploaded image #1955

Closed
luishernandezmonge opened this issue Mar 15, 2018 · 2 comments

Comments

@luishernandezmonge
Copy link
Contributor

Expected behavior

  • Dependencies list should be loaded correctly on the delete dialog.
  • No errors should be present on the log when try to delete the article.

Actual behavior

The "Error executing REST script at /scripts/rest/api/1/dependency/get-dependencies.post.groovy" error is displayed on the log and the text "Unable to load dependencies" is displayed on the delete dialog when user tries to delete a content page with an uploaded image.

Watch the next video:
https://www.useloom.com/share/0b91fc9cd62b439eac1efc304ce84a1e

Steps to reproduce the problem

  • Go to studio and login as admin
  • Create a site using Website Editorial bp
  • Go to preview page and create a new article page under articles folder (using an uploaded image on the Image field)
  • Click on the new article and click on Delete option of top nav
  • Notice that the next text is displayed on the dependencies list on delete dialog:
    Unable to load dependencies. Try again
  • Check the log

Log/stack trace (use https://gist.github.com)

Log error
https://gist.github.com/luishernandezmonge/b206d7d9fedfce3955fec76d2a044249

Specs

Version

Studio Version Number: 3.0.10-SNAPSHOT-70e9d3
Build Number: 70e9d3bf541d1a8549587c0ce9863ea1b61f9597
Build Date/Time: 03-15-2018 07:35:30 -0700

OS

Windows, Mac OSX and Linux

Browser

Edge, Chrome

@dejan-brkic
Copy link
Member

Done
PR:
craftercms/studio#1077

@luishernandezmonge
Copy link
Contributor Author

Verified as resolved.

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