Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-706

DriverChain::isTransient should return false not throw exception

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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
        Benjamin Eberlei added a comment -

        Fixed in master

        Show
        Benjamin Eberlei added a comment - Fixed in master

          People

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

            Dates

            • Created:
              Updated:
              Resolved: