rtcharity / eahub.org

A global directory for effective altruists to connect
https://eahub.org
MIT License
18 stars 6 forks source link

Request failed with status code 400 when I try to add Cause Areas of Interest from listed options #1265

Closed vagarwalla closed 3 years ago

vagarwalla commented 3 years ago

Filed by Tessa Alexanian on 18 May 2021. Original email:

Wanted to report a bug (see title, and hopefully this screenshot comes through): image.png

image

vagarwalla commented 3 years ago

Mentioned by another person: image

I was able to recreate the error on my account.

vagarwalla commented 3 years ago

Steps to reproduce problem - Using Google Chrome on Microsoft Surfacebook

  1. Log in to EA Hub profile
  2. Click edit profile
  3. In the "career area of interest" Type the word "research" (have to type the whole thing, the word tag "research" doesn't appear before then - it just shows other research.
  4. The error code screenshotted below appears. image

Where else does this error appear for the label "research"? Error is NOT duplicated for "Career Area of Expertise" (I had research listed before, then removed it, then added it again with no issues. See SS:

image

Error is duplicated for "Career area of interest" and "Career area of expertise".

Other issues - Tags appear to be case sensitive

Note that for some reason the tags appear to be case sensitive - there is both "research" and "Research". Am not sure why, see SS: image

But, in Career Area of Interest there is only lowercase "research" image

Do we need to do a cleanup of the tags? Or can we just change the rule so that tags are not case sensitive?

Other issues with the tags - tags appearing in the wrong places.

sebgrebe commented 3 years ago
viktor-yunenko commented 3 years ago

With the additional logging we found the problem at patched it today.