When testing the sections module with the latest 4.7 beta sections can't be created. Function section_settings_execute needs to be renamed to section_settings_submit. Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | sections.module_5.patch | 893 bytes | yched |
| sections.module_3.patch | 927 bytes | dreed47 |
Comments
Comment #1
Bèr Kessels commentedCould you please explain why tis change is needed? I am not following the development in HEAD and fAPI closely, so I think I might have missed something :)
Comment #2
eaton commentedIn a nutshell, the 'execute' hook for form handling was changed to 'submit' for clarity -- thus, the sections module's 'execute' handle never gets called and no sections are ever created.
+1 simple patch, fixes the problem.
Comment #3
yched commentedSections.module is just completely useless with HEAD for nearly two months now ?
This patch is quite trivial - i'm surprised it has not been commited yet.
Has this module been abandonned ?
Comment #4
yched commentedMe and my big mouth...
OK, the patch HAS been committed indeed. This issue just has'nt been updated.
Anyway the problem remains : you currently can't add or edit sections sections with HEAD.
The problem now lies in the code of section_settings_submit. $edit doesn't contain the text of the submit button : it's in $_POST['op']
This new patch corrects this
Comment #5
Bèr Kessels commentedThanks for the patch. It is now comitted.
Comment #6
(not verified) commented