Page 1 of 1

Direct Buy doesnt work while a bid is in

Posted: Fri Sep 22, 2023 12:55 pm
by Hansa
According to stevens yesterday.

If you have a bid on a rider and you want to direct buy the same rider you get error: Only one affected row is allowed here.

if you delete the bid first then direct buy, it works.

Re: Direct Buy doesnt work while a bid is in

Posted: Fri Sep 22, 2023 4:22 pm
by Alkworld
Hansa wrote:
Fri Sep 22, 2023 12:55 pm
According to stevens yesterday.

If you have a bid on a rider and you want to direct buy the same rider you get error: Only one affected row is allowed here.

if you delete the bid first then direct buy, it works.
OK, will check it. I didn't test this case.

Re: Direct Buy doesnt work while a bid is in

Posted: Fri Sep 22, 2023 4:30 pm
by Alkworld
I couldn't reproduce the error in my development environment. Which rider was it? Maybe I can find something in the log files.

Re: Direct Buy doesnt work while a bid is in

Posted: Fri Sep 22, 2023 4:43 pm
by Alkworld
Hansa wrote:
Fri Sep 22, 2023 12:55 pm
According to stevens yesterday.

If you have a bid on a rider and you want to direct buy the same rider you get error: Only one affected row is allowed here.

if you delete the bid first then direct buy, it works.
I fixed a bug there, but it may have been a little different. Any "Buy Now" with multiple other bid of other teams should have failed, maybe stevens still had the highest bid that was just reached at that time?
Anyway, keep an eye on it, but it should work now.

Re: Direct Buy doesnt work while a bid is in

Posted: Fri Sep 22, 2023 5:48 pm
by Hansa
Alkworld wrote:
Fri Sep 22, 2023 4:43 pm
Hansa wrote:
Fri Sep 22, 2023 12:55 pm
According to stevens yesterday.

If you have a bid on a rider and you want to direct buy the same rider you get error: Only one affected row is allowed here.

if you delete the bid first then direct buy, it works.
I fixed a bug there, but it may have been a little different. Any "Buy Now" with multiple other bid of other teams should have failed, maybe stevens still had the highest bid that was just reached at that time?
Anyway, keep an eye on it, but it should work now.
i cant really help you because i cant test it on how to reproduce that bug exactly^^