dolibarr-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Nicolas Dorigny - datætic
Subject: Re: [Dolibarr-dev] Warnings in Luracast/Restler (Dolibarr 4.0.1)
Date: Wed, 12 Oct 2016 14:58:45 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

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
address@hidden | 05 61 87 01 89 | 06 65 68 44 64

 

Le 12/10/2016 à 14:50, Doursenaud, Raphaël a écrit :
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 able to update your version locally using composer : composer require --no-dev restler/framework:3.0.0-RC6
Just create a branch before ;)

Regards,

Raphaël Doursenaud
Directeur technique (CTO)
+33 (0)5 35 53 97 13 - +33 (0)6 68 48 20 10

2016-10-12 14:30 GMT+02:00 Nicolas Dorigny - datætic <address@hidden>:
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 Luracast/Restler that has been corrected:
https://github.com/Luracast/Restler/issues/540

I upgraded locally to the latest Luracast/Restler and the warnings disappeared.

The library should be updated in Dolibarr sources.

--
dataetic

Nicolas Dorigny
Consultant - Développeur web freelance
address@hidden | 05 61 87 01 89 | 06 65 68 44 64

 


_______________________________________________
Dolibarr-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev



Technopole Hélioparc
2 avenue du Président Pierre Angot
64053 PAU CEDEX 9
SARL GPC.solutions au capital de 7 500 € - R.C.S. PAU 528 995 921


_______________________________________________
Dolibarr-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev


reply via email to

[Prev in Thread] Current Thread [Next in Thread]