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

[NodeBundle] Split off logic of NodeAdminController in helper class #2027

Merged
merged 6 commits into from Jun 20, 2018

Conversation

treeleaf
Copy link
Contributor

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

In this PR some logic that is in the NodeAdminController is being put in a helper service class. Currently no changes in the controller yet: the controller will not yet use this code. It will be done in a future PR.

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 @treeleaf, your PR passed all our requirements.

Thank you for contributing!

arguments:
- "@doctrine.orm.entity_manager"
- "@kunstmaan_node.admin_node.publisher"
- "@kunstmaan_node.admin_node.node_version_lock_helper"
Copy link
Contributor

Choose a reason for hiding this comment

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

@treeleaf This argument does not match the constructor of the NodeHelper

- "@security.token_storage"
- "@kunstmaan_admin.clone.helper"
- "@event_dispatcher"
- { timeout: "%kunstmaan_node.version_timeout%"}
Copy link
Contributor

Choose a reason for hiding this comment

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

This parameter is also not available in the constructor method.

@Devolicious Devolicious merged commit 6477a14 into Kunstmaan:master Jun 20, 2018
@treeleaf treeleaf deleted the feature/rest-5.1 branch June 20, 2018 07:59
Devolicious added a commit that referenced this pull request Jun 26, 2018
* master: (24 commits)
  added missing translations to main language (#2038)
  bump node version (#2035)
  recompile assets after upmerge
  recompiled assets
  update changelog
  [NodeBundle] Split off logic of NodeAdminController in helper class (#2027)
  refactor HeaderPagePart entity test (#2024)
  [AllBundle] move old phpunit style to codeception with fixed coverage (#1955)
  [Docs] remove vagrant references and put some small snippet about docker in (#1953)
  Add target blank to download link (#1963)
  [NodeBundle] fixed issue 1581, save on (un)publish (#1803)
  Replace deprecated twig raw tag in scss file (#1987)
  [KunstmaanAdminBundle]: fix js for collections (#1989)
  [Docs] set correct paths (#1990)
  [AdminBundle] fixed create user command #1995 (#1996)
  [AdminBundle] Deprecate service container usage in commands (#2014)
  [AdminBundle] updated aclApplyCommand to use AclManager (#2003)
  Replace getParameter calls so our code doesn't trigger deprecations (#2012)
  [AdminBundle][MultidomainBundle] Move parameter checks and service definition changes to compiler pass (#2018)
  Mark extra services public (#2013)
  ...
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