We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63434d2 commit c7b5a73Copy full SHA for c7b5a73
app/code/Magento/Config/Model/Config/PathValidator.php
@@ -40,6 +40,11 @@ public function __construct(Structure $structure)
40
*/
41
public function validate($path)
42
{
43
+ $element = $this->structure->getElementByConfigPath($path);
44
+ if ($element->getConfigPath()) {
45
+ $path = $element->getConfigPath();
46
+ }
47
+
48
$allPaths = $this->structure->getFieldPaths();
49
50
if (!array_key_exists($path, $allPaths)) {
0 commit comments