-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[9.4.4] API - PHP Fatal error - commondbconnexity.class.php #6462
Comments
My humble feeling is that a declaration is missing somewhere but my php competencies does not allow me to dig deep :-/ |
Please test with latest stable. |
I just updated to 9.4.4.
|
Is there anything else I can do to help you guys get any idea of what happens? |
GLPI Official support provided the solution. Add Rules manipulation is now possible thru the API. I don't know if a fix has been submitted. |
Describe the bug
When using the API, I can't get rules criteria or action.
Calling /rule/[id]/rulecriteria give a ERROR 500
Calling /rulecriteria/[criteria id] works
Trying to retrieve all rulecriteria gives an ERROR 500
Page(s) URL
glpi/apirest.php/rulecriteria
To reproduce
call glpi/apirest.php/rulecriteria
Expected behavior
get all rulecriteria
Logs
Apache log of the error 500
Additional context
I use API a lot from Powershell module. I tried using CURL in bash, same result.
In the current situation, I can not manage rules thru the API.
The goal is to automatically create location rules based on the IP. We use a external application to manage the thousands of subnets linked to about hundred different locations.
The text was updated successfully, but these errors were encountered: