Bug #1049

date_mod enhanced management

Added by remi almost 13 years ago. Updated almost 13 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:moyo% Done:


Target version:0.71


Should be able to blacklist some fields for which update should not change date_mod

Ex : last_login in glpi_users

Proposal :

- new property in class (have_date_mod : bool, date_mod_backlist : array)
- handle in commondb.


#1 Updated by moyo almost 13 years ago

To do :
Auto management of date_mod on update process :
  • if date_mod is a field of the table
    • if intersect of updates and blacklist array is not empty
      • update date_mod
    • else do not update date _mod

Unable to auto manage on add process

#2 Updated by moyo almost 13 years ago

  • Status changed from New to Closed

(In r6696) date_mod enhanced management : add process
fixed #1049

Also available in: Atom PDF