Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you try to enable a workflow from workflow.module to e.g. binary poll content type things will break.
After creating a poll - switching over to the "workflow" tab beside polls' "edit" it happens:
As soon as you change the workflow state and hit save - all poll options are getting deleted with a message for each.
No idey why yet - but it happens. We've removed workflow scheme for polls atm. Will inspect the problem as soon as possible - which might take a while.
Comment | File | Size | Author |
---|---|---|---|
#1 | advpoll-754988-1.patch | 4.32 KB | miro_dietiker |
Comments
Comment #1
miro_dietikerAttached patch removes everything like _POST from nodeapi part and moves it towards formapi (_submit).
It still is not correctly implemented using ahah form_state. But the nodeapi now works clean for things like resave.
Therefore workflows won't break things again now.
Will someone find time to review this?
Comment #2
miro_dietikerNote this related issue
#468394: Various operations on advanced polls delete choices
I didn't find it previously which led to adding this issue. Still continuing to work here for the fix.
Comment #3
miro_dietikercommitted to rev 1.21.2.88.2.24
Comment #4
miro_dietikerhmm... there must be something that went wrong while testing...
after commit to -dev now all choices go away on node save... I'll work on this tomorrow.
so please don't update the module till we have a clean solution.
Comment #5
miro_dietikerFixed again and tested in detail this time leading to 1.21.2.88.2.29.
This works now for binary and ranking poll.