Doctrine 1
  1. Doctrine 1
  2. DC-200

replace() does not set created_at and updated_at when using Timestampable behavior

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 1.0.13
    • Fix Version/s: None
    • Component/s: Behaviors, Timestampable
    • Labels:
      None
    • Environment:
      MacOS, Symfony 1.2.9DEV

      Description

      The Timestampable behavior does not set created_at or updated_at on a call to replace() (if it doesn't exist yet it ought to do both).

      I see some old discussion on the subject of possibly exterminating replace() rather than fixing it to work with things like behaviors, but I also see that a similar ticket was opened for Doctrine 1.2 and the issue has apparently been addressed there.

        Activity

        Hide
        Jonathan H. Wage added a comment -

        We did have a ticket for this already and it was fixed in Doctrine 1.2. It's not something we can include in 1.0.

        Show
        Jonathan H. Wage added a comment - We did have a ticket for this already and it was fixed in Doctrine 1.2. It's not something we can include in 1.0.

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Tom Boutell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: