Comments (1)
The API seems to lose its mind if you update the UpdatedAt
field, even though the docs indicate that it should be used to avoid clobbering a post that was unexpectedly updated. It shows an error that "Saving failed! Someone else is editing this post." even if you wait several seconds before pushing the update. Some old issues on their repo, but I didn't find anything that indicates why this is happening.
Left a comment in the code:
// Per the docs, the UpdatedAt field is used to avoid collision detection, yet
// any change to it that differ from the original post causes the API call to fail with:
// "Saving failed! Someone else is editing this post."
// Ref: https://ghost.org/docs/api/v3/admin/#updating-a-post
updatedPost.UpdatedAt = originalPost.UpdatedAt;
from ghostsharp.
Related Issues (20)
- Replace NUnit with xUnit?
- Mention this wrapper to the Ghost team HOT 1
- Address CodeFactor issues
- Support multiple image uploads
- just some comments i had in the AdminAPI\IntegrationTests\UpdatePostIntgTests file
- update for the admin api - is themes a valid endpoint? HOT 4
- Support for subdirectories HOT 3
- Add constraints defined in schema.js?
- Is send_email_when_published a working field or broken? HOT 1
- Resolve todo in Post.cs HOT 1
- Take a look at the other Ghost-SDK files to see if I missed anything in my implementation of things...
- PublishedAt, Url, Excerpt not working HOT 18
- Any info in here that could be applied to GhostSharp?
- Support async/await HOT 1
- codeinjection_head missing on getposts HOT 3
- The byte conversion code in the auth flow can now be replaced by a built-in method HOT 1
- Build process warning: 'HMACSHA256Algorithm' is obsolete:
- certain endpoints throw 504 gateway exception
- Implement "members" admin endpoint
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghostsharp.