Doctrine 1
  1. Doctrine 1
  2. DC-937

Cross Schema stored procedures are not recognized

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.3
    • Fix Version/s: None
    • Component/s: Query
    • Labels:
      None
    • Environment:
      XP Xamp

      Description

      When you call a stored procedure from a schema other than that of the current connection: [schema_name].[stored_procedure_name]([stored_procedure_arguments]) doctrine miss understands the string and throws a "Couldn't get short alias for" exception.

      I fixed this by adding some more regex to the getExpressionOwner method of the Query Class.

      I will post the patch shortly.

      Will Ferrer

        Activity

        Hide
        will ferrer added a comment -

        Fixed an issue where the code wouldn't work with calls to stored procedure that were nestted in groups in selects.

        Show
        will ferrer added a comment - Fixed an issue where the code wouldn't work with calls to stored procedure that were nestted in groups in selects.

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            will ferrer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: