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

It is possible to save a homework without a done until date, which is not displayed afterwards #11

Closed
nilsreichardt opened this issue Jun 27, 2021 · 1 comment
Labels
bug Something isn't working. feature: homework

Comments

@nilsreichardt
Copy link
Member

Description

It sometimes happens that the to be done until date could not load. In this case, is the date field empty. However, the does not show an error message, if you try to save this homework without a date. As a result, the homework can not be displayed and is forever invisible.

Screen.Recording.2021-06-27.at.18.04.34.mov
@nilsreichardt nilsreichardt added the bug Something isn't working. label Jun 27, 2021
github-merge-queue bot pushed a commit that referenced this issue Sep 8, 2023
This PR fixes the following error:

```
_TypeError (type 'Null' is not a subtype of type 'String')
[log] #0      new Folder.fromData
folder.dart:69
#1      new FileSharingData.fromData.<anonymous closure>
filesharing_data.dart:49
#2      decodeMap.<anonymous closure>
helper_functions.dart:23
#3      MapBase.map (dart:collection/maps.dart:82:28)
#4      decodeMap
helper_functions.dart:23
#5      new FileSharingData.fromData
filesharing_data.dart:48
#6      FileSharingGateway.courseFoldersStream.<anonymous closure>.<anonymous closure>
file_sharing_api.dart:49
#7      MappedListIterable.elementAt (dart:_internal/iterable.dart:415:31)
#8      ListIterator.moveNext (dart:_internal/iterable.dart:344:26)
#9      new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:189:27)
#10     new _GrowableList.of (dart:core-patch/growable_array.dart:150:28)
#11     new List.of (dart:core-patch/array_patch.dart:47:28)
#12     ListIterable.toList (dart:_internal/iterable.dart:214:7)
#13     FileSharingGateway.courseFoldersStream.<anonymous closure>
```
@Jonas-Sander
Copy link
Collaborator

Was fixed with #1127 (at the latest)

@nilsreichardt nilsreichardt moved this to Closed in Triage May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. feature: homework
Projects
Status: Closed
Development

No branches or pull requests

3 participants