protected function saveField($path, $property, $scope, $scopeId, $value = null)
    {
        if ($value === null) {
            if (isset($this->configMapping[$property])) {
                $value = $this->getPropertyValue($property);
            } else {
                $this->logger->error('The specified property "' . $property . '" is not in the DI list');
            }
        }

        if ($value !== null) {
            $this->logger->debug(
                '    Saving config field \'' . $property . '\' with value \'' . $value . '\' to scope {\''
                . $scope . '\':\'' . $scopeId . '\'}'
            );
            $value = $this->prepareForDatabase($property, $value);
            $this->configResource->saveConfig($path, $value, $scope, $scopeId);
        }
    }