Skip to content

fix: Neos 9 Compatibility#7

Open
paavo wants to merge 3 commits into
jvm-tech:mainfrom
paavo:main
Open

fix: Neos 9 Compatibility#7
paavo wants to merge 3 commits into
jvm-tech:mainfrom
paavo:main

Conversation

@paavo
Copy link
Copy Markdown

@paavo paavo commented Nov 19, 2025

Specially in local Environments the Preview URL is often not available.

  • Add timeout configuration (30s request, 10s connect)
  • Add error handling for HTTP errors, connection issues, timeouts
  • Return empty string instead of throwing exceptions
  • Log all errors with URL and error details

Previously, any preview URL issue would crash the entire AI generation request. Now it gracefully degrades and continues processing.

Specially in local Environments the Preview URL is often not available.

- Add timeout configuration (30s request, 10s connect)
- Add error handling for HTTP errors, connection issues, timeouts
- Return empty string instead of throwing exceptions
- Log all errors with URL and error details

Previously, any preview URL issue would crash the entire AI generation request.
Now it gracefully degrades and continues processing.
 Core fixes:
  - PageController: Accept NodeAddress as string instead of Node object (Neos 9)
  - PageController: Find document node for content nodes to render correct preview
  - PageController: Use 'preview' action instead of 'show' for workspace compatibility

This fixes the "ContentCollection 'main' not found" error when rendering preview pages for content nodes.
@paavo paavo changed the title fix: prevent crashes when preview URL is unavailable fix: Neos 9 Compatibility Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant