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

Preview panel is disabled for a content rendered via controller mapping #6110

Closed
alansemenov opened this issue Mar 21, 2023 · 1 comment · Fixed by #6114
Closed

Preview panel is disabled for a content rendered via controller mapping #6110

alansemenov opened this issue Mar 21, 2023 · 1 comment · Fixed by #6114
Assignees
Labels
Bug Something isn't working

Comments

@alansemenov
Copy link
Member

  1. Add this to mappings inside site.xml:
    <mapping controller="/site/pages/content/content.js">
      <match>_path:'/.*'</match>
    </mapping>
  1. Deploy the app
  2. Assign the app to the Features project
  3. Create a new content in the root of the Features project

Bug: The content is correctly rendered (which can be seen in the Grid's Preview panel) and the Preview button is correctly enabled inside the Wizard, however the Preview panel is not expanded and Monitor icon in the top-right is not even shown. The Page Components icon is shown, but doesn't do anything.

image

@alansemenov alansemenov added the Bug Something isn't working label Mar 21, 2023
@alansemenov
Copy link
Member Author

Preview works correctly in the Grid:
image

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

Successfully merging a pull request may close this issue.

2 participants