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

[AdminListBundle] fixed form options source in admin list controller #2056

Merged

Conversation

mdxpl
Copy link
Contributor

@mdxpl mdxpl commented Jul 18, 2018

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets

In AdminListController type options come from the configuration. They are passed to the AdaptSimpleFormEvent but then form factory use the same array.

Due to the array isn't passed to the event by reference it's impossible to modify form options in the AdaptSimpleFormEvent listener.

I have passed to the form factory options from the event rather than configuration.

Copy link

@ProfessorKuma ProfessorKuma left a comment

Choose a reason for hiding this comment

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

Hi @mdxpl, your PR needs some changes

  • It seems that our checklist is missing or incomplete

Copy link

@ProfessorKuma ProfessorKuma left a comment

Choose a reason for hiding this comment

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

Hi @mdxpl, your PR needs some changes

  • This PR seems to need a milestone of a patch release.

@ProfessorKuma ProfessorKuma added this to the 5.0.8 milestone Jul 18, 2018
Copy link

@ProfessorKuma ProfessorKuma left a comment

Choose a reason for hiding this comment

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

Hi @mdxpl, your PR passed all our requirements.

Thank you for contributing!

@Devolicious Devolicious merged commit 30d939f into Kunstmaan:5.0 Jul 18, 2018
janb87 pushed a commit to janb87/KunstmaanBundlesCMS that referenced this pull request Aug 1, 2018
Devolicious added a commit that referenced this pull request Aug 7, 2018
* 5.0:
  recompile assets
  update changelog
  Remove id of nested form item containers (#2049)
  Fix empty url in admin list (#2071)
  [MediaBundle] fixed BackgroundFilterLoader issue (#2028)
  [MediaBundle] Skip test if ghostscript is not installed (#2066)
  [NodeBundle] Removed unused use of the VarDumper class (#2067)
  #2050 Fixed issue in refreshing ck editor (don't do a destroy if the instance is already initializing) (#2064)
  [KunstmaanTranslatorBundle]: export all translations, use correct locales (#2055)
  [AdminListBundle] fixed form options from AdaptSimpleFormEvent in admin list (#2056)
  [GeneratorBundle] Fix xpath for publish modal in behat tests (#2052)
  [AdminBundle] fixed BC break in CreateUserCommand (#2043)
  remove hardcopy of ckeditor (#2041)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants