Skip to content
New issue

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

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

Already on GitHub? # to your account

[php-symfony] Fixed a bug with access of non-existing property in generated code #578

Merged
merged 2 commits into from
Jul 19, 2018

Conversation

dimitriyremerov
Copy link
Contributor

PR checklist

  • Read the contribution guidelines.
  • Ran the shell script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run ./bin/{LANG}-petstore.sh and ./bin/security/{LANG}-petstore.sh if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in .\bin\windows\.
  • Filed the PR against the correct branch: master, 3.1.x, 4.0.x. Default: master.
  • Copied the technical committee to review the pull request if your PR is targeting a particular programming language.

Description of the PR

This PR fixes #577
The Controller must extend BaseController to be able to access container property.

CC @jebentier @dkarlovi @mandrean @jfastnacht @ackintosh

@dimitriyremerov dimitriyremerov changed the title Fix issue/577 [php-symfony] Fixed a bug with access of non-existing property in generated code Jul 16, 2018
@wing328 wing328 added this to the 3.1.1 milestone Jul 16, 2018
@jmini jmini modified the milestones: 3.1.1, 3.1.2 Jul 18, 2018
@ackintosh
Copy link
Contributor

Thanks for the PR! I'll have a look 👀

Copy link
Contributor

@ackintosh ackintosh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. 👍

@wing328 wing328 merged commit 76160b5 into OpenAPITools:master Jul 19, 2018
@dimitriyremerov dimitriyremerov deleted the fix_issue/577 branch July 19, 2018 08:16
A-Joshi pushed a commit to ihsmarkitoss/openapi-generator that referenced this pull request Feb 27, 2019
…erated code (OpenAPITools#578)

* [php-symfony] Fixed a bug where Controller accessed non-existent property

* [php-symfony] Regenerated petstore sample
@wing328
Copy link
Member

wing328 commented May 25, 2022

#11810 has been merged to support Symfony 6. Please give it a try and let us know if you've any feedback or question.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[php-symfony] Generated Controller uses an undefined property
4 participants