View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - API behavior changed in version 11.0.2 ? - ProjeQtOr
 
 

API behavior changed in version 11.0.2 ?

More
14 Dec 2023 12:35 - 14 Dec 2023 12:36 #1 by bgenolini
Hello,
I used so far the API request Project/all to get the status of the project. Until version 11.0.1, it worked fine. With 11.0.2, I dont get the status columns (status, "en cours", etc.).
I even check them for display in the app (making sure that the status is displayed), it does not change the behavior.
I log as admin in both cases.

Did I miss something?

Thanks in advance.

Best regards,
Bernard

Bernard
Last edit: 14 Dec 2023 12:36 by bgenolini.

Please Log in or Create an account to join the conversation.

More
15 Dec 2023 10:52 #2 by bgenolini
I have the same behavior with version 11.0.3

Bernard

Please Log in or Create an account to join the conversation.

More
16 Dec 2023 11:05 #3 by babynus
Hi,
There is no issue with the API, status is still returned.
 

What may happen is that you hid the status for the profile of the user used to connect to the API : if a field is not visibile through the interface for this user, it will not be visible through the API.

Babynus
Administrator of ProjeQtOr web site
Attachments:

Please Log in or Create an account to join the conversation.

More
18 Dec 2023 13:15 #4 by bgenolini
The field is visible for the user in the interface but not in the API. I log as admin.
I have also checked in the screen customization that all user type have access to the status.
And indeed, I had not this behavior before the update to version 11.0.2.

Bernard

Please Log in or Create an account to join the conversation.

More
19 Dec 2023 12:10 #5 by babynus
I am almost sure the NOT display is normal, due to configuration of customisation.
You can try and comment lines 369:371 in projeqtor/api/.index.php

  if (method_exists($obj, 'setAttributes')) {
    $obj->setAttributes();
  }

Possibly it will fix your issue.
But if it does, it confirms that it is due to some customisation that field is hidden.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
19 Dec 2023 15:51 #6 by bgenolini
I did it, without effect.
I reset the Project settings in the screen customization: no effect either

I log as admin, and I have set all the possible access in the various configuration settings. Do you see something I may miss?

Bernard

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.051 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.