[Dolibarr-dev] Warnings in Luracast/Restler (Dolibarr 4.0.1)

2016-10-12 Par sujet Nicolas Dorigny - datætic
Hello, I upgraded from 3.9.3 to 4.0.1 and I had warnings in the webservice Rest explorer (/htdocs/api/admin/explorer.php) and in every webservice call: Warning: substr() expects parameter 1 to be string, array given in htdocs/includes/restler/framework/Luracast/Re This is a known issue in L

Re: [Dolibarr-dev] Warnings in Luracast/Restler (Dolibarr 4.0.1)

2016-10-12 Par sujet Doursenaud , Raphaël
Hi Nicolas, External libraries are pinned down in releases. I don't think Laurent will be wanting to update it in 4.x. The next window for updating is 5.x (currently develop) and it seems already fixed. See https://github.com/Dolibarr/dolibarr/issues/4912 If you use the repository, you should be

Re: [Dolibarr-dev] Warnings in Luracast/Restler (Dolibarr 4.0.1)

2016-10-12 Par sujet Nicolas Dorigny - datætic
I dont use the repository, I upgrade with the sources distributed in ZIP. This means the REST webservices will be broken till 5.0 ? -- dataetic *Nicolas Dorigny* Consultant - Développeur web freelance n...@dataetic.fr | 05 61 87 01 89 | 06 65 68 44 64 Le 12/10/201

Re: [Dolibarr-dev] Warnings in Luracast/Restler (Dolibarr 4.0.1)

2016-10-12 Par sujet Doursenaud , Raphaël
The sane think to do would be to backport that fix, yes. But other regressions may creep in since, AFAIK, there's no test coverage. Unfortunately, only Laurent (@eldy) knows… Writing these tests would be a great help ;) *Raphaël Doursenaud* Directeur technique (CTO) Expert certifié en déploiement

Re: [Dolibarr-dev] Warnings in Luracast/Restler (Dolibarr 4.0.1)

2016-10-12 Par sujet Nicolas Dorigny - datætic
I created a local dev environment, and cloned dolibarr-developp. The warnings are still here. In composer.json, restler version is on 3.0.0-RC6, but on the project page it is on RC5 : https://github.com/Luracast/Restler So I ran `composer require restler/framework:3.0.0-RC5` and after compose