You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When require JS is running its generateMainConfig function (Oro\Bundle\RequireJSBundle\Provider\Config.php:83) the PimEnrich Bundle and the OroSegmentationTree Bundle are both using the same parameter key, which results in an exception being thrown due to an array being handed into the substr function.
Hi!
This is indeed the case when the keys used are identical, that doesn't work. The real reason for this is completely different though, the OroSegmentationTreeBundle has been removed so we moved this to the Pim and preserved the same key. You'll need to run composer.phar update - at that point the OroSegmentationTreeBundle shouldn't be there anymore.
It seems I used the community-standard version of the composer.json instead of the dev version. Though the composer update didn't remove the bundle at all.
I guess there where some incompability issues with the parameter files, thanks for your help.
When require JS is running its generateMainConfig function (Oro\Bundle\RequireJSBundle\Provider\Config.php:83) the PimEnrich Bundle and the OroSegmentationTree Bundle are both using the same parameter key, which results in an exception being thrown due to an array being handed into the substr function.
Pim/Bundle/EnrichBundle/Resources/config/requirejs.yml
jstree/jquery.jstree.tree_selector: pimenrich/js/lib/jstree/jquery.jstree.tree_selector
Oro/Bundle/SegmentationTreeBundle/Resources/config/requirejs.yml
'jstree/jquery.jstree.tree_selector': 'bundles/orosegmentationtree/lib/jstree/jquery.jstree.tree_selector.js'
I'm not sure if it is the right fix would be to remove the config path from the EnrichBundle or if the dependencies don't allow us to do that.
I'm using the latest dev-master version
The text was updated successfully, but these errors were encountered: