inventory
inventory copied to clipboard
2.4.6 - Source can not be updated
Preconditions (*)
- Create a source in Magento
- I'm using Magento 2.4.6
Steps to reproduce (*)
- Create a source in Magento
- Edit the source and update the latitude
Expected result (*)
- Source should be updated properly
Actual result (*)
- An error is shown to the user : "Could not save source"
-
- User is redirected to "New source" instead
This error is introduced by the following commit : https://github.com/magento/inventory/commit/e5ae5c8919c8aa4a1b37f70fa4eec4bb7dd575bd#diff-886b3e6fd96232869023d79660ff2fe269217fbc20f2f5d98ccfa2b242cb2fccR66
I think that the check of unicity should be done at the SQL level and not Magento one.
This is currently blocking any updates of any sources
Hi @MeCapron. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel.