Closed tycebrown closed 6 months ago
Alright, I think I've found part of the issue. The notes query is returning multiple entries with the same wordId
but different translatorNoteContent
and footnoteContent
.
@arrocke Would that be because the query LEFT JOIN
s the PhraseWord
s, which are/can be connected to multiple Word
s?
I doubt that's the problem because our api calls prevent that scenario. From what I can see the query that executes immediately after the update, the timestamp is still 0. I'm not seeing the footnote disappear.
Found it! The notes query is swapping the footnote and translator note timestamps
Describe the bug Modifications to the contents of a word's notes are not displayed. The "Updated At ..." message does not appear/is not updated. It may be that the database is not updated/queried from correctly. Or, it could just be a frontend problem
To Reproduce Steps to reproduce the behavior (from Addison's comment in PR #394):
Expected behavior The note's content should be updated and displayed to the user. Tenative: It appears, at the current moment, that the database does update,
but the network request responds with the old contentbut the query used to fetch the notes does not work properly.Screenshots
Environment (please complete the following information):