git bissect tells me that it happened at
69eaefc45930bc1247596dd458472c0641fceb10 (
https://github.com/Dolibarr/dolibarr/commit/69eaefc45930bc1247596dd458472c0641fceb10
)

2015-07-24 12:49 GMT+02:00 Marcos García <[email protected]>:

> It is weird that the function was removed without deprecating it first,
> because Dolibarr core still uses functions deprecated some versions ago...
> Even language keys that are not used in Dolibarr are not allowed to be
> removed for not breaking compatibility with external modules... (or that
> was the position one/two years ago).
>
> Regards,
>
>
> *Marcos García*
>
> [email protected]
>
>
> 2015-07-24 11:43 GMT+02:00 Christophe Battarel <
> [email protected]>:
>
>>  sorry for the versiondolibarrarray() stuff, i had not included the
>> admin.lib.php (but it is working on 3.6.2 without the include !).
>>
>> Le 24/07/2015 11:36, Doursenaud, Raphaël a écrit :
>>
>> Hum, versiondolibarrarray() is available in 3.7 in
>> core/lib/admin.lib.php. Exactly like in other versions.
>>
>> You have another issue.
>>
>>  I agree on the fact that core methods should not be renamed without a
>> deprecation warning first!
>> For something like one ore two versions.
>>
>> 2015-07-24 11:21 GMT+02:00 Christophe Battarel <
>> [email protected]>:
>>
>>> Hello, i'm trying my modules for 3.6 and 3.7 versions of dolibarr.
>>>
>>> For 3.6 i see that the verifyNumRef() function has been replaced by the
>>> static isExistingObject()... once again, the old function is not marked as
>>> deprecated but simply removed !!! Wa are talking about the commonobject
>>> class !
>>>
>>> Ok, i update my script and test the dolibarr version with
>>> versiondolibarrarray() and versioncompare()...
>>>
>>> Then i test my updated script on 3.7 and... Call to undefined function
>>> versiondolibarrarray() !!!
>>>
>>> Non mais LOL comme dirait une amie !!!
>>>
>>> How do you manage to have a script that test dolibarr version ??? Do you
>>> have another way that is compatible with all dolibarr version ?
>>>
>>> Angry Chris :-(
>>>
>>> _______________________________________________
>>> Dolibarr-dev mailing list
>>> [email protected]
>>> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
>>>
>>
>>
>>
>>  --
>>  *Raphaël Doursenaud*
>> Directeur technique (CTO)
>> Expert certifié en déploiement Google Apps
>> <https://gpcsolutions.fr/raphael-doursenaud-google-apps-certified-deployment-specialist>
>> +33 (0)5 35 53 97 13 - +33 (0)6 68 48 20 10
>>
>>  <http://gpcsolutions.fr>
>> http://gpcsolutions.fr
>>  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
>>
>> <http://wiki.dolibarr.org/index.php/Dolibarr_suppliers_France#GPC.solutions>
>>
>>
>> _______________________________________________
>> Dolibarr-dev mailing 
>> [email protected]https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
>>
>>
>>
>> _______________________________________________
>> Dolibarr-dev mailing list
>> [email protected]
>> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
>>
>>
>
> _______________________________________________
> Dolibarr-dev mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
>
>


-- 
*Raphaël Doursenaud*
Directeur technique (CTO)
Expert certifié en déploiement Google Apps
<https://gpcsolutions.fr/raphael-doursenaud-google-apps-certified-deployment-specialist>
+33 (0)5 35 53 97 13 - +33 (0)6 68 48 20 10

-- 
 <http://gpcsolutions.fr>
http://gpcsolutions.fr
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
<http://wiki.dolibarr.org/index.php/Dolibarr_suppliers_France#GPC.solutions>
_______________________________________________
Dolibarr-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à