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

BUGFIX: reimplement appendExceedingArguments for preview route #5419

Conversation

mhsdesign
Copy link
Member

@mhsdesign mhsdesign commented Jan 6, 2025

(based on #5132)

This reintroduces

appendExceedingArguments: true

for the preview route so that uris could still build via plain fusion or flows Neos\Flow\Mvc\Routing\UriBuilder

previewAction = Neos.Fusion:ActionUri {
  request = ${request.mainRequest}
  package = 'Neos.Neos'
  controller = 'Frontend\\\Node'
  action = 'preview'
  arguments = ${{node: someNodeAddress}}
}

This was initially reverted via 2c4670c in #4892 in effort to get slowly rid of the appendExceedingArguments ugliness. But in the Dresden sprint '24 was considered too big of a change for now, especially as there is no alternative to build the uris in fusion without the queryParameters option introduced for the Neos.Fusion:ActionUri which will only be part of: #3914

This reintroduces

```yaml
appendExceedingArguments: true
```

for the preview route so that uris could still build via plain fusion or flows `Neos\Flow\Mvc\Routing\UriBuilder`

```
previewAction = Neos.Fusion:ActionUri {
  request = ${request.mainRequest}
  package = 'Neos.Neos'
  controller = 'Frontend\\\Node'
  action = 'preview'
  arguments = ${{node: someNodeAddress}}
}
```

This was initially reverted via 2c4670c in neos#4892 in effort to get slowly rid of the `appendExceedingArguments` ugliness. But in the Dresden sprint '24 was considered to big of a change for now, especially as there is no alternative to build the uris in fusion without the `queryParameters` option introduced for the `Neos.Fusion:ActionUri` which will only be part of: neos#3914
Copy link
Member

@mficzel mficzel left a comment

Choose a reason for hiding this comment

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

... hard to kill that 🧟

i assume this should be merged into the workspace ui branch by @Sebobo and not into 9.0 directly

@mhsdesign mhsdesign closed this Jan 13, 2025
@mhsdesign mhsdesign reopened this Jan 13, 2025
@mhsdesign mhsdesign marked this pull request as ready for review January 13, 2025 10:12
@mhsdesign mhsdesign merged commit 792e1b6 into neos:9.0 Jan 13, 2025
18 checks passed
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.

2 participants