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

Assets can not be shown #89

Closed
edwo-dev opened this issue Sep 13, 2023 · 0 comments · Fixed by #91
Closed

Assets can not be shown #89

edwo-dev opened this issue Sep 13, 2023 · 0 comments · Fixed by #91

Comments

@edwo-dev
Copy link
Contributor

Bug Report

Describe the Bug

List of assets can not be shown.

Expected Behavior

Asset items are listed as expected.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to 'Assests'
  2. See error

Context Information

  • Used version
    • [DataDashboard https://github.com/eclipse-edc/DataDashboard/commit/6ded7040896244628c3b52301bf7204d89631051]
    • [EDC v0.2.0]
  • OS: [Windows/CentOS7]

Error Information

assets_error

Detailed Description

core.mjs:6485 ERROR TypeError: Cannot read properties of undefined (reading 'edc:id')

Response:

[
    {
        "@id": "test-document-2_company1",
        "@type": "edc:Asset",
        "edc:properties": {
            "edc:version": "1.0",
            "edc:type": "AzureStorage",
            "edc:name": "test-document-2_company1",
            "edc:id": "test-document-2_company1",
            "edc:contenttype": "text/plain"
        },
        "edc:dataAddress": {
            "@type": "edc:DataAddress",
            "edc:container": "src-container",
            "edc:type": "AzureStorage",
            "edc:blobname": "text-document-2.txt",
            "edc:account": "company1assets",
            "edc:keyName": "company1assets-key1"
        },
        "@context": {
            "dct": "https://purl.org/dc/terms/",
            "edc": "https://w3id.org/edc/v0.0.1/ns/",
            "dcat": "https://www.w3.org/ns/dcat/",
            "odrl": "http://www.w3.org/ns/odrl/2/",
            "dspace": "https://w3id.org/dspace/v0.8/"
        }
    },
    {
        "@id": "test-document_company1",
        "@type": "edc:Asset",
        "edc:properties": {
            "edc:version": "1.0",
            "edc:type": "AzureStorage",
            "edc:name": "test-document_company1",
            "edc:id": "test-document_company1",
            "edc:contenttype": "text/plain"
        },
        "edc:dataAddress": {
            "@type": "edc:DataAddress",
            "edc:container": "src-container",
            "edc:type": "AzureStorage",
            "edc:blobname": "text-document.txt",
            "edc:account": "company1assets",
            "edc:keyName": "company1assets-key1"
        },
        "@context": {
            "dct": "https://purl.org/dc/terms/",
            "edc": "https://w3id.org/edc/v0.0.1/ns/",
            "dcat": "https://www.w3.org/ns/dcat/",
            "odrl": "http://www.w3.org/ns/odrl/2/",
            "dspace": "https://w3id.org/dspace/v0.8/"
        }
    }
]
janpmeyer added a commit to FraunhoferISST/edc-dashboard that referenced this issue Sep 13, 2023
janpmeyer added a commit to FraunhoferISST/edc-dashboard that referenced this issue Sep 14, 2023
ndr-brt pushed a commit that referenced this issue Sep 14, 2023
* feat: fix assets view (#89)

* feat: use correct funtion for Asset-Properties (#89)
Konfr added a commit to FraunhoferISST/edc-dashboard that referenced this issue Dec 15, 2023
juliapampus added a commit that referenced this issue May 3, 2024
* feat: fix assets view (#89)

* docs: fix typo and dead links

* Revert "feat: fix assets view (#89)"

This reverts commit d89ce84.

---------

Co-authored-by: Jan Peter Meyer <jan.peter.meyer@isst.fraunhofer.de>
Co-authored-by: Julia Pampus <72392527+juliapampus@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant