Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 1.4
-
Fix Version/s: Unscheduled
-
Component/s: Technical infrastructure
-
Labels:None
Description
I'm working on creating a JasperReports-based reporting solution for CiviCRM. Because of the way Jasper works, we need to cache report and field definitions that are derived from CiviCRM profiles. This makes it very desireable for us to determine if a profile object has been changed since we last pulled down its definition and compiled it into a Java object. This a appears not to be possible currently, or at least, it seems hard to do.
It would be very useful for this and other reporting software if a "last modified" field was added to the data model for a UF Profile Group, and that the API gave us some way to get at this information.
we are planning to introduce a created by / modified by (in the db) system in 1.5. however, profile groups dont really fall under this model since "profile fields are added/deleted from a group" without touching the group table.
An easier solution might to to compute a md5 hash of the profile fields and cache it on the "report" side, and periodically recompute it. I suspect keeping track of changes is more a responsibility of the client than the server