You are missing a function, I think. When saving a product I get :

PHP Fatal error: Call to undefined function codeless_discounts_field_content_is_empty()

which causes savinging products to fail which include the cck codeless_discount field. PHP5, drupal 6.10, Ubercart beta4. I added in a stub function for is_empty and things started working again.

Comments

chrisschaub’s picture

Ok, some more info. This bug occurs when you change the codeless cck field settings to allow more than one value, try unlimited. Maybe this shouldn't be allowed. It runs into this bug:

http://drupal.org/node/349548

ryangroe’s picture

I believe this function is necessary but the codeless discounts CCK field will probably define it as always returning FALSE for performance reasons. I'll look into it more and make the change.

ryangroe’s picture

I added the function. This change will be part of beta 5 to be released in a few hours.

ryangroe’s picture

Assigned: Unassigned » ryangroe
Status: Active » Needs review

Please try beta 5 to see if this problem has been fixed.

ezra-g’s picture

Status: Needs review » Fixed

This has been committed, so I'm marking it as fixed ;).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.