Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Magento2 importing values for non existent stores results in magento crash #23

Open
robin-homberg opened this issue Aug 8, 2019 · 0 comments

Comments

@robin-homberg
Copy link

If you make an entry into the Magento2 core_config_data table for a store ID which is not present in the Magento installation, Magento will throw an Error on each page in frontend and adminhtml and also for most of the bin/magento commands:
The store that was requested wasn't found. Verify the store and try again.

Due to that not beeing really a bug in magento, because you should not provide any config data for stores which do not exist, it should may be implemented here to provide the security of page availability, even if wrong config data is provided in the config files.

This is not really a bug, but would be worth an enhancement i guess. So mageconfigsync wont break magento if you import wrong config data.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant