-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for development
Description
This is a clone of #5085 that was closed because of a deleted repository.
Preconditions
- Install Magento from
develop
branch
Steps to reproduce
- Add config field with type
image
. - Add default config value for that field.
- Save the config field without uploading a new file.
Expected result
- New record created in the database table
core_config_data
with default value.
Actual result
- New record created in the database table
core_config_data
with value NULL.
If you set a default value for a config field type image/file and you save it. It won't set the default value in the database. Instead it will save NULL and so overwrite the default config.
With this change the default value will be set as value.
Metadata
Metadata
Assignees
Labels
Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for development