Page 1 of 1

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

Posted: 13 Jan 2017, 12:46
by konsa054
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

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

Posted: 13 Jan 2017, 13:07
by aimeos
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?

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

Posted: 13 Jan 2017, 13:17
by konsa054
Hello,

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

Regards,
Konstantin