Closed (fixed)
Project:
Ubercart Price Per Role
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2011 at 17:40 UTC
Updated:
4 Jan 2013 at 21:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
SeanA commentedThis doesn't seem to be an issue with the latest dev release. Role price fields show up on the node edit form as expected. I can't reproduce this.
Comment #2
ParisLiakos commentedhmm,actually the fields where showing up just fine..the values are the problem.assign a value to a role,save the node..are the values displaying when editing the node?
i had this problem with the same release since the last commit was in september
Comment #3
SeanA commentedOK, yes, this is a bug. Once I added a new revision an error appeared: "Notice: Undefined property: stdClass::$sell_price in uc_price_per_role_node_load() (line 297" and the role price was indeed missing. The patch by rootatwc fixes the problem.
But... do we still need to retrieve nid from the database? It's not being used so using just vid works.
Comment #4
ParisLiakos commentedyes..much better
Comment #5
SeanA commentedLooks like a related issue here: #1420394: Role Price Not Showing Up In Cart or Checkout
Comment #6
Anonymous (not verified) commentedThis patch worked for me, thanks.
Comment #7
DrupalDummie commentedThat fixed it!!! The patch in #3
Comment #8
Dan Z commented#1831360: Notice: Undefined property: stdClass::$sell_price when creating new product version closed as duplicate.
Comment #9
DanZ commentedCommitted #3. Thanks!