Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Published / Save & Publish button's state doesn't update #52

Open
nfauchelle opened this issue Jan 19, 2017 · 4 comments
Open

Published / Save & Publish button's state doesn't update #52

nfauchelle opened this issue Jan 19, 2017 · 4 comments

Comments

@nfauchelle
Copy link

nfauchelle commented Jan 19, 2017

When you edit a Page via the CatalogManager the Published button's stage doesn't change when you edit a field. If I edit a page normally in the SiteTree then the Published buttons state does change when I start editing a different field (and then click out of it).

When you are creating a new page via the CatalogManager, I notice that the button says 'Save & Publish' by default.

Tested with a fresh 3.5.1 composer install, then
composer require littlegiant/silverstripe-catalogmanager

I created a TestHolderPage as the parent and TestPage as the child.

TestPage:
  extensions:
    - CatalogPageExtension
  parentClass:
    - 'TestHolderPage'

TestHolderPage:
  extensions:
    - HidePageChildrenExtension

Is my config for this.

@adrhumphreys
Copy link

@nfauchelle did you ever resolve this?

@nfauchelle
Copy link
Author

@adrhumphreys No I didn't... on my someday maybe list.

@adrhumphreys
Copy link

It looks like the issue is being caused by better buttons, if you disable it, then it will work like a dataobject which is not ideal either

@Tom-Alexander
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants