Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of lighthart:

      Url: https://github.com/doctrine/doctrine2/pull/681

      Message:

      $this->_sequenceName=$em->getClassMetadata(get_class($entity))->sequenceGeneratorDefinition['sequenceName'];

      The sequence generator does not read the class metadata, so if there is table remapping via event listeners, any new entity won't have the appropriate changes in table names.

      This pull request adds a remap the Sequence Generator to read the class metadata to determine the sequence name if there is an entity passed to the generate function.

      Tests: 1854, Assertions: 6224, Skipped: 96.

        Issue Links

          Activity

          Hide
          doctrinebot Doctrine Bot added a comment -

          A related Github Pull-Request [GH-681] was assigned:
          https://github.com/doctrine/dbal/pull/681

          Show
          doctrinebot Doctrine Bot added a comment - A related Github Pull-Request [GH-681] was assigned: https://github.com/doctrine/dbal/pull/681
          Hide
          doctrinebot Doctrine Bot added a comment -

          A related Github Pull-Request [GH-681] was closed:
          https://github.com/doctrine/dbal/pull/681

          Show
          doctrinebot Doctrine Bot added a comment - A related Github Pull-Request [GH-681] was closed: https://github.com/doctrine/dbal/pull/681
          Hide
          doctrinebot Doctrine Bot added a comment -

          A related Github Pull-Request [GH-681] was closed:
          https://github.com/doctrine/doctrine2/pull/681

          Show
          doctrinebot Doctrine Bot added a comment - A related Github Pull-Request [GH-681] was closed: https://github.com/doctrine/doctrine2/pull/681
          Hide
          doctrinebot Doctrine Bot added a comment -

          A related Github Pull-Request [GH-681] was assigned:
          https://github.com/doctrine/doctrine2/pull/681

          Show
          doctrinebot Doctrine Bot added a comment - A related Github Pull-Request [GH-681] was assigned: https://github.com/doctrine/doctrine2/pull/681

            People

            • Assignee:
              ocramius Marco Pivetta
              Reporter:
              doctrinebot Doctrine Bot
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: