Skip to content

BUG Preview page action leads to error for non-document nodes #3

@Sebobo

Description

@Sebobo

When trying to generate the alternativeText for an image element, like described in the readme, the ui plugin generates uris to the renderPreviewPageAction with the currently selected node, which is not a document.
This leads to a rendering error, as Fusion cannot resolve the document.

This needs to be either fixed in

$this->forward('preview', 'Frontend\Node', 'Neos.Neos', [

by traversing up to the closest document node, or in the ui plugin by providing the correct nodeUri.
Though in this case the controller should still check what kind of node it tries to render.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions