Title says it all,patch attached

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

SeanA’s picture

This 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.

ParisLiakos’s picture

hmm,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

SeanA’s picture

OK, 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.

ParisLiakos’s picture

Status: Needs review » Reviewed & tested by the community

yes..much better

SeanA’s picture

Anonymous’s picture

This patch worked for me, thanks.

DrupalDummie’s picture

That fixed it!!! The patch in #3

Dan Z’s picture

DanZ’s picture

Status: Reviewed & tested by the community » Fixed

Committed #3. Thanks!

Status: Fixed » Closed (fixed)

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