Project

General

Profile

This project is closed and read-only.

Actions

Bug #3805

closed

"Services" and "Recording" tabs show no data in Firefox - Windows - uknown language settings (Java Script Error)

Bug #3805: "Services" and "Recording" tabs show no data in Firefox - Windows - uknown language settings (Java Script Error)

Added by Axel Suppantschitsch over 10 years ago. Updated over 10 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
Configuration
Target version:
-
Start date:
2016-05-16
Due date:
% Done:

100%

Estimated time:
Found in version:
4.1.2038
Affected Versions:

Description

The "Services" and "Recording" tabs do not show any data with Firefox (46.0.1) although the data is present and available (empty lists). With other browsers (Chrome, Edge) there is no issue. The Firefox JS console shows the following error:

RangeError: invalid language tag: idnode.js:380:30

The issue has already been addressed by the following changeset to build 4.1.1982: [[https://tvheadend.org/projects/tvheadend/repository/revisions/4169e8e2c4758c4f45ab33ca6525c414f17cbd8b]]

Unfortunately the issue is still present with build 4.1.2038.

Updated by Jaroslav Kysela over 10 years ago Actions #1

  • Subject changed from "Services" and "Recording" tabs show no data in Firefox (Java Script Error) to "Services" and "Recording" tabs show no data in Firefox - Windows - uknown language settings (Java Script Error)

Firefox under linux is fine (Czech language settings) - it must be a problem for the specific firefox configuration / OS usage.

Updated by Jaroslav Kysela over 10 years ago Actions #2

I need to know the contents of tvheadend.language javascript variable.

Updated by Axel Suppantschitsch over 10 years ago Actions #3

The tvheadend.language variable seems to empty: tvheadend.language = ""

Updated by Axel Suppantschitsch over 10 years ago Actions #4

The tvheadend.language variable seems to be empty: tvheadend.language = ""

Updated by Jaroslav Kysela over 10 years ago Actions #5

This variable is assigned to:

  tvheadend.language = window.navigator.userLanguage || window.navigator.language;

Appearently, your browser does not return this info.

Updated by Axel Suppantschitsch over 10 years ago Actions #6

Well, I just checked the browser language preferences. It was empty. I added English as a default and now it works. As a browser obviously can have an empty language preference, I would suggest to check if the variable is empty and if it is to set it by default to English.

Updated by Mark Clarkstone over 10 years ago Actions #7

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|5dfc7d510b30fe02b9bb3c1b118a628d0b7358e8.

Updated by Jaroslav Kysela over 10 years ago Actions #8

Fixed in v4.1-2047-g5dfc7d5 . Thanks Mark .

Updated by Axel Suppantschitsch over 10 years ago Actions #9

Great, thanks.

Actions

Also available in: PDF Atom