jhu-bids / TermHub

Web app and CLI tools for working with biomedical terminologies. https://github.com/orgs/jhu-bids/projects/9/views/7
https://bit.ly/termhub
GNU General Public License v3.0
11 stars 10 forks source link

Bug: `l.map is not a function` #971

Closed joeflack4 closed 1 week ago

joeflack4 commented 1 week ago

Siggie:

i have a mysterious bug on dev after just deploying (with new .env for new token). It's just when I go to n3c comparison report from about page. It's not occurring on local. And the console error is useless

I'm not seeing anything in azure logs

I figured it out. It was a nasty artifact of the cache refactor. It went away when I cleared my cache. I could write code to prevent it from happening, but it's a little involved and replicating it might not be possible. I think I could write a test to replicate it, but it would probably take hours.

image
joeflack4 commented 1 week ago

@Sigfried Just wondering, is it possible that this can ever happen in the future?

You cleared your cache, which was tied probably to an older version of the app before this deployment. Let's say you redeployed again--I would assume that this error would not happen again?