Description of the bug
The Revision settings for a content type are not clear. The options under Revision settings are:
- Show option to create new revisions Revisions allow content editors to view changes over time and revert changes if needed.
- Create new revision by default
The current functionality is that the "Show option to create new revisions" actually enables or disables revisions for the content type. If "Show option to create new revisions" is off, the "Create new revision by default" is ignored.
Steps To Reproduce
To reproduce the behavior: 1. Open the configuration page for a content type. 2. Set the Revision settings to uncheck "Show option to create new revisions" and check "Create new revision by default" 3. Edit a node of the content type that was edited. 4. View the revisions of the edited node.
Actual behavior
No revisions is saved for the edited node.
Expected behavior
Since the Revision settings are showing "Show option to create new revisions" unchecked and "Create new revision by default" checked, the revision setting shouldn't be shown on the node edit page, but the revision should be saved.
Alternatively, the Revision settings can be reworded to reflect the actual behavior. Maybe: - Enable the option to create new revisions Revisions allow content editors to view changes over time and revert changes if needed. - Create new revision by default And "Create new revision by default" should be hidden if the first option is disabled.
Additional information
In my use case, I want revisions saved for every node edit without the option to not save a revision. I am able to accomplish this by enabling both check boxes under Revision settings and using the Simplify module to remove the revision setting from the node edit form.
Add any other information that could help, such as: - Backdrop CMS version: 1.24.2
Recent comments
Tried and successfully applied DrAlbany's method with the form https://www.drupal.org/sandbox/grobot/2105379stickman hook. I also encountered the same situation. Thanks DrAlbany
Ubercart - Auto increment SKU
Since before migration you need to prepare the Drupal site - disabling and removing all modules, disabling themes, as part of the preparation you can clear the cache and logs, delete the search...
Trimming the size of my database for D2B_migrate not to error out (Request Entity Too Large / 504 Gateway Time-out)
QuickTabs is now available!!! But does not work as expected, already reported (https://github.com/backdrop-contrib/quicktabs/issues/14). Maybe an alternative solution using Views...
Quick Tabs (or method to simulate)