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

403/Forbidden from IsRenderable breaks Content Editor #3682

Open
alansemenov opened this issue Aug 26, 2024 · 0 comments
Open

403/Forbidden from IsRenderable breaks Content Editor #3682

alansemenov opened this issue Aug 26, 2024 · 0 comments
Labels
Bug Something isn't working

Comments

@alansemenov
Copy link
Member

alansemenov commented Aug 26, 2024

When IsRenderable request in Content Studio returns 403/Forbidden, the catch handler fails because it expects an argument of type RequestError while Request in this case returns AccessDeniedException. Either fix the code in Content Studio to handle both types, or fix Request to return an error of type RequestError for 403 as well.

image

@alansemenov alansemenov transferred this issue from enonic/app-contentstudio Aug 26, 2024
@alansemenov alansemenov changed the title Failed preview request to Next.xp server breaks the editor 403/Forbidden from IsRenderable breaks Content Editor Aug 26, 2024
@alansemenov alansemenov added the Bug Something isn't working label Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant