Hi all!
I tried to install my custom module in new way in OXID 6.2.0:
./vendor/bin/oe-console oe:module:install source/modules/{vendor}/{deliverydays}
but OXID throws me:
In MetaDataSchemaValidator.php line 96:
The metadata key “constrains” is not supported in metadata version “2.1”.
Of course I use in module ‘constrains’ key in metadata file ‘settings’ section for ‘select’ setting:
’settings’ => array(
array(‘group’ => ‘groupname’,
’name’ => ‘setting_name’,
’type’ => ‘select’,
’value’ => ‘0’,
’constrains’ => ‘option1|option2|option3’,
’position’ => 2,
),
)
Docs says that it should work in metadata 2.1:
https://docs.oxid-esales.com/developer/en/6.1/modules/skeleton/metadataphp/version21.html#settings
Any suggestions?