Project

General

Profile

Bug #3805

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

Added by Axel Suppantschitsch over 8 years ago. Updated over 8 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.

History

#1

Updated by Jaroslav Kysela over 8 years ago

  • 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.

#2

Updated by Jaroslav Kysela over 8 years ago

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

#3

Updated by Axel Suppantschitsch over 8 years ago

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

#4

Updated by Axel Suppantschitsch over 8 years ago

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

#5

Updated by Jaroslav Kysela over 8 years ago

This variable is assigned to:

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

Appearently, your browser does not return this info.

#6

Updated by Axel Suppantschitsch over 8 years ago

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.

#7

Updated by Mark Clarkstone over 8 years ago

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

Applied in changeset commit:tvheadend|5dfc7d510b30fe02b9bb3c1b118a628d0b7358e8.

#8

Updated by Jaroslav Kysela over 8 years ago

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

#9

Updated by Axel Suppantschitsch over 8 years ago

Great, thanks.

Also available in: Atom PDF