The 'presave' $op in cck_time_field() gets triggered by draggableviews, views bulk operations, and probably several other modules. The array keys 'hour' and 'minute' do not exist in $items[0], which eventually resuts in $items[0]['value'] getting set to ':' without hour and minutes.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | cck_time_value-lost-d7_858154_6.patch | 568 bytes | Bußmeyer |
| #2 | cck_time_858154.patch | 695 bytes | cyberwolf |
| #1 | cck_time_858154.patch | 2.36 KB | cyberwolf |
Comments
Comment #1
cyberwolf commentedAttaching a patch here, it temporarily solves the issue I encounter but I doubt it's the right solution.
Comment #2
cyberwolf commentedAttaching another patch, previous one contained files from my IDE, sorry for that.
Comment #3
bacon commentedA little late but thanks for the patch. It helped fix my problem.
Comment #4
gmaximus commentedThanks from me too... I notice the issue with bulk operations and also Workflow extensions.
Much appreciated,
Guy
Comment #5
marcus178 commentedSame was happening for me in the 7.x version when updating another field using rules. This patch fixed it for me.
Comment #6
Bußmeyer commentedPatch for 7.x