Uploaded image for project: 'Doctrine PHPCR'
  1. Doctrine PHPCR
  2. PHPCR-61

review how the ORM and other ODM's initialize collection properties

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Invalid
    • Labels:
      None

      Description

      right now when we for example have a @ReferenceMany but nothing is assigned, then when we read said object from the database that property is set to null. should it rather be initialized as an empty collection?

        Activity

        lsmith Lukas Kahwe created issue -
        dbu David Buchmann made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Blocker [ 1 ]
        Hide
        lsmith Lukas Kahwe added a comment -

        it seems like the behavior is consistent with the ORM

        Show
        lsmith Lukas Kahwe added a comment - it seems like the behavior is consistent with the ORM
        lsmith Lukas Kahwe made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={expand=changesets[0:20].revisions[0:29],reviews, query=PHPCR-61}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            lsmith Lukas Kahwe
            Reporter:
            lsmith Lukas Kahwe
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: