Bug #1049

date_mod enhanced management

Added by remi over 12 years ago. Updated over 12 years ago.

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

0%

Category:Common
Target version:0.71

Description

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.

History

#1 Updated by moyo over 12 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 over 12 years ago

  • Status changed from New to Closed

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

Also available in: Atom PDF