Closed (fixed)
Project:
Teaser block
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
20 Sep 2008 at 00:26 UTC
Updated:
6 Oct 2008 at 19:36 UTC
Jump to comment: Most recent file
Steps to reproduce:
1. Enable Teaser block.
2. Go to http://ungpirat.6/admin/content/node-type/page
3. Try to change the comment setting.
Expected result:
Ending up on http://ungpirat.6/admin/content/types with a message that says it successfully updated Page.
Result:
I end up on the same page as before (http://ungpirat.6/admin/content/node-type/page), with no setting changed.
Solutions:
For me, the only solution right now seems to be to disable Teaser block.
Comment:
Is this a result of hook_form_alter() or something thelike?
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | teaser_block.module.patch | 497 bytes | ztyx |
| #2 | form_alter.patch | 1.03 KB | ztyx |
Comments
Comment #1
ztyx commentedYes it is infact
teaser_block_form_alter(...)that alters the form onhttp://ungpirat.6/admin/content/node-type/%because it too has the form ID 'node_type_form'.I will try to roll out a patch pretty soon to fix this.
Comment #2
ztyx commentedThe problem was the
$form['#submit']attribute that was not correctly set. Attaching a patch that fix it.Comment #3
sun"Adding an extra field" is nice, but that comment does not provide any valuable information - please optimize.
Also, the additional submit function was added in front of the regular submit function before.
Comment #4
ztyx commentedSure. How is this?
Comment #5
sunThanks, committed.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.