Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field "xxx" is not a valid field of the entity "AppBundle\Entity\Xxx" in PreUpdateEventArgs #40

Open
meons opened this issue Jul 1, 2015 · 2 comments

Comments

@meons
Copy link

meons commented Jul 1, 2015

Hi,

When I add @Encrypted annotation to a property in my entity, I get the following message on execution :
image

The record in DB is done, but there is still a problem with my entity Pass.
If I remove @Encrypted annotation, it works but the property is inevitably stored in clear in DB.

I followed your documentation to install and use the bundle.
So am I doing something wrong ? Or have I forgot something ?

PS: I work with Wamp in local

@sstraatemans
Copy link

Have the same problem here

@htdutchy
Copy link

htdutchy commented Nov 3, 2015

Make sure empty fields are nulled instead of an empty string.
The existing value will be loaded if you are working on an existing doctrine entry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants