Closed polyamAdmin closed 1 month ago
I'm not sure what it is, but something in this messes with account notes.
When adding an account note, the server responds with a 422, either with an error about account being taken or duplicate record. The note still gets saved though.
I think it's not the frontend changes, but something in the account note model causing the uniqueness validation to fail likely because of a race condition. The frontend changes seemed to make it more likely as I still wasn't able to reproduce it before this change.
As the issue with notes doesn't seem to affect functionality, I think it's fine to merge and either find a fix or wait for upstream to fix. The issue does appear in the polyam flavour more often than in glitch, but I'm not sure why.
Conflicts:
app/javascript/flavours/glitch/actions/interactions.js
app/javascript/flavours/glitch/reducers/statuses.js
Upstream deleted code close to code added for reactions. Deleted code upstream did.Ported changes: