Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Fix call stack when a Doctrine proxy subclass is active #57

Merged

Conversation

niels-nijens
Copy link
Contributor

Doctrine proxy classes change the call stack due to also overloading the aliased trait methods.

This changes the stack to:
setSomefileUpload -> setFileUpload -> getFileUploadPropertyName

Where it normally would be:
setSomefileUpload -> getFileUploadPropertyName

This PR fixes the difference, which makes sure that the file upload property name can be determined both with a 'normal' Doctrine entity class and a Doctrine proxy class.

@niels-nijens niels-nijens merged commit a9e57e2 into FlexModel:master Feb 3, 2017
@niels-nijens niels-nijens modified the milestone: 1.0.0 Feb 3, 2017
@niels-nijens niels-nijens deleted the fix-doctrine-proxy-upload branch February 3, 2017 15:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant