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.

Comments

cyberwolf’s picture

StatusFileSize
new2.36 KB

Attaching a patch here, it temporarily solves the issue I encounter but I doubt it's the right solution.

cyberwolf’s picture

StatusFileSize
new695 bytes

Attaching another patch, previous one contained files from my IDE, sorry for that.

bacon’s picture

A little late but thanks for the patch. It helped fix my problem.

gmaximus’s picture

Thanks from me too... I notice the issue with bulk operations and also Workflow extensions.

Much appreciated,

Guy

marcus178’s picture

Same was happening for me in the 7.x version when updating another field using rules. This patch fixed it for me.

Bußmeyer’s picture

Status: Active » Needs review
StatusFileSize
new568 bytes

Patch for 7.x