-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Hi,
first of all thanks for a great module.
I do have two kind-of-issues - maybe questions - though:
Right now I'm only using it to monitor and track changes to a couple of fields in one model.
On my dev box everything works fine. After pushing to production there's the slight issue of "0" not being written to the audit_field table.
I.e.: On dev box:
old value | new value |
---|---|
0 | 1 |
1 | 0 |
On prod box:
old value | new value |
---|---|
1 | |
1 |
There's literally nothing in where 0 should be. My "ingoreValues" array for that model is empty:
'AuditFieldBehavior' => array(
'class' => 'audit.components.AuditFieldBehavior',
'additionalAuditModels' => array(
//'Tipp' => 'fk_tipp_user_id',
),
'ignoreFields' => array(
'insert' => array('tipp_last_updated, tipp_adm_visit_date'),
'update' => array('tipp_last_updated, tipp_adm_visit_date'),
),
'enableAuditField' => true,
'ignoreValues' => array(),
),
Any thoughts?
Also the audit_request_id never changes (always 0), is that expected behaviour?
I'm using the latest stable version (1.1.10) /w yii 1.1.15
Metadata
Metadata
Assignees
Labels
No labels