Business rule for assets doesn't work anymore
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Is there an existing issue for this?
- [x] I have searched the existing issues
Version
10.0.18
Bug description
We have several business rules for assets like this :
This rule worked perfectly in version 10.0.17 and doesn't work anymore in since upgrade to 10.0.18
Relevant log output
Page URL
No response
Steps To reproduce
No response
Your GLPI setup information
No response
Anything else?
No response
We are facing the same problem for a business rule, which sets the user for an alternate username. This was working before 10.0.18. In our case it works fine for automatic inventory but not for a manual update.
There has been no activity on this issue for some time and therefore it is considered stale and will be closed automatically in 10 days.
If this issue is related to a bug, please try to reproduce on latest release. If the problem persist, feel free to add a comment to revive this issue. If it is related to a new feature, please open a topic to discuss with community about this enhancement on suggestion website.
You may also consider taking a subscription to get professionnal support or contact GLPI editor team directly.
Still present in 10.0.19....
I just performed a quick test on the 10.0bugfixes branch.
Here is my rule (Sub-entity → Yes):
And here is the location defined in the sub-entity:
When creating a computer, the location is correctly assigned to the computer via the rule.
Could you provide more details, particularly about your rules, the location, and where the computers are being created? The more information you can give, the better chance I have of identifying the bug (if it exists).
Hi,
Here is one of my rules :
This rule (and the others which are similar) worked in version 10.0.17. Since upgrade to 10.0.18 this rule doesn't work anymore. If I move an asset in for example Bordeaux entity, Location field is not updated anymore.
A part of my entity for assets management :
Computer is created by inventory un Root/SI/Infra/Assetsn then technician fills some contract information and transfer computer in correct entity regarding is location. I expect Location is updated automatically regarding destination entity which was working before 10.0.18 upgrade.
Let me know how can I help to debug.
Thx
I don’t see in your screenshots whether the rule can be applied to sub-entities (the same applies to the location).
Could you please check your options in the transfer template? A new option has been added: https://github.com/glpi-project/glpi/pull/15643
Hi,
I never ticked child entities box, maybe something has changed and I have to tick it now ?
Could you try checking the Child entities box to see if that resolves the issue?
The application of rules based on the entity was enhanced recently.
https://github.com/glpi-project/glpi/pull/18775
@stonebuzz Congratulations ! This made the job !
Issue resolved. Many thanks for your help !
This issue has been closed as we only track bugs here.
You can get community support on forums or you can consider taking a subscription to get professional support. You can also contact GLPI editor team directly.