Skip to content

Commit

Permalink
Merge pull request #103 from kdambekalns/bugfix/102-fix-formruntime
Browse files Browse the repository at this point in the history
BUGFIX: Assign response correctly in constructor
  • Loading branch information
kdambekalns committed Sep 25, 2019
2 parents 28d7bd1 + 76e0741 commit dc2ad7a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Classes/Core/Runtime/FormRuntime.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

use Neos\Error\Messages\Result;
use Neos\Flow\Annotations as Flow;
use Neos\Flow\Http\Response;
use Neos\Flow\Mvc\ActionRequest;
use Neos\Flow\Mvc\ActionResponse;
use Neos\Flow\Mvc\Controller\Arguments;
Expand Down Expand Up @@ -153,7 +152,7 @@ public function __construct(FormDefinition $formDefinition, ActionRequest $reque
$this->request->setArguments($pluginArguments[$formIdentifier]);
}

$this->parentResponse = $request;
$this->parentResponse = $response;
$this->response = new ActionResponse();
}

Expand Down

0 comments on commit dc2ad7a

Please sign in to comment.