Doctrine 1
  1. Doctrine 1
  2. DC-401

Doctrine_Query->load crashes with additional ending whitespace in JOIN

    Details

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

      Description

      following will lead to an error:

      ->leftJoin('alias.RelatedTable alias2 WITH .....')

      The problem is the additional whitespace behind alias2.
      On line 1682 in Doctrine_Query class file:

      $tmp = explode(' ', $path);

      will create an array of 3 elements where the last one is empty but will be used as empty alias mapping after foreach from line 1698.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            Christian Michel
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: