Doctrine 1
  1. Doctrine 1
  2. DC-735

Imported objects not converted to objects and parsed as string when a setter method exists

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.2.2
    • Fix Version/s: None
    • Component/s: Import/Export
    • Labels:
      None
    • Environment:
      Mac OS X 10.6

      Description

      If you set a setter method for a model which is for a relation the data import no longer works. This seems to be because in the _processRow method it checks if a method exists and then passes the default value rather than checking whether a relation exists first and passing the imported object.

      This effectively means you can't overload a setter method and still use the data import.

        Activity

        Kevin Dew created issue -

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Kevin Dew
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: