Doctrine 1
  1. Doctrine 1
  2. DC-372

I18n record generator assumes relation alias is the table name

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: I18n
    • Labels:
      None
    • Environment:
      latest symfony 1.4 SVN.

      Description

      In Doctrine/I18n.php, method setTableDefinition, line 108:

              foreach($relations as $table => $relation) {
      

      But the $relations array key is not a table name, but a relation alias.

      So currently the generator assumes the relation alias IS the table name.
      When it's not true, the I18n table definition fails.

        Activity

        thibault duplessis created issue -

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

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            thibault duplessis
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: