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

Issue: Reload button leads to dashboard crash #664

Closed
kristofzerbe opened this issue Sep 13, 2023 · 4 comments
Closed

Issue: Reload button leads to dashboard crash #664

kristofzerbe opened this issue Sep 13, 2023 · 4 comments
Labels

Comments

@kristofzerbe
Copy link

Describe the bug
Hitting the RELOAD button in dashboard leads to a crash:

To Reproduce
In dashboard hit the RELOAD button in v9.3.6172561-beta. Close, open up again ... works again

Expected behavior
Reload the dashboard

Screenshots
image

Desktop:

  • OS: Windows 10
  • SSG: Hexo
  • Browser: Chrome latest
@kristofzerbe kristofzerbe added the bug Something isn't working label Sep 13, 2023
@estruyf
Copy link
Owner

estruyf commented Sep 13, 2023

Can you check if anything is logged in the VSCode - Front Matter CMS output?

Is it happening on your blog? If so I'll give it a try tomorrow to see what is going on internally.

@kristofzerbe
Copy link
Author

Of course, I forgot...

["INFO" - 18:09:41] Receiving message from webview: refreshPages
["INFO" - 18:09:41] Receiving message from webview: logError
["ERROR" - 18:09:41] Event ID: e9d218614a8549438116dd9a89fc2111
Message: Cannot assign to read only property 'draft' of object '#'

Stack:
at Contents (https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/k.zerbe/.vscode/extensions/eliostruyf.vscode-front-matter-beta-9.3.6172561/dist/dashboardWebView.js:136281:21)
at RenderedRoute (https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/k.zerbe/.vscode/extensions/eliostruyf.vscode-front-matter-beta-9.3.6172561/dist/dashboardWebView.js:116332:5)
at Routes (https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/k.zerbe/.vscode/extensions/eliostruyf.vscode-front-matter-beta-9.3.6172561/dist/dashboardWebView.js:116963:5)
at main
at ErrorBoundary (https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/k.zerbe/.vscode/extensions/eliostruyf.vscode-front-matter-beta-9.3.6172561/dist/dashboardWebView.js:30058:47)
at App (https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/k.zerbe/.vscode/extensions/eliostruyf.vscode-front-matter-beta-9.3.6172561/dist/dashboardWebView.js:135555:16)
at SettingsProvider (https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/k.zerbe/.vscode/extensions/eliostruyf.vscode-front-matter-beta-9.3.6172561/dist/dashboardWebView.js:142318:29)
at Router (https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/k.zerbe/.vscode/extensions/eliostruyf.vscode-front-matter-beta-9.3.6172561/dist/dashboardWebView.js:116901:15)
at MemoryRouter (https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/k.zerbe/.vscode/extensions/eliostruyf.vscode-front-matter-beta-9.3.6172561/dist/dashboardWebView.js:116801:5)
at RecoilRoot_INTERNAL (https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/k.zerbe/.vscode/extensions/eliostruyf.vscode-front-matter-beta-9.3.6172561/dist/dashboardWebView.js:126483:3)
at RecoilRoot (https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/k.zerbe/.vscode/extensions/eliostruyf.vscode-front-matter-beta-9.3.6172561/dist/dashboardWebView.js:126639:5)
["INFO" - 18:09:42] Sending message to dashboard: pages
["INFO" - 18:09:42] Sending message to dashboard: searchReady
["INFO" - 18:09:42] Sending message to dashboard: loading
["INFO" - 18:09:52] Triggering draft status update: onDidChangeActiveTextEditor
["INFO" - 18:09:53] Triggering draft status update: onDidChangeTextEditorSelection
["INFO" - 18:09:53] Triggering draft status update: onDidChangeTextEditorSelection
["INFO" - 18:09:54] Triggering draft status update: onDidChangeTextEditorSelection
["INFO" - 18:09:56] Triggering draft status update: onDidChangeTextEditorSelection
["INFO" - 18:09:57] Triggering draft status update: onDidChangeTextEditorSelection
["INFO" - 18:09:57] Triggering draft status update: onDidChangeTextEditorSelection

@estruyf
Copy link
Owner

estruyf commented Sep 14, 2023

I found the issue, and it is related to the Hexo change only (it could also happen in Jekyll).

The new beta should fix it.

@kristofzerbe
Copy link
Author

Confirm ... fixed. Thank you...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

2 participants