#002 Center Item Disappears When Adjusting Withdrawal Amount in Variant Transaction Menu #2

Closed
opened 2026-08-08 17:46:21 -05:00 by BigPappa · 1 comment
Owner

🐛 Problem

When withdrawing an item from a Variants Transaction Menu, clicking the red wool withdrawal button correctly updates the displayed withdrawal amount, but the center item disappears from the menu.

Although the item is no longer displayed, clicking the now-empty center slot still processes the withdrawal and gives the player the selected amount.

🔎 Observed Behavior

  • Withdrawal amount updates correctly.
  • Center item disappears after changing the withdrawal amount.
  • The empty center slot remains functional.
  • Clicking the empty slot still completes the withdrawal.
  • The issue appears to be limited to Variant Transaction Menus.

🎯 Expected Behavior

The center item should remain visible after changing the withdrawal amount.

The displayed item and the withdrawal amount should remain synchronized throughout the transaction.


🧪 Investigation Checklist

❌ Invalid = Unable to verify, reproduce, or the item does not apply to this issue.

  • ❌ Verify bug in Damaged Variants Transaction Menu
  • Verify bug in Enchanted Variants Transaction Menu
  • ❌ Verify bug in Partially Filled Variants Transaction Menu
  • Verify lack of bug in Main Item Transaction Menu

🔧 Resolution Checklist

  • ❌ Find and fix bug in Damaged Variants Transaction Menu
  • Find and fix bug in Enchanted Variants Transaction Menu
  • ❌ Find and fix bug in Partially Filled Variants Transaction Menu
  • Implement new version and release
    • Previous Version: 1.0.0
    • New Version: 1.1.0

✅ Status

Fixed and released in 1.1.0.

## 🐛 Problem When withdrawing an item from a **Variants Transaction Menu**, clicking the red wool withdrawal button correctly updates the displayed withdrawal amount, but the **center item disappears from the menu**. Although the item is no longer displayed, clicking the now-empty center slot still processes the withdrawal and gives the player the selected amount. ### 🔎 Observed Behavior - Withdrawal amount updates correctly. - Center item disappears after changing the withdrawal amount. - The empty center slot remains functional. - Clicking the empty slot still completes the withdrawal. - The issue appears to be limited to Variant Transaction Menus. ### 🎯 Expected Behavior The center item should remain visible after changing the withdrawal amount. The displayed item and the withdrawal amount should remain synchronized throughout the transaction. --- ## 🧪 Investigation Checklist > ❌ **Invalid** = Unable to verify, reproduce, or the item does not apply to this issue. - [x] ❌ Verify bug in **Damaged Variants Transaction Menu** - [x] Verify bug in **Enchanted Variants Transaction Menu** - [x] ❌ Verify bug in **Partially Filled Variants Transaction Menu** - [x] Verify lack of bug in **Main Item Transaction Menu** --- ## 🔧 Resolution Checklist - [x] ❌ Find and fix bug in **Damaged Variants Transaction Menu** - [x] Find and fix bug in **Enchanted Variants Transaction Menu** - [x] ❌ Find and fix bug in **Partially Filled Variants Transaction Menu** - [x] Implement new version and release - **Previous Version:** `1.0.0` - **New Version:** `1.1.0` --- ## ✅ Status **Fixed and released in `1.1.0`.**
BigPappa changed title from Item disappears from transaction menu when select all that warehouse has. to Center item disappears in variant menu when withdrawing. 2026-08-08 18:54:12 -05:00
BigPappa changed title from Center item disappears in variant menu when withdrawing. to #001 Center item disappears in variant menu when withdrawing. 2026-08-09 05:27:33 -05:00
Author
Owner

Resolution

The issue with the Enchanted Variants Transaction Menu has been identified and fixed.

What Was Happening

When withdrawing an enchanted variant, clicking the red wool withdrawal button correctly calculated and stored the requested withdrawal amount.

