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

TypeError for attached json file #1156

Closed
tomceek opened this issue Jul 13, 2017 · 4 comments
Closed

TypeError for attached json file #1156

tomceek opened this issue Jul 13, 2017 · 4 comments
Labels

Comments

@tomceek
Copy link

tomceek commented Jul 13, 2017

Just attached JSON file to the page (via Page media) and got this error:

Fetch Failed: Cannot convert undefined or null to object TypeError: Cannot convert undefined or null to object at Function.keys () at http://www.xxx/user/plugins/admin/themes/grav/js/admin.min.js?3d05d80838:5:19999 at http://www.xxx/user/plugins/admin/themes/grav/js/admin.min.js?3d05d80838:4:24799 at

Grav v1.3.0-rc.5/Admin Panel v1.5.0-rc.4

Other file types woks fine.

Any help?

@flaviocopes
Copy link
Contributor

Uhm.. I can't replicate this problem. Can you please go in the network panel of the browser dev tools, and after you upload the file check what is the response for the request?

@tomceek
Copy link
Author

tomceek commented Jul 14, 2017

Upload is working fine. File sits in the folder, it generates thumbnail instantly after upload.
But when I open page for edit (refresh after uploading the file), I got that error mentioned above.

More info from Network panel:
capture

@tomceek
Copy link
Author

tomceek commented Aug 11, 2017

any update on bug fix?

@rhukster
Copy link
Member

This is because of a missing JSON thumbnail in the Grav core.. Will be fixed in next release.

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

4 participants