You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When receiving a reply in any thread, the server tries to save the message in the database and crashes. The behavior was observed only partially, sometimes there were no issues saving the reply. This is probably connected to #62 and therefore PR #70
I tried to reproduce the bug on develop and TS1 with test users 1 and 20 in threads for course and dm channels but could not reproduce the crash.
I sent thread replies with user20 in a thread in the #random channel in the web app and tried user1 in the android app for:
Being in the thread view
in the #random channel
in another channel
in the conversation overview
None of the environments caused a crash. @julian-wls Can you try to reproduce the crash and give me some hints on what you did?
I just tried to reproduce it again on develop and bugfix/communication/fix-message-live-insertion. Reproducing only worked for bugfix/communication/fix-message-live-insertion. I think when the crash happened when I had the main thread open not the the MetisThreadUI.
I will try to apply the changes introduced in #70 and check if the issue persists.
Describe the bug
When receiving a reply in any thread, the server tries to save the message in the database and crashes. The behavior was observed only partially, sometimes there were no issues saving the reply. This is probably connected to #62 and therefore PR #70
Stack trace:
android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: metis_post_context.client_post_id, metis_post_context.course_id, metis_post_context.conversation_id, metis_post_context.type, metis_post_context.server_id (code 1555 SQLITE_CONSTRAINT_PRIMARYKEY)
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: