Skip to content

[Bug]: Links to Data Objects in Activities Tab Displayed as Plain Text and Blocked by CSP Restrictions After Display Issue Fix #558

@mpedramJ

Description

@mpedramJ

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions