UPDATE: the solution here is to add a separator segment to tell Neos where the {node} path and the custom part starts / ends
http://abl-ch.dev/wohnen/wohnungsmarkt/wohnungsbewerbung/edit/application/008ce49e-fbed-4372-afde-73dc8330495d and ajust in the YAML configuration route.
uriPattern: '{node}/application/{--visol_ablch-applicationeditform.application}'
We want to decode this special URL that we can decompose into two parts:
http://abl-ch.dev/wohnen/wohnungsmarkt/wohnungsbewerbung/edit/008ce49e-fbed-4372-afde-73dc8330495d
- /wohnen/wohnungsmarkt/wohnungsbewerbung/edit corresponds to a path of pages in Neos {node}
- /008ce49e-fbed-4372-afde-73dc8330495d corresponds to a uuid and should be transmitted as string to MyAblController::applicationEditFormAction. Notice, we do not want the uuid to be converted to an object for this particular case.
Problem:
The URL is not decoded as expected. With the YAML configuration below, the ApplicationRoutePartHandler::findValueToMatch
method is sucessfully returning a result. Same for ApplicationRoutePartHandler::matchValue
which is correctly entering and returning a "true". But nothing more happens and the final output looks on the screen displays a 404. I tried debugging into TYPO3\Flow\Mvc\Routing\DynamicRoutePart
but nothing caught my eyes.
Page Not Found
Sorry, the page you requested was not found.
#1303209195: No controller could be resolved which would match your request.
Package key: "", controller name: "Standard".
(GET http://abl-ch.dev/wohnen/wohnungsmarkt/wohnungsbewerbung/edit/008ce49e-fbed-4372-afde-73dc8330495d)