usnistgov / oar-pdr

The NIST Open Access to Research (OAR) Public Data Repository (PDR) system software
11 stars 10 forks source link

Fix/rpa ssr #316

Closed chuanlin2018 closed 1 year ago

chuanlin2018 commented 1 year ago

This checkin fixes two problems:

  1. The Opps error when RPA datacart starts - server side rendering problem.
  2. The Opps error after user confirms a bundle download - caused by missing resTitle.

I disable the cartService.getRpaCart() call for server side rendering. Also use "No title..." if resTitle is not available.

Tested in local but not in docker. I need some time to install python 2.7 in my machine (currently running python3).

RayPlante commented 1 year ago

This should have been made a PR against the fix/ODD-1083-rpa-datacart; see here for difference with #306.

chuanlin2018 commented 1 year ago

I see. I will undo this commit and make change to fix/ODD-1083-rpa-datacart instead. Thanks.

RayPlante commented 1 year ago

All changes that are in this PR are also in #306; closing this one without merging.