Open JamesDPC opened 3 years ago
I dug into this and it looks like canPublish is now called when the blocks are being read via https://github.com/silverstripe/silverstripe-elemental/blob/master/client/src/state/editor/readBlocksForAreaQuery.js and that was added between 4.6 and 4.8 somewhere deeper ( maybe in graphql or versioned modules ?) I can't see any recent changes in elemental that would do this.
I modified the canInlinePublish handling of the operation name and possible non-existence of blockId in the request: https://github.com/JamesDPC/silverstripe-workflow-actions/commit/518374586987445fb80e752ecfa339614d65bc3d
Will give that a burl and provide a PR if it appears stable.
@JamesDPC Hey, having the same issue, any chance you might submit that PR is the fix worked for you please?
Looks like this was fixed in #12 and tagged as 1.4.2 :D
Hi folks
Getting an error with the following setup:
silverstripe/framework 4.8.0 dnadesign/silverstripe-elemental 4.6.0 symbiote-library/silverstripe-workflow-actions 1.4.1 silverstripe/graphql 3.5.0
It's blocking loading of elemental elements on page load (just get the animated SS logo in the elemental field). I don't recall seeing it on <= SS 4.6
The JSON request to /admin/graphql: