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]: Links to Data Objects in Activities Tab Displayed as Plain Text and Blocked by CSP Restrictions After Display Issue Fix #558

Open
mpedramJ opened this issue Jan 30, 2025 · 1 comment

Comments

@mpedramJ
Copy link

Expected behavior

  1. The links to data objects should be displayed as clickable links or buttons.
  2. The links or buttons should be functional and not blocked by CSP restrictions.

Actual behavior

  1. Links are displayed as plain text due to the Twig template issue.
    Image

  2. Even after fixing the display, the links are still non-functional because CSP restrictions block inline JavaScript in the href attributes.
    Image

Description: The links to data objects in the Activities tab are currently displayed as plain text due to a Twig template issue where tags are not properly rendered. Even after resolving the display issue, the links remain non-functional because CSP (Content Security Policy) restrictions block inline JavaScript in the href attributes.

Steps to reproduce

  1. Navigate to the Activities tab.

  2. Notice that links to data objects appear as plain text, not as clickable links.

  3. Fix the Twig template to render the links correctly as tags.
    Image

  4. After fixing the display, attempt to click the links, which will still not work due to CSP restrictions.

@mpedramJ mpedramJ added the Bug label Jan 30, 2025
Copy link

Thanks a lot for reporting the issue. We did not consider the issue as "Pimcore:Priority", "Pimcore:ToDo" or "Pimcore:Backlog", so we're not going to work on that anytime soon. Please create a pull request to fix the issue if this is a bug report. We'll then review it as quickly as possible. If you're interested in contributing a feature, please contact us first here before creating a pull request. We'll then decide whether we'd accept it or not. Thanks for your understanding.

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

No branches or pull requests

1 participant