Search the database
Search forum topics
Search members
Search for trades
diablo2.io is supported by ads
diablo2.io is supported by ads
2 replies   1744 views
1

Phantom Platform Selection when editing trades

No data yet

Bug Report

2

Description

Device: Desktop
Browser: Chrome OS
OS: Windows 11 Steps to reproduce:
  • Select a platform in your profile, and save.
  • Select New Trade, and observe that the trade creation page has the same platform from your profile, automatically selected
  • Create the trade without selecting any additional platforms, and observe that the trade has the correct platform selected
  • Edit the trade - and before selecting any additional platforms, observe that the trade appears to have an additional platform highlighted.
  • Submit the edit, and observe that the additional platform that appeared selected was not, in fact, selected.
Expected behavior as a User:
No additional platforms should appear selected until they have been clicked, and any platforms that appear selected should be reflected on the trade

Actual behavior:
'Ghost' selections of platforms appear only in the edit trade page and are not reflected on the actual trade itself.

Anything else to add:
I have found a workaround for this bug - deselecting and then re-selecting Switch as a platform causes it to 'take' upon submission, and the trade is updated correctly.

If I had to guess, this is a cacheing issue: the edit page might be holding onto the data from the last time it was selected and using it for the display. However, upon submission, no changes are actually being made - it's just a display bug - so the trade isn't updated with the new platform. I'm guessing again, here, but by deselecting Switch as a platform, the flag for 'switch' is being set to false - which is a no-op, as it was already set to false - and then upon reselecting Switch as a platform, the flag is set to true.

I believe that this bug will not occur unless a user has also edited one of their previous trades to list it under an additional platform, though I didn't clear my cache to check as I'm... well, using it for other things at the moment.
Description by Illdaren
5

Can be used to make Runewords:

7
Device: Desktop
Browser: Chrome OS
OS: Windows 11 Steps to reproduce:
  • Select a platform in your profile, and save.
  • Select New Trade, and observe that the trade creation page has the same platform from your profile, automatically selected
  • Create the trade without selecting any additional platforms, and observe that the trade has the correct platform selected
  • Edit the trade - and before selecting any additional platforms, observe that the trade appears to have an additional platform highlighted.
  • Submit the edit, and observe that the additional platform that appeared selected was not, in fact, selected.
Expected behavior as a User:
No additional platforms should appear selected until they have been clicked, and any platforms that appear selected should be reflected on the trade

Actual behavior:
'Ghost' selections of platforms appear only in the edit trade page and are not reflected on the actual trade itself.

Anything else to add:
I have found a workaround for this bug - deselecting and then re-selecting Switch as a platform causes it to 'take' upon submission, and the trade is updated correctly.

If I had to guess, this is a cacheing issue: the edit page might be holding onto the data from the last time it was selected and using it for the display. However, upon submission, no changes are actually being made - it's just a display bug - so the trade isn't updated with the new platform. I'm guessing again, here, but by deselecting Switch as a platform, the flag for 'switch' is being set to false - which is a no-op, as it was already set to false - and then upon reselecting Switch as a platform, the flag is set to true.

I believe that this bug will not occur unless a user has also edited one of their previous trades to list it under an additional platform, though I didn't clear my cache to check as I'm... well, using it for other things at the moment.
Fixedby Teebling2 years agoGo to post
Thanks for this detailed report @Illdaren.

Fixed in 1.14.
7
User avatar

Teebling 6875Admin

Europe PC
Thanks for this detailed report @Illdaren.

Fixed in 1.14.
This post was marked as the fix.

7
OP
Thank you, @Teebling!
9

Advertisment

Hide ads
999

Greetings stranger!

You don't appear to be logged in...

99

Who is online

Users browsing Bug Reports: No registered users and 23 guests.

No matches
 

 

 

 

Value:
Hide ads forever by supporting the site with a donation.

Greetings adblocker...

Warriv asks that you consider disabling your adblocker when using diablo2.io

Ad revenue helps keep the servers going and supports me, the site's creator :)

A one-time donation hides all ads, forever:
Make a donation