Closed (fixed)
Project:
Commerce Product Bundle
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
16 Jun 2011 at 09:44 UTC
Updated:
3 Oct 2011 at 09:11 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
JGO commentedI tracked it down to this place in the code:
function commerce_product_bundle_configure_line_item() {
Comment #2
JGO commentedCommenting out both "weight" properties seems to fix the error ...
Comment #3
jaxon77 commentedJust had the same error when I enabled it.
Comment #4
kbalderson commentedsubscribing...
Comment #5
vthirteen commentedsame here
Comment #6
vthirteen commentedsame here
the following notice is subsequently printed on modules page
Notice: Undefined index: weight en field_info_max_weight() (line 799 of /[drupal-root]/modules/field/field.info.incComment #7
axel pressbutton commentedSubscribing
Comment #8
carn1x commentedTrying to install, using Commerce 7.x-1.0-rc2, I get the following error:
Trying to view any pages that output product fields provides the error:
"Fix" in #1 helps the module install without error, however the Fatal error on product pages after remains.
Comment #9
Babalu commentedsubscribing
Comment #10
ewyglend commentedsubscribing, same issue here
Comment #11
jawi commentedsame issue here.
Comment #12
fall_0ut commentedsubscribing
Comment #13
Anonymous (not verified) commentedSubscribing
Comment #14
olafkarsten commentedThis is actually a core issue http://drupal.org/node/1001624
But there is a workaround in explicit setting the weight value when create the field instance. The patch should solve this - I hope.
Comment #15
olafkarsten commentedsorry, patch in #14 misformatted, this patch should work now.
Comment #16
hunziker commentedIt is committed.