Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Title says it all,patch attached
Comment | File | Size | Author |
---|---|---|---|
#3 | use-vid-instead-of-nid-1366378.patch | 789 bytes | SeanA |
values_wont_show_in_node_edit.patch | 794 bytes | ParisLiakos |
Comments
Comment #1
SeanA CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: ParisLiakos commentedyes..much better
Comment #5
SeanA CreditAttribution: SeanA commentedLooks like a related issue here: #1420394: Role Price Not Showing Up In Cart or Checkout
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commentedThis patch worked for me, thanks.
Comment #7
DrupalDummie CreditAttribution: DrupalDummie commentedThat fixed it!!! The patch in #3
Comment #8
Dan Z CreditAttribution: Dan Z commented#1831360: Notice: Undefined property: stdClass::$sell_price when creating new product version closed as duplicate.
Comment #9
DanZ CreditAttribution: DanZ commentedCommitted #3. Thanks!