schreiber-lab / SciCat4daphne

Prototype of an ingestion frontend for SciCat and simple docker-compose configuration for production environment
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Dataset information is not displayed #21

Open PhilippJo opened 1 year ago

PhilippJo commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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",
}