Skip to content

When a pattern document is opened from the graph, section "Relations to other Patterns" is shown as emptyΒ #177

@FelixTruger

Description

@FelixTruger

Describe the bug
The section "Relations to other Patterns" is shown as empty when the pattern document is opened from the "graph" view using the πŸ›ˆ symbol.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the patterns graph of a pattern language, e.g., quantum computing patterns.
  2. Click on a pattern, e.g., Initialization, and note the relations shown in the right sidebar. Click on the πŸ›ˆ symbol of the pattern to view the pattern document.
  3. Scroll down to the section "Relations to other Patterns".
  4. See empty section "Relations to other Patterns".
  5. Open the same pattern from the "cards" view and observe that the relations are shown correctly.

Expected behavior
The relations should be shown correctly regardless of how the pattern document was opened.

Desktop (please complete the following information):

  • OS: Win 10
  • Browser: Firefox
  • Version: 123.0.1

Additional context
In the URL, one can observe that the pattern is referenced differently when opened from the "cards" and from the "graph" view. The former refers to the pattern's ID in the database, while the latter appears to refer to the pattern by its URI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions