Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.2.2
-
Component/s: None
-
Labels:None
Description
The solution was to allow Versionable to skip fields.
I've fixed with this changing:
Doctrine/AuditLog.php
#84:
$skipFields = (isset($this->_options['skipFields']))?$this->_options['skipFields']:array();
#88:
//inside the foreach
if(in_array($column, $skipFields))Unknown macro: { continue; }
After that the Versionable will accept some parameters.
ps: If possible, let me know about this changes cause my sources are with this fix.