If the last localization for a region is set to empty or deleted, delete the localization from the database if it exists. This is to solve an issue with PHP setting an empty value to an empty array (instead of empty object) which causes issues on the frontend with changeAware.
If the last localization for a region is set to empty or deleted, delete the localization from the database if it exists. This is to solve an issue with PHP setting an empty value to an empty array (instead of empty object) which causes issues on the frontend with changeAware.

Fix for the issue where if the last localization for a region is set to empty, a localization for that region is unable to be set again.

spira/api-core