Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1667

UniqueConstraint without a 'name' attribute generates Syntax error under postgre

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.6
    • Fix Version/s: 2.2.1
    • Component/s: ORM
    • Labels:
      None
    • Environment:
      Ubuntu

      Description

      UniqueConstraints without a 'name' attribute generates syntax error on PGSQL ( no error on MSQL )

      got a " Syntax error: 7 ERROR: syntax error at or near "ON" "

      took me little time to figure out ...

      Edit: That was using anotations.

        Activity

        Adrien Delorme created issue -
        Adrien Delorme made changes -
        Field Original Value New Value
        Summary UniqueConstraint without a 'name' attribute generates Qyntax error under postgre UniqueConstraint without a 'name' attribute generates Syntax error under postgre
        Adrien Delorme made changes -
        Description UniqueConstraints without a 'name' attribute generates syntax error on PGSQL ( no error on MSQL )

        got a " Syntax error: 7 ERROR: syntax error at or near "ON" "

        took me little time to figure out ... :)
        UniqueConstraints without a 'name' attribute generates syntax error on PGSQL ( no error on MSQL )

        got a " Syntax error: 7 ERROR: syntax error at or near "ON" "

        took me little time to figure out ... :)

        Edit: That was using anotations.
        Show
        Guilherme Blanco added a comment - Fixed in https://github.com/doctrine/doctrine2/commit/a47e5663828d54852ff67251acef8bdab0c331c8
        Guilherme Blanco made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Benjamin Eberlei [ beberlei ] Guilherme Blanco [ guilhermeblanco ]
        Fix Version/s 2.1.7 [ 10198 ]
        Resolution Fixed [ 1 ]
        Hide
        Benjamin Eberlei added a comment -

        Merged into 2.2

        Show
        Benjamin Eberlei added a comment - Merged into 2.2
        Benjamin Eberlei made changes -
        Fix Version/s 2.2.1 [ 10194 ]
        Fix Version/s 2.1.7 [ 10198 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 13474 ] jira-feedback [ 15244 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 15244 ] jira-feedback2 [ 17108 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17108 ] jira-feedback3 [ 19361 ]

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DDC-1667, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            Adrien Delorme
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: