Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • 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.

        Activity

        Hide
        Doctrine Bot added a comment -

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

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

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

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

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: