When trying to save invalid values the screen loads endlessly
Summary
Validation has been introduced in attributes so that the draft cannot be saved if the entered values are incorrect. I have now noticed that when I want to save invalid values, the page loads endlessly.
Steps to reproduce
- Go to https://test.pcmt.villagereach.org/
- Login as admin/Admin123
- Go to Product and edit as a draft any product.
- Change a value in some attribute to invalid (e.g. number for text).
- Click the Save Draft button.
What is the current bug behavior?
- The screen does not stop loading
What is the expected correct behavior?
- The screen shouldn't load indefinitely.
- There should be information for the user that the changes cannot be saved.
NOTE: After refreshing the page stops loading
Relevant logs and/or screenshots
Edited by Joanna