Needs work
Project:
Publish Content
Version:
8.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Sep 2023 at 17:55 UTC
Updated:
9 Jan 2025 at 14:36 UTC
Jump to comment: Most recent
Comments
Comment #2
paulrad commentedComment #4
paulrad commentedI've tested and the module works as expected.
@David Fiaty, please go to the
admin/config/workflow/publishcontentand enable 'Publish and unpublish via checkbox' if you want to have this possibility.But it could be great to have this option enabled by default, so I'm making a merge request for maintainers to decide.
Comment #5
David Fiaty commentedThe suggestion works indeed. However I believe a freshly installed module shouldn't change any core Drupal config parameter without user action.
I've reinstalled the module and it's all good. But I'm terrified about uninstalling or disabling it again because I don't want to lose the numerous views that use the module. Is this an expected behaviour?
IMO this module should join the Drupal core!
Great work and thank you very much for the quick reply.
Comment #6
rodrigoaguileraThis still happens on Drupal 10/11 with the latest version of the module?
Comment #7
bramdriesenI don't really see an immediate cause of why uninstalling this module would delete views.
I do follow the idea of setting the checkbox enabled by default though, so things work like they did before, until you choose to disable the option.
Comment #8
rodrigoaguileraOk.
Then the proper place to set defaults would be
https://git.drupalcode.org/project/publishcontent/-/blob/8.x-1.x/config/...
The update hook can get the update too but it is not very relevant.
Comment #9
bramdriesenComment #11
nexusnovaz commentedHey, updated
publishcontent.settings.ymlto make ui_checkboxes true. Should the change to the .install be reverted back to 0?Will mark as needs review in case this is all good. Thanks
Comment #12
nexusnovaz commentedComment #13
bramdriesenUpdating an existing update hook won't have any effect on active installs. Not sure we really need to create a new update hook for this
Comment #14
kurttrowbridgeI didn't test the merge request on a fresh install, so not going to mark this RTBC myself, but just thought I'd note that I got tripped up by this issue after having enabled the module on a Drupal 10 site, and the config change suggested in the MR and comment #4 got us back to the workflow we were expecting, so what's in the MR makes sense to me. Thanks!
Comment #15
bramdriesenFor #13 and #11