Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2724

[GH-813] Bugfix for DateTimes and composite IDs.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • 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 ExistentialEnso:

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

      Message:

      The schema tool allows you to make DateTime fields part of composite IDs, but it causes DateTime conversion errors when you try to actually use them.

      This can be fixed with the addition of one simple line that converts DateTimes to a string. I'm not able to find any negative effects of this change, and it makes DateTime composite IDs work perfectly.

        Activity

        Hide
        Doctrine Bot added a comment -

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

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: