Task #46009

Improve error message for missing class in Flow annotation driver

Added by Christopher Hlubek over 2 years ago.

Status:New Start date:2013-03-04
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:Persistence
Target version:-
Sprint: Has patch:No
PHP Version: Complexity:

Description

The Flow annotation driver will throw an error if a class is not found in the class schema. The error could be more helpful for missing classes or wrongly named classes if it would check if the class exists at all.

Uncaught Exception
    No class schema found for

  "MyVendor\MyProject\Domain\Model\Bar".
    The class should probably marked as entity or value object! This
  happened
    while examining
    "MyVendor\MyProject\Domain\Model\Foo" 

Also available in: Atom PDF