datacommonsorg / website

Code for the Data Commons website
https://datacommons.org
Apache License 2.0
24 stars 85 forks source link

Protein page cache misses the description field #1632

Open suhana13 opened 2 years ago

suhana13 commented 2 years ago

Describe the bug

The Biomedical component of the data commons page is not displaying properties which should be stored in the cache after changes were made to the respective config file.

To Reproduce

URL: http://127.0.0.1:8080/bio/protein/bio/FGFR1_HUMAN Browser:

Steps to reproduce the behavior:

  1. Fork the master branch of the website repository.
  2. Run a local instance of the branch.
  3. On the local instance, add the slug "/bio/protein/bio/FGFR1_HUMAN"
  4. Using inspect elements, look at the state of the data and the required property i.e "description" will be missing

Expected behavior

The data being pulled from the cache should have the "description" property but it is missing, despite being added to the config.

suhana13 commented 2 years ago

@wh1210 @shifucun , could you please help debugging this whenever possible ?