You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a project with CMS: 4.12.0 and Fluent 6.0.0 with some PageTypes managed in a ModelAdmin. All Pages have a proper Fluent+Elemental setup.
Clicking "Copy to draft" or "Copy & Publish" throws this error: "Could not find a suitable form-action callback function"
Clicking "Localise" works but we'll get the blue message: "A draft has been created for this locale, however, published content may still be inherited from another. To publish this content for this locale, use the "Save & publish" action provided." - and there are no options to do a "Save & Publish" action.
The only workarounds atm are downgrading to Fluent 5 as it works there or to work in Split-mode to get redirected from ModelAdmin to SiteTree - where "Copy to draft" and "Copy & Publish" work as they should.
So this seems to be a bug in Fluent 6.
Can you fix it please?
Thanks in advance
The text was updated successfully, but these errors were encountered:
I think the issue is with the custom modeladmin for those page types. The main fluent sitetree actions were added to CMSMain extension, so you may need to add some extensions to your custom modeladmin too (not only the model itself).
Here's the config for CMSMain. Can you add the same but for your custom modeladmin?
SilverStripe\CMS\Controllers\CMSMain: # Your modeladmin here
extensions:
FluentLeftAndMainExtension: TractorCow\Fluent\Extension\FluentCMSMainExtension
I tried it right now, but it doesn't work with that either. Same error as before. Our custom model admin is nothing special, there is only the method to add the VisibleLocalesColumn to the GridField in there.
Hi,
We have a project with CMS: 4.12.0 and Fluent 6.0.0 with some PageTypes managed in a ModelAdmin. All Pages have a proper Fluent+Elemental setup.
Clicking "Copy to draft" or "Copy & Publish" throws this error: "Could not find a suitable form-action callback function"
Clicking "Localise" works but we'll get the blue message: "A draft has been created for this locale, however, published content may still be inherited from another. To publish this content for this locale, use the "Save & publish" action provided." - and there are no options to do a "Save & Publish" action.
The only workarounds atm are downgrading to Fluent 5 as it works there or to work in Split-mode to get redirected from ModelAdmin to SiteTree - where "Copy to draft" and "Copy & Publish" work as they should.
So this seems to be a bug in Fluent 6.
Can you fix it please?
Thanks in advance
The text was updated successfully, but these errors were encountered: