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

BUG: Exception when reference the content of a document with reference editor #3956

Closed
1 task done
crydotsnake opened this issue Nov 14, 2022 · 1 comment
Closed
1 task done
Labels

Comments

@crydotsnake
Copy link
Member

crydotsnake commented Nov 14, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When I create a content reference with the reference editor, and confirm it, it throws an exception in the backend. I'm not sure if this bug is related to the issue: #3624

The log file is down below!

Expected Behavior

The content of the referenced document should be rendered as usual.

Steps To Reproduce

  1. Install a fresh Neos Project
  2. Change type: 'references' to: type: 'reference' in: Neos.NodeTypes.ContentReferences:ContentReferences (But you could also create your own NodeType of course)
  3. Create a page with the Reference content element, and create a content reference off a document.

Environment

- Flow: 8
- Neos: 8
- PHP: 8.1

Anything else?

20221114165612d89ab5.txt

@crydotsnake crydotsnake changed the title BUG: Exception when reference a document with reference editor BUG: Exception when reference the content of a document with reference editor Nov 14, 2022
@crydotsnake
Copy link
Member Author

crydotsnake commented Nov 14, 2022

I believe 🤞🏽 it is because the line:

is no longer specific enough for PHP 8.0^. Because, when I try it in a Neos 7.1 project with PHP 7.4, it works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant