Skip to content
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

Rules for assigning an item to an entity - Criteria - Unavailable #376

Open
BorisNovg opened this issue Jun 4, 2024 · 0 comments
Open

Comments

@BorisNovg
Copy link

GLPI version : 10.0.15
OCS Inventory plugin version : 2.0.4 (and last master too)

Home - Administration - Rules - Rules for assigning an item to an entity:
ocs1
ocs2

In glpi 9.5.6:
ocs3

php-errors.log (on click to "Unavailable"):

[2024-06-03 16:43:40] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "field" in /usr/share/glpi/src/RuleImportEntity.php at line 157
Backtrace :
src/Rule.php:2644 RuleImportEntity->displayAdditionalRuleCondition()
ajax/rulecriteriavalue.php:53 Rule->displayCriteriaSelectPattern()
public/index.php:82 require()

[2024-06-03 16:43:40] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "field" in /usr/share/glpi/src/RuleImportEntity.php at line 169
Backtrace :
src/Rule.php:2644 RuleImportEntity->displayAdditionalRuleCondition()
ajax/rulecriteriavalue.php:53 Rule->displayCriteriaSelectPattern()
public/index.php:82 require()

Table glpi_rulecriterias in field criteria:
MACHINE_NAME
IPADDRESS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant