Skip to content

[class metadata] The property mapping is skipped if fieldName is wrong #685

Closed
@makasim

Description

@makasim

If the fieldName defined (in xml mapping for example) is not matched any property it is just silently skipped here.

It is not like ORM work. It would throw an exception and force me to correct mapping:

ReflectionException: Property Payum\Paypal\ExpressCheckout\Nvp\Bridge\Doctrine\Entity\PaymentDetails::$tokenNotExist does not exist

If it is a bug I could try to fix.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions