Doctrine MongoDB ODM
  1. Doctrine MongoDB ODM
  2. MODM-132

Doctrine\ODM\MongoDB\Mapping\ClassMetaData is loosing "file" property after serialization

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0BETA3
    • Fix Version/s: None
    • Component/s: Mapping Drivers
    • Labels:
      None

      Description

      After ClassMetaData is awakened it looses the "file" property and that breaks our File model.
      File::count() returns 0

      I dumped ClassMetaData object with caching enabled and disabled. Here's the diff:

      146c146
      < [file] =>

      > [file] => file
      149a150,180
      > [0] => Array
      > (
      > [keys] => Array
      > (
      > [uploaded_at] => 1
      > )
      >
      > [options] => Array
      > (
      > [safe] => true
      > [unique] =>
      > )
      >
      > )
      >

      The first line is the missing file value. The second block appears to be missing indexes but I'm guessing this information should not be serialized.

        Activity

        Andrei S created issue -

        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={query=MODM-132, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

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

            Dates

            • Created:
              Updated: