Doctrine 1
  1. Doctrine 1
  2. DC-565

Versionable bugging when used with I18N

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical 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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Sid GBF
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: