In the User edit form changing the active blocks for any user doesn't save when the form is submitted. If the block is off by default there is no way to turn it on and vice versa.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | user_edit_2.patch | 3.19 KB | chx |
| #3 | user_edit_1.patch | 327 bytes | chx |
Comments
Comment #1
moshe weitzman commentedyup. confirmed ... perhaps whomever did the blocks form api port could investiage?
Comment #2
chx commentedComment #3
chx commentedThe cause is darn simple: the form is not called upon update hence the value submitted gets lost. form_edit needs a rewrite to submit model. Meanwhile, this simple patch lets you set but not clear a block. Ie. this is mandatory but not enough.
Comment #4
chx commentedLet's see this one. I'll open a task for 4.8 to clean this a bit but I did not want to change API for user_save at this stage.
Comment #5
chx commentedIf we want hook_user 'form' to actually work, we can not release 4.7 without this one.
Comment #6
chx commentedalso note http://drupal.org/node/39786 which is the same problem.
Comment #7
Cvbge commentedI've tested and it works as advertised
Comment #8
chx commentedI talked with Cvbge and he tried block and contact settings. This means that everything should work, so... status change!
Comment #9
dries commentedCommitted to HEAD. Thanks.
Comment #10
(not verified) commented