Question #2623
closedHow to get data from all modify events ?
Description
When handling data from modify event, information are missing : we only have modification information but not the all data on the object. For exemple, if we change a Rule's name, we'll only have as data the old and the new name, but not information like serial, target or description on that rule. Those missing information need to be display in the Event logs.
To do so, we have to modify the data format serialisation to add the missing data.
But with that solution, we need to handle the old event with the old format which are stocked in the database.
In the case that we decide to change the format we have 3 solutions :
1° We support the old format. Old events logs will have less information in the UI.
2° We could update the old events in the database which need lot of work. Because we need to update every old events log with the new metadata. A migration script would be necessary.
3° We could make a request when the data are missing to get the state of data at that date.
We have more interest in 1° which is the easier to put in place. But some users would prefer the 2°, which is harder to put in place.
What do you think ?