Single result endpoint does not return correctly populated sensitivity
#2926
Labels
🕹 aspect: interface
Concerns end-users' experience with the software
🛠 goal: fix
Bug fix
🟧 priority: high
Stalls work on the project or its dependents
🧱 stack: api
Related to the Django API
Milestone
Description
The single results endpoint does not populate
unstable__sensitivity
. This prevents the frontend from blurring sensitive results loaded from direct links.Reproduction is easy on production. I don't share direct links because I am using results that are designated with sensitive textual content in production (though I believe this example to be a false positive). It is possible to reproduce locally using the testing sensitive terms present locally (running, water, and birds). Just choose a result that is designated to have sensitive text by the testing terms and load it's single result. It will not have the sensitive textual content designation in
unstable__sensitivity
.Reproduction
Additional context
Marked high because it prevents the frontend's sensitivity feature roll out. cc @dhruvkb as a heads up to the project lead.
The text was updated successfully, but these errors were encountered: