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

Navigating to <Siteroot>/admin/ page leads to a system error popup #1626

Closed
tonyrzhang opened this issue Aug 17, 2018 · 3 comments
Closed

Navigating to <Siteroot>/admin/ page leads to a system error popup #1626

tonyrzhang opened this issue Aug 17, 2018 · 3 comments

Comments

@tonyrzhang
Copy link
Contributor

Describe the bug
So I just setup netlify-cms on my site and I saw that when I tried to navigate to /admin/ I get an error popup below.
screen shot 2018-08-17 at 9 33 05 am

After clicking Ok, the admin page loads like normal and I'm able to interact with my collections, but I was just wondering what was causing this, since it's pretty alarming to our other users that modify the CMS content.

Thanks!

Applicable Versions:

  • Netlify CMS version: 1.7.0
  • Git provider: Github
  • OS: Mac OSX 10.13.2
  • Browser version Chrome Version 67.0.3396.99
@tech4him1
Copy link
Contributor

This error message was added in #550 to notify the user when caching cannot work due to the localStorage being full.

You could try clearing the localStorage/cookies for your site if you wanted to.

@erquhart @Benaiah I'm not sure why this is really necessary. Does it help to create a popup for users, or should we just handle silently?

@erquhart
Copy link
Contributor

Shouldn't be a pop up, not sure why that's the case.

@tech4him1
Copy link
Contributor

@erquhart Great! It was part of the initial PR which you reviewed, so I figured you might have an idea 😉😃. We should be able to rework the netlify-cms-lib-util/src/localForage.js file to remove that alert. @tonyrzhang Feel free to create a PR if you're up for that.

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