Voting starts in March for the Drupal Association Board election.
Steps to reproduce:
Go to admin/structure/types/manage/article and check "Create new revision" under Publishing Settings
Create a new article node
Use "Quick edit" to change the node
Click the Revisions tab for that node
A new revision was made with the log message of "Updated the Body field through in-place editing." or similar
No revisions tab, no revision created
The edit.module still checks variable_get() instead of the node type config entity
Load the entity and check.
However, the edit.module does insane things to build this form that isn't even really a form, but a class with arbitrary methods that mimic EntityFormControllerInterface.
Because it's not a real form, it calls drupal_build_form() directly.
This patch restores some sanity, but because of the need to mess with $form_state directly, is still hacky. I'll open a follow-up to turn this into a real entity form.
|#13||fix_and_test_revision_handling_edit-2040021-13.patch||15.63 KB||Wim Leers|
PASSED: [[SimpleTest]]: [MySQL] 58,859 pass(es). View
|#13||interdiff.txt||7.23 KB||Wim Leers|
|#10||fix_and_test_revision_handling_edit-2040021-10.patch||11.69 KB||Wim Leers|
FAILED: [[SimpleTest]]: [MySQL] 58,575 pass(es), 5 fail(s), and 0 exception(s). View
|#7||fix_and_test_revision_handling_edit-2040021-7.patch||11.7 KB||Wim Leers|
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch fix_and_test_revision_handling_edit-2040021-7.patch. Unable to apply patch. See the log in the details link for more information. View
PASSED: [[SimpleTest]]: [MySQL] 57,123 pass(es). View