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
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Picture 7.png | 20.02 KB | 1zero |
| #3 | Picture 6.png | 18.62 KB | 1zero |
| #2 | Picture 4_0.png | 16.45 KB | 1zero |
Comments
Comment #1
matt westgate commentedCannot reproduce this problem.
Comment #2
1zero commentedHi,
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.
Comment #3
1zero commentedHere's the correct screenshot. Sorry.
Comment #4
1zero commentedHere's the history screenshot.
Comment #5
peart75 commentedi am having this same issue. let me know if you would like to see the page we are testing this from.
thanks.
drew
Comment #6
peart75 commentedah 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
Comment #7
rnsi commentedSo how do you assign a starting bid price?
Comment #8
jeff77 commentedHave 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
Comment #9
sime4.7 code is fixed. So technically this is a 4.6 issue now.
Comment #10
brashquido commentedDoes that mean this fix will be applied to 4.6?
Comment #11
simeNo, 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"
Comment #12
quiquee commentedI 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']))));
}
Comment #13
simeThanks @enriquemg, committed to 4.6 with credit.
Comment #14
(not verified) commented