4.3.2 (2018-01-09)

Overview of merged pull requests

BUGFIX: Add doctrine mapping type only once

If you instantiate an additional entityManager in order to connect to a second database the mappingTypes are added again which leads to an error.

  • Packages: Flow FluidAdaptor

BUGFIX: Fix duplicate configuration keys in schema files

The latest symfony yaml parser is much more strict. This PR fixes duplicate keys in schema files.

  • Packages: Flow FluidAdaptor

BUGFIX: Respect `void` return type annotation in proxy method

This is a follow-up to #1091 that didn’t entirely fix the bug mentioned in #1065.


When using the void return type annotation the corresponding method must not return anything but by default the proxy method is rendered like:

` // ... $result = parent::originalMethod(); return $result; // ... `

BUGFIX: routing:routepath command does not use routing DTOs

Before this fix, calling ./flow routing:routepath /somePath will result in something like

` Argument 1 passed to Neos\\Flow\\Mvc\\Routing\\Route_Original::matches() must be an instance of Neos\\Flow\\Mvc\\Routing\\Dto\\RouteContext, instance of Neos\\Flow\\Http\\Request given, called in /flowRootPath/Data/Temporary/Development/SubContextFritjofBohm/Cache/Code/Flow_Object_Classes/Neos_Flow_Command_RoutingCommandController.php on line 179 `

With this fix, the command uses the right DTOs that were introduced with 4.3.

  • Packages: Flow

BUGFIX: catch NoMatchingRouteException to fix the RedirectHandler

What I did When no route is found the NoMatchingRouteException is now thrown, which breaks up the http component chain, so the RedirectHandlerComponent is never reached. This change swallows the exception.

How to verify it

Install the redirect handler extension and make sure the redirects work.


  • Packages: Flow

TASK: Correct expected/actual order in assertion

This fixes the wrong order of expected and actual parameters to an assertSame() call. Can be confusing if you check test results…

  • Packages: Flow