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

1.8.1 - Cannot publish new documents #1377

Closed
Jinksi opened this issue May 24, 2018 · 18 comments
Closed

1.8.1 - Cannot publish new documents #1377

Jinksi opened this issue May 24, 2018 · 18 comments

Comments

@Jinksi
Copy link
Contributor

Jinksi commented May 24, 2018

- Do you want to request a feature or report a bug?

Bug

- What is the current behavior?

Using CMS version 1.8.1, cannot publish new documents. Get Failed to persist entry error.

See console.log screenshot:

screen shot 2018-05-24 at 12 22 10 pm

May have something to do with

- If the current behavior is a bug, please provide the steps to reproduce.

Creating a new document in a collection, clicking Publish Now

- What is the expected behavior?

Rolling back to 1.8.0 fixes this issue.

- Please mention your versions where applicable.

Netlify CMS version: 1.8.1
Browser version: Chrome 67

Node.JS version:
Operating System: macOS 10.13.3

- Please link or paste your config.yml below if applicable.

@Jinksi
Copy link
Contributor Author

Jinksi commented May 24, 2018

FYI using git-gateway

@erquhart
Copy link
Contributor

Unable to reproduce so far. Can you still reproduce? Any error message toast notifications popping up when it fails?

#1239 seems the only likely PR in 1.8.1 to cause something like this, but it should have produced a toast notification if that was the case.

@Jinksi
Copy link
Contributor Author

Jinksi commented May 24, 2018

Yes, toast notification is:

Failed to persist entry: API_ERROR: Not Found

screen shot 2018-05-24 at 2 16 44 pm

@erquhart
Copy link
Contributor

Can you link to a repo that reproduces? Still not able to trigger the error.

@Jinksi
Copy link
Contributor Author

Jinksi commented May 24, 2018

https://github.com/Jinksi/test2

CMS new post page
I've opened invites if you want to log in.

I've used the one-click-hugo-cms template and added this commit to use 1.8.1.

I'm able to update existing posts, but cannot create new posts.

@kyleoliveiro
Copy link

kyleoliveiro commented May 24, 2018

I'm trying to get started with Netlify CMS, and I'm running into this error as well while using github backend.

Edit: Just tried downgrading to 1.8.0. After doing so, I am able to publish posts.

@satzz
Copy link

satzz commented May 24, 2018

Also happening to mine(It didn't a few days ago). I'm using unpkg.com/netlify-cms@^1.0.0. The error happens when saving a new entry in editorial workflow, as well as when publishing.

@erquhart
Copy link
Contributor

Working on this now.

@erquhart
Copy link
Contributor

erquhart commented May 24, 2018

Fixed in 1.8.2. Can someone confirm and close?

@papandreou
Copy link
Contributor

Was the new version published to npm? I don't see it:

$ npm info --json netlify-cms | jq -r '.["dist-tags"].latest'
1.8.1

The npm guys had an incident the other day that caused published packages to not be available immediately, could be that the problem is back: https://status.npmjs.org/incidents/3rjzvts6v98k

@tech4him1
Copy link
Contributor

It is live on npmjs.com and unpkg.

@papandreou
Copy link
Contributor

Ah, there is a new incident reported: https://status.npmjs.org/incidents/238t55n6f03f

@erquhart erquhart reopened this May 24, 2018
@erquhart
Copy link
Contributor

Whoops, accidental close.

I'm seeing it on unpkg now.

@papandreou
Copy link
Contributor

Confirmed fixed (via unpkg)

@papandreou
Copy link
Contributor

I wrote an email about the missing package to npm support.

@erquhart
Copy link
Contributor

Awesome, thanks @papandreou.

@papandreou
Copy link
Contributor

They wrote me back, and it's there now 🎉

@Jinksi
Copy link
Contributor Author

Jinksi commented May 24, 2018

All working 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants