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: Unable to reach the detailled view of a Node when their is no attribute #4538

Open
BeArchiTek opened this issue Oct 4, 2024 · 0 comments
Labels
group/frontend Issue related to the frontend (React) type/bug Something isn't working as expected

Comments

@BeArchiTek
Copy link
Contributor

Component

Frontend UI

Infrahub version

0.16.2

Current Behavior

When a node doesn't have any attribute, and is only composed of relationships, all the fields send me the related objects.
So I cannot click on it in the list view and reach the detailed view of the object.

A loom explaining the test: https://www.loom.com/share/dda3ca8b846547d2b71a660c241b6157

Expected Behavior

I am able to see the detailled view of the node

Steps to Reproduce

Using this schema

---
version: '1.0'

nodes:
  - name: Test
    namespace: Demo
    description: "A test node with no attributes, only a relationship to tags."
    relationships:
      - name: tags
        peer: BuiltinTag
        cardinality: many
        kind: Attribute

  - name: Random
    namespace: Demo
    description: "Another test node with no attributes, only a relationship to tags."
    relationships:
      - name: tests
        peer: DemoTest
        cardinality: one
        kind: Component
      - name: tags
        label: Tags
        peer: BuiltinTag
        cardinality: many
        kind: Attribute
  • create a new tag
  • create a new node of DemoTest, try to click on it
  • create a new node of DemoRandom, try to click on it

Additional Information

No response

@BeArchiTek BeArchiTek added type/bug Something isn't working as expected group/frontend Issue related to the frontend (React) labels Oct 4, 2024
@exalate-issue-sync exalate-issue-sync bot added group/frontend Issue related to the frontend (React) and removed group/frontend Issue related to the frontend (React) labels Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group/frontend Issue related to the frontend (React) type/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

1 participant