However, after changing the amount, the transaction menu was being reopened using the Warehouse Item ID instead of the Enchanted Variant ID. The menu was also being reopened with an amount of 0.

As a result, the transaction menu could no longer correctly retrieve the enchanted variant that was being displayed.

The center item would therefore disappear from the menu even though the transaction session still contained the correct withdrawal amount.

Clicking the empty center slot could still complete the withdrawal because the underlying transaction session remained valid.

Root Cause

The enchanted variant transaction listener was reopening the menu with incorrect parameters:

  • Incorrect: Warehouse Item ID
  • Incorrect: Amount 0
  • Required: Enchanted Variant ID
  • Required: Current transaction amount

The damaged variant transaction listener was already handling these values correctly, which is why the same behavior was not present there.

Fix

The enchanted variant transaction menu is now reopened using:

  • The correct Enchanted Variant ID
  • The current withdrawal amount

This keeps the displayed variant and transaction state synchronized whenever the withdrawal amount is changed.

Verification

The following paths were tested:

  • ❌ Damaged Variants Transaction Menu — invalid for this issue; unable to reproduce the reported behavior
  • ✅ Enchanted Variants Transaction Menu — bug reproduced and fixed
  • ❌ Partially Filled Variants Transaction Menu — invalid for this issue
  • ✅ Main Item Transaction Menu — confirmed not affected

The fix was limited to the affected enchanted variant transaction handling. No changes were made to the damaged variant or primary transaction systems.

Status: Fixed and verified.

## Resolution The issue with the **Enchanted Variants Transaction Menu** has been identified and fixed. ### What Was Happening When withdrawing an enchanted variant, clicking the red wool withdrawal button correctly calculated and stored the requested withdrawal amount. However, after changing the amount, the transaction menu was being reopened using the **Warehouse Item ID** instead of the **Enchanted Variant ID**. The menu was also being reopened with an amount of `0`. As a result, the transaction menu could no longer correctly retrieve the enchanted variant that was being displayed. The center item would therefore disappear from the menu even though the transaction session still contained the correct withdrawal amount. Clicking the empty center slot could still complete the withdrawal because the underlying transaction session remained valid. ### Root Cause The enchanted variant transaction listener was reopening the menu with incorrect parameters: - **Incorrect:** Warehouse Item ID - **Incorrect:** Amount `0` - **Required:** Enchanted Variant ID - **Required:** Current transaction amount The damaged variant transaction listener was already handling these values correctly, which is why the same behavior was not present there. ### Fix The enchanted variant transaction menu is now reopened using: - The correct **Enchanted Variant ID** - The current **withdrawal amount** This keeps the displayed variant and transaction state synchronized whenever the withdrawal amount is changed. ### Verification The following paths were tested: - ❌ Damaged Variants Transaction Menu — invalid for this issue; unable to reproduce the reported behavior - ✅ Enchanted Variants Transaction Menu — bug reproduced and fixed - ❌ Partially Filled Variants Transaction Menu — invalid for this issue - ✅ Main Item Transaction Menu — confirmed not affected The fix was limited to the affected enchanted variant transaction handling. No changes were made to the damaged variant or primary transaction systems. **Status: Fixed and verified.**
BigPappa changed title from #001 Center item disappears in variant menu when withdrawing. to #001 — Center Item Disappears When Adjusting Withdrawal Amount in Variant Transaction Menu 2026-08-09 05:44:08 -05:00
BigPappa added the
priority
high 🔴
status
ready-for-release ✅
type
bug 🐞
labels 2026-08-12 13:21:09 -05:00
BigPappa changed title from #001 — Center Item Disappears When Adjusting Withdrawal Amount in Variant Transaction Menu to #002 Center Item Disappears When Adjusting Withdrawal Amount in Variant Transaction Menu 2026-08-12 21:37:01 -05:00
Sign in to join this conversation.