Skip to content

Conversation

anzin
Copy link
Contributor

@anzin anzin commented Feb 10, 2021

Description (*)
I've implemented:

  1. Created the generator for the NewAction controller.
  2. Created test for the NewAction controller.
  3. Fixed Save Controller ADMIN_RESOURCE, Fixed Save Controller Test.

image
image

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with integration/functional tests (if applicable)
  • All automated tests passed successfully (all builds are green)

@VitaliyBoyko
Copy link
Contributor

Please fix conflicts

…-phpstorm-plugin into create-new-action-controller-generation
@anzin
Copy link
Contributor Author

anzin commented Feb 10, 2021

@VitaliyBoyko I've fixed the conflicts

{
/** @var ${FORWARD} $resultForward */
$resultForward = $this->resultFactory->create(${RESULT_FACTORY}::TYPE_FORWARD);
$resultForward->forward('edit');
Copy link
Contributor

Choose a reason for hiding this comment

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

Did not get why do we need forward 🤔

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

@anzin anzin Feb 12, 2021

Choose a reason for hiding this comment

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

@VitaliyBoyko I've changed generated file by your recommendation.

@VitaliyBoyko VitaliyBoyko merged commit 3ce4d07 into magento:mainline-entity-manager Feb 15, 2021
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.

4 participants