Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2331

[GH-600] [PreUpdateEventArgs] Allows to add a new value on the entity changeset

    Details

    • Type: Bug Bug
    • Status: Closed
    • 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 egeloen:

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

      Message:

      Hey!

      I propose to add a `addNewValue` method on the `PreUpdateEventArgs`. This method allows to add a new value on the entity changeset when the entity changeset does not wrap the field.

      In one of my app, I need to update a field if an entity is updated but the field is not updated at the beginning.

        Activity

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: