Uploaded image for project: 'Doctrine 1'
  1. Doctrine 1
  2. DC-383

Migrations not respecting ATTR_TBLNAME_FORMAT


    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: Attributes, Migrations
    • Labels:
    • Environment:
      Debian 5, Apache 2, PHP 5.2.9, MySQL 5.1


      I am using Doctrine 1.2.1 and Migrations don't appear to respect Doctrine::ATTR_TBLNAME_FORMAT when creating or dropping tables. This means while models create/drop tables with prefixes migrations don't. Also the migration_version table is created without the prefix too even though it was apparently fixed in DC-245.

      I haven't tested but it also probably means other attributes like Doctrine::ATTR_IDXNAME_FORMAT and Doctrine::ATTR_SEQNAME_FORMAT are not obeyed either which makes things a little confusing knowing when to care for prefixes or not.


        drak Karma Dordrak (Drak) created issue -
        eman Erik Wegner added a comment -

        Simple patch to set the table name inside constructor

        eman Erik Wegner added a comment - Simple patch to set the table name inside constructor
        eman Erik Wegner made changes -
        Field Original Value New Value
        Attachment migration_table_prefix_doctrine_1.2.patch [ 10615 ]

        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={expand=changesets[0:20].revisions[0:29],reviews, query=DC-383}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)


          • Assignee:
            jwage Jonathan H. Wage
            drak Karma Dordrak (Drak)
          • Votes:
            1 Vote for this issue
            1 Start watching this issue


            • Created: