Doctrine 1
  1. Doctrine 1
  2. DC-938

Impossible to use other formats than YAML in data import

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.3
    • Fix Version/s: None
    • Component/s: Data Fixtures
    • Labels:
      None

      Description

      File Doctrine/Data/Import.php, line #80
      if (end($e) == 'yml')

      So, if the file is a .json (for exemple), it will be impossible to load it, even if we have specified "json" as format parameter.
      And it sucks.

      The fix would just be to change the line to :
      if (end($e) == $this->getFormat())

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated: