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

Dataset information is not displayed #21

Open
PhilippJo opened this issue Dec 14, 2022 · 2 comments
Open

Dataset information is not displayed #21

PhilippJo opened this issue Dec 14, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@PhilippJo
Copy link

Regarding the additional manual ingestion frontend included by SciCat4DAPHNE.
Clicking on a dataset in the list of avaliable datasets, to retrieve further informations, directs to an empty page. However, in the "original" SciCat frontend the details of the dataset are shown.

@linupi linupi added the bug Something isn't working label Dec 15, 2022
@linupi
Copy link
Contributor

linupi commented Dec 15, 2022

I guess this is due to the missing configuration in the provided example of the env.js file

missing (lately introduced) keys are

  "REACT_APP_EXTERNAL_DATASETS_URL": "http://###/datasets",
  "REACT_APP_SCICAT_DEFAULT_DS_OWNER": "c",
  "REACT_APP_SCICAT_DEFAULT_DS_GROUP": "b",
  "REACT_APP_SCICAT_DEFAULT_DS_OWNER_GROUP": "a",
  "REACT_APP_ROUTER_BASENAME": "upload"

@PhilippJo
Copy link
Author

PhilippJo commented Jan 26, 2023

Now, neither in the SciCat4Daphne frontend nor in the SciCat frontend details are displayed for any of the ingested datasets.

my env.js is as follows:

window.env = {
  "REACT_APP_API_URL": "http://localhost/api/v3",
  "REACT_APP_API_URL2": "http://localhost",
  "REACT_APP_STORE_KEY": "scicat",
  "REACT_APP_ROUTER_BASENAME": "upload",
  "REACT_APP_EXTERNAL_DATASETS_URL": "http://localhost/datasets",
  "REACT_APP_SCICAT_DEFAULT_DS_OWNER": "c",
  "REACT_APP_SCICAT_DEFAULT_DS_GROUP": "b",
  "REACT_APP_SCICAT_DEFAULT_DS_OWNER_GROUP": "a",
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants