Closed pezholio closed 6 years ago
This is still an issue. It seems to be occurring randomly. Users have reported it to me, but when I've gone into the console and tried it myself it works.
Hey @pezholio,
Try doing the following:
comment.to_management.publish
It should not be required, but in some very edge cases, it may incur in a race condition. Using this method should partially mitigate that race condition, though it doesn't ensure it, as the Manageable
module which exposes the publish
method is already doing it under the hood. But manually triggering it may affect the ordering in which it happens, making it more predictable in some cases.
Hope this helps,
Cheers
Cool. I'll give it a try. Thanks!
When I try to publish a piece of content from the preview API, I get alternating errors:
The request that gets logged is as follows:
Any ideas where I'm going wrong?