silverstripe / silverstripe-cms

Silverstripe CMS - this is a module for Silverstripe Framework rather than a standalone app. Use https://github.com/silverstripe/silverstripe-installer/ to set this up.
http://silverstripe.org/
BSD 3-Clause "New" or "Revised" License
516 stars 333 forks source link

Adding images via the HTMLEditorField sets image to "draft" state and doesn't change #2200

Closed Codesesh closed 6 years ago

Codesesh commented 6 years ago

I am using SS 4.1.2 - When adding an image into the HTMLEditorField, the image saves in a draft state, but when hitting save or publish it isn't publishing and it's state is staying as draft. Meaning when I am logged in I can see the image showing, when logged out image is broken and not showing.

One test I did was adding an HTMLEditorField to the SiteConfig area, add an image into it, hit save. Image's state is still draft.

If I go into the Files tab, select the image and click the "Publish" button in the bottom right it works after that.

Is this a bug or am I missing something?

Update

This is happening when using the Elemental block module as well, I have created an issue on their github as well: https://github.com/dnadesign/silverstripe-elemental/issues/247

When creating a standard page and using the HTMLEditorFIeld it seems to work fine.

bummzack commented 6 years ago

This has already been reported here: https://github.com/silverstripe/silverstripe-versioned/issues/75 Should be fixed with 4.2, once it's released.

dhensby commented 6 years ago

closing as duplicate