When testing bidding on items, current bid remains the same and does not update from originally set starting bid prices.

You have to view history to see last bid when I would think that the CURRENT BID should be a reflection of the SUM of starting bid and PLACED BID. If you try to initiate more bids, it does not go up incrementally.

Lisa

CommentFileSizeAuthor
#4 Picture 7.png20.02 KB1zero
#3 Picture 6.png18.62 KB1zero
#2 Picture 4_0.png16.45 KB1zero

Comments

matt westgate’s picture

Cannot reproduce this problem.

1zero’s picture

StatusFileSize
new16.45 KB

Hi,

I get the same problem it seems. The current bid line doesn't get updated and keep showing the original price. When a higher bid is accepted by the system, it doesn't seem to update the current bid value. Also, because the highest bidder is never recorded, every bid greater than the original price is accepted.

1zero’s picture

StatusFileSize
new18.62 KB

Here's the correct screenshot. Sorry.

1zero’s picture

StatusFileSize
new20.02 KB

Here's the history screenshot.

peart75’s picture

Status: Closed (fixed) » Active

i am having this same issue. let me know if you would like to see the page we are testing this from.

thanks.
drew

peart75’s picture

ah ha! i messed around a little bit and i see how to work around this. originally the price was set to $90. i changed it to $0 and then now the highest bid shows up each time.

this is a bug IMHO.

thanks again.
drew

rnsi’s picture

So how do you assign a starting bid price?

jeff77’s picture

Have same problem. If set starting price to zero then new bids update the current price. If you set a starting price then every new bid does not alter the current price.

How did you manage to fix this?

thanks
j

sime’s picture

Version: » 4.6.x-1.x-dev

4.7 code is fixed. So technically this is a 4.6 issue now.

brashquido’s picture

Does that mean this fix will be applied to 4.6?

sime’s picture

No, I've just patched cvs version ready for 4.7.

There is a separate code version for 4.6 and this issue will remain until I or someone else get a chance to review/fix it. So I've left the ticket open and reassigned to "4.6"

quiquee’s picture

I have just added this line aftger line 314 to the auction.module and it seems to work well ... not thoroughly tested though

db_query('UPDATE {ec_product} SET price = %d WHERE nid=%d',$edit['bid'],$edit['nid'] ) ;

this is the diff ready to be patched:

*** 312,317 ****
--- 312,318 ----
function auction_bid_save($edit) {
global $user;
db_query('INSERT INTO {ec_auction_bid} (nid, uid, bid, created) VALUES (%d, %d, %f, %d)', $edit['nid'], $user->uid, $edit['bid'], time());
+ db_query('UPDATE {ec_product} SET price = %d WHERE nid=%d',$edit['bid'],$edit['nid'] ) ;
drupal_set_message(t('Your bid of %bid-amount has been placed.', array('%bid-amount' => payment_format($edit['bid']))));
}

sime’s picture

Status: Active » Fixed

Thanks @enriquemg, committed to 4.6 with credit.

Anonymous’s picture

Status: Fixed » Closed (fixed)