[UI] Refix invalid key setting on adding a collection item#17723
[UI] Refix invalid key setting on adding a collection item#17723GSadee merged 2 commits intoSylius:2.0from
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
❗ Preview Environment delete from Bunnyshell failedCheck https://github.com/Sylius/Sylius/actions/runs/13718075396 for details. See: Environment Details Available commands:
|
The fix for collection items being substituted when removing an item from anywhere but the end of the collection and adding a new item has inadvertently caused a different bug to prop up, breaking the adding of multiple select product attributes due to their collection keys not being comparable.
Curiously, we have an UI test for this exact case, but it seems to just ignore the exception popup and continue with other steps; Updated to check the saved values so we can be sure of the outcome.