Issue with DirectorySeparator in aimes-core (Bootstrap.php)

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
konsa054
Posts: 2
Joined: 13 Jan 2017, 12:31

Issue with DirectorySeparator in aimes-core (Bootstrap.php)

Post by konsa054 » 13 Jan 2017, 12:46

Hello,

There seems to be an issue with the DirectoryIterator in getManifests() method of the Bootstrap.php in the aimes-core.
As a result, directories are sorted randomly and in case there is an extension folder, it is not loaded correctly.
Could you take a look? There needs to be a way that directories are always returned in the same order and extensions are returned correctly. In my case I am overwriting templates in my extension.

Environment: Linux
PHP version: 5.6.21
Aimeos: aimeos/aimeos-laravel ~2016.10

Thanks

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Issue with DirectorySeparator in aimes-core (Bootstrap.p

Post by aimeos » 13 Jan 2017, 13:07

What's the result of the problem in your case? Are the core templates used instead of your own?
If so, could you add 'ai-client-html' to the 'depends' section of the manifest.php in your own extension?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

konsa054
Posts: 2
Joined: 13 Jan 2017, 12:31

Re: Issue with DirectorySeparator in aimes-core (Bootstrap.p

Post by konsa054 » 13 Jan 2017, 13:17

Hello,

Thank you !!! This resolved it.
You are quick as hell :D

Regards,
Konstantin

Post Reply