BetterUntis icon indicating copy to clipboard operation
BetterUntis copied to clipboard

[Bug Report] Absence and content of lessons show "error", on click I get a toast about someting with channel.

Open derjoshder opened this issue 1 year ago • 4 comments

Steps to Reproduce

Click on lesson. If I click my name in lesson detailed view an click a lesson again, I get a differen error msg when trying absences or content: ..."input has alread been written to an output stream'. Probably a stream closing issue..?

Expected Result

See lesson content and state of absences

Actual Result

Both show 'error' and throw error message toast on click. Field 'channel' is required for type with serial name ...respose.UntisSerialData...missing at path $.result.dataByTTId['someNumber']...

Android Version

9

BetterUntis Version

4.0.2

Installation Source

SapuSeven.com

Additional information

Tried release from Github and Sapuseven. Error occurs since 1 or 3 weeks. Have detailed error reporting on so hopefully you know more about the issue than I do. I do know some java but couldn`t track that down due to the complexity of this great project, sorry.

derjoshder avatar Oct 18 '23 06:10 derjoshder

I have the exact same issue!

valeskini avatar Oct 24 '23 07:10 valeskini

Not sure why that happens. I know there are some networking problems in the current version and I'm looking into a replacement, but it's still in progress.

SapuSeven avatar Nov 04 '23 14:11 SapuSeven

Same on 4.0.3, LineageOS 20 (Android 13) from F-Droid.

ManDay avatar Nov 11 '23 14:11 ManDay

I have the same issue with 'lesson topic' on version 4.0.2, Android 12 from GitHub. I have an app that shows Toast history, with which I can see the full error message:

Error: Field 'channel' is required for type with serial name 'com.sapuseven.untis.models.untis.response.UntisPeriodData', but it was missing at path: $.result.dataByTTId['1140735']
at path: $.result.dataByTTId['1140735'] at
path: $.result.dataByTTId['1140735'] at path:
$.result.dataByTTId['1140735']

(might have typos, as my app won't let me copy the Toast message for some bizarre reason)

Eco-Gaming avatar Mar 13 '24 08:03 Eco-Gaming