mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[Unstable] Notifications Serialisation error. #1866
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @BaronGreenback on GitHub (Jul 13, 2020).
Changing the state of any notifications creates this error.
[16:55:02] [ERR] [107] Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware: An unhandled exception has occurred while executing the request.
System.AggregateException: Error while handling request exception (There was an error reflecting type 'MediaBrowser.Model.Notifications.NotificationOptions'.) (There was an error reflecting type 'MediaBrowser.Model.Notifications.NotificationOptions'.)
---> System.InvalidOperationException: There was an error reflecting type 'MediaBrowser.Model.Notifications.NotificationOptions'.
---> System.InvalidOperationException: Cannot serialize member 'MediaBrowser.Model.Notifications.NotificationOptions.Options' of type 'MediaBrowser.Model.Notifications.NotificationOption[]', see inner exception for more details.
---> System.InvalidOperationException: MediaBrowser.Model.Notifications.NotificationOption cannot be serialized because it does not have a parameterless constructor.
--- End of inner exception stack trace ---
@BaronGreenback commented on GitHub (Jul 13, 2020):
Fixed in PR 3552