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
Hello, @yorkshirepudding! Thanks a lot, I got it, all sorted out.
My layout template (layout--blog.tpl.php) doesn't work
Hi @Gnome and welcome to Backdrop When I create custom layout templates I put them in /layouts/custom/my_layout Note: you can split modules and layouts between contrib and custom...
My layout template (layout--blog.tpl.php) doesn't work
This post explains how to do this in Drupal 7. In Backdrop, File Entity is already part of core. You will need to download and install module Views Field View. https://drupal.stackexchange...
I Need to Display an Image in a View that was Uploaded to a Webform