Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] API script...
 
Notifications
Clear all

[SOLVED] API script modified after the upgrade

2 Posts
2 Users
0 Reactions
2,520 Views
(@sogeti)
Posts: 135
Active Member
Topic starter
 
[#5478]

Hello,

We have just upgrade ProjeQtOr.
We have switched from 7.0.8 to 7.1.5.
We are using an API and have faced a problem using it after the upgrade.
We then realized that the api script of the new version is slightly different.
Here is the difference :
Old version :
--------------------------------------------------------------
if (count($split>1)) {
--------------------------------------------------------------
New version :
if (count($split)>1) {
---------------------------------------------------------------
We modified the script and are now able to use the api.

My question is to know if this will have an impact on the other upgrade we may need to realize ?
Also, is it normal to have this difference ?

Thank you in advance.


 
Posted : 10 Oct 2018 17H37
(@babynus)
Posts: 14952
Member Admin
 

It was a fix.

if (count($split>1)) {

is always right : the closing parenthesis is not at the good place

If your calls fail using correct syntax, it means the way you call the API is wrong.


 
Posted : 11 Oct 2018 18H26
Share:

Scroll to Top