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

Prevent home screen crash. Validate user setting data #1955

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

cewert
Copy link
Member

@cewert cewert commented Oct 1, 2024

Comes from roku.com crash log:

textextra        <uninitialized> 
extraprefix      <uninitialized> 
playedindicatorleftposition <uninitialized> 
localglobal      roSGNode:Node refcnt=2 
itemdata         roSGNode:HomeData refcnt=1 
m                roAssociativeArray refcnt=2 count:15 
global           Interface:ifGloba$1 Local Variables: 
   file/line: pkg:/components/home/HomeItem.brs(87) 
#0  Function itemcontentchanged() As Voi$1 Backtrace: 
Type Mismatch. Operator "not" can't be applied to "Invalid". (runtime error &h18) in pkg:/components/home/HomeItem.brs(87)

which points to this line after running build-prod on 2.1.4:

if not localGlobal.session.user.settings["ui.tvshows.disableUnwatchedEpisodeCount"]

Issues

Ref #1164

@cewert cewert added the bug-fix This fixes a bug. label Oct 1, 2024
@cewert cewert requested a review from a team as a code owner October 1, 2024 18:16
@cewert cewert merged commit c3aebee into jellyfin:2.1.z Oct 2, 2024
13 checks passed
@cewert cewert deleted the fix-series-homeitem-crash branch October 2, 2024 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix This fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants