Error message displayed when adding or removing collections in Promotions
ID: 1095440
Backlog
Published on 9/10/2024
•
Last update on 9/10/2024
Summary
When adding or removing collections in promotions, an error message is displayed in the UI: "Erro - Can’t create search criteria!" Despite the error message, the changes are saved successfully, and a "Promoção salva com sucesso!" message appears beneath the error. The problem is observed specifically when using the "Different from:" selector with more than one collection listed. Notably, the error does not occur when saving a promotion with the "Different from:" selector and only one collection listed.
Simulation
- Access the promotions management area in the admin interface.
- Create or edit a promotion.
- Use the "Different from:" selector to add more than one collection.
- Attempt to save the promotion. Expected Behavior: The promotion should save without error messages. Observed Behavior: An error message "Erro - Can’t create search criteria!" appears, but the promotion is saved successfully.
- Test the scenario with only one collection listed under the "Different from:" selector. Observed Behavior: The error does not occur, and the promotion saves without issues.
Workaround
The promotion is actually saved correctly despite the error message. Users can ignore the error message and validate that the changes were applied by reopening the promotion settings.