Uploaded image for project: 'Doctrine 2 - ORM'
  1. Doctrine 2 - ORM
  2. DDC-2402

[DOC] warning on serializing private properties: obsolete?

    Details

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

      Description

      here we warn that when wanting to serialize properties, you should not have private properties as that would not work with proxies.

      afaik doctrine commons 2.4 now handles that properly and we can drop that warning, right?

      https://github.com/doctrine/doctrine2/blob/master/docs/en/reference/working-with-objects.rst#merging-entities

        Activity

        dbu David Buchmann created issue -
        dbu David Buchmann made changes -
        Field Original Value New Value
        Project Doctrine Website [ 10033 ] Doctrine 2 - ORM [ 10032 ]
        Key DWEB-112 DDC-2402
        Workflow jira [ 21168 ] jira-feedback3 [ 21169 ]
        Security All [ 10000 ]
        dbu David Buchmann made changes -
        Summary warning on serializing private properties: obsolete? [DOC] warning on serializing private properties: obsolete?
        ocramius Marco Pivetta made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Jonathan H. Wage [ jwage ] Marco Pivetta [ ocramius ]
        Resolution Duplicate [ 3 ]

          People

          • Assignee:
            ocramius Marco Pivetta
            Reporter:
            dbu David Buchmann
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: