Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
derjoshder opened this issue Oct 18, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@derjoshder
Copy link

derjoshder commented Oct 18, 2023

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 derjoshder added the bug Something isn't working label Oct 18, 2023
@derjoshder derjoshder changed the title [Bug Report] Absence and Content of lessons show "error", on Click I get a Toast about someting with channel. [Bug Report] Absence and content of lessons show "error", on click I get a toast about someting with channel. Oct 18, 2023
@massitheduck
Copy link

I have the exact same issue!

@SapuSeven
Copy link
Owner

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.

@ManDay
Copy link

ManDay commented Nov 11, 2023

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

@Eco-Gaming
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants