Needs review
Project:
Kaltura
Version:
6.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2011 at 21:22 UTC
Updated:
15 Jul 2011 at 10:58 UTC
Jump to comment: Most recent file
How to reproduce the Bug:
Add a kaltura cck Field to a Custom content Type. Add a Video and Save the Node. Edit the Node and delete the Video. Save again.
The cck Field should Output NULL but it does Collect actually "," (commata)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | kaltura-1030348-prevent_empty_cck_saving_as_comma.patch | 1.37 KB | xurizaemon |
Comments
Comment #1
patrickroma commentedComment #2
patrickroma commentedRelated Bug: #912648: Adding an entry directly to a CCK field results in an entry ID with a comma at the end
it seems that the "," is created already at Node Save the First Time?
Edit: you have to Upload a Video through the cck Field, Not Select One already existing. There it Works and returns NULL As supposed.
Comment #3
xurizaemonThis fixes it in hook_nodeapi's validate phase.