glpi-project / glpi

GLPI is a Free Asset and IT Management Software package, Data center management, ITIL Service Desk, licenses tracking and software auditing.
https://glpi-project.org
GNU General Public License v3.0
3.97k stars 1.25k forks source link

Fix some default entity config values #17377

Closed cedric-anne closed 4 hours ago

cedric-anne commented 4 days ago
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -

While testing the Twig refactoring of the entities configuration on the main branch, I figured out that some default entity configuration values were not consistent.

  1. The Automatic purge of closed tickets after was always set to Never on a new entity, instead of Inheritance of the parent entity.
  2. The Alarms on domains expiries, Domains closes expiries and Domains expired default values on the root entity (fresh install) were Inheritance of the parent entity, but the root entity cannot inherit from its parent.