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

DriverChain::isTransient should return false not throw exception

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-BETA2
    • Fix Version/s: 2.0-BETA3
    • Component/s: Mapping Drivers
    • Security Level: All
    • Labels:
      None

      Description

      The isTransient() method has to return false, not throw an exception if the given class is not an entity or mapped superclass. The current behaviour violates the Mapping\Driver contract.

        Activity

        Hide
        beberlei Benjamin Eberlei added a comment -

        Fixed in master

        Show
        beberlei Benjamin Eberlei added a comment - Fixed in master

          People

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

            Dates

            • Created:
              Updated:
              Resolved: