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

@ExclusionPolicy(policy="ALL") causes PHP notice message #1073

Closed
MinusSevenOfSpades opened this issue Apr 11, 2019 · 1 comment
Closed

@ExclusionPolicy(policy="ALL") causes PHP notice message #1073

MinusSevenOfSpades opened this issue Apr 11, 2019 · 1 comment

Comments

@MinusSevenOfSpades
Copy link

Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no

Steps required to reproduce the problem

  1. Add @ExclusionPolicy(policy="ALL") to class.

Expected Result

Object is serialized with properties that have @Expose annotation.

Actual Result

Notice: Undefined index: value

Using just @ExclusionPolicy("ALL") solves the problem but it would be nice to use @ExclusionPolicy(policy="ALL") as well.

@goetas
Copy link
Collaborator

goetas commented Jul 8, 2019

fixed via #1106

@goetas goetas closed this as completed Jul 8, 2019
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

2 participants