mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
[Unstable] Notifications Serialisation error. #1866
Labels
No labels
area:database
awaiting-feedback
backend
blocked
breaking change: web api
bug
build
ci
confirmed
discussion needed
dotnet future
downstream
duplicate
EFjellyfin.db
enhancement
feature
future
github-actions
good first issue
hdr
help wanted
invalid
investigation
librarydb
live-tv
lyrics
media playback
music
needs testing
nuget
performance
platform
pull-request
question
regression
release critical
requires-web
roadmap
security
security
stale
support
syncplay
ui & ux
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/jellyfin#1866
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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