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 getChildren invoked for a file for site" error is displayed when try to delete a content page. #1954

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

Comments

@luishernandezmonge
Copy link
Member

Expected behavior

No errors should be displayed on the log when try to delete an item. Also the dependencies should be calculated as well.

Actual behavior

The "Error getChildren invoked for a file for site" error is displayed when try to delete a content page.
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 content page under Home
  • Click on the new content page and click on Delete option of top nav
  • Check the log
  • Click on Style content and click on Delete option of top nav
  • Check the log
  • Create a new page article on the articles folder
  • Click on the new article and click on Delete option of top nav
  • Check the log

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

https://gist.github.com/luishernandezmonge/edb92f5f96cdbcb31df891f64bbbf275

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

The log is misleading. The message is generated when trying to get children for a file during dependency calculation for delete. Changed log message and lowered log level

PR:
craftercms/studio#1076

@dejan-brkic dejan-brkic moved this from In Progress to Test & Validate in Crafter CMS v3.0 Mar 22, 2018
@luishernandezmonge
Copy link
Member Author

Verified as resolved.

Crafter CMS v3.0 automation moved this from Test & Validate to Completed Mar 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Crafter CMS v3.0
  
Completed
Development

No branches or pull requests

3 participants