← Back to team overview

ubuntu-webapps-bugs team mailing list archive

[Bug 1279302] [NEW] Default HTML5 template app fails to load : Cannot read property 'classList' of null

 

Public bug reported:

On up-to-date trusty, I created an HTML5 application using the Ubuntu
SDK’s default template, and when opening the generated index.html
(without any modification), I’m seeing the following javascript error:

    Uncaught TypeError: Cannot read property 'classList' of null
(tabs.js:153)

If I update the 'data-role' attribute of tab <li>’s from "tab" to
"tabitem" in the generated index.html, the error goes away, but I’m not
seeing anything displayed.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubuntu-html5-theme 0.1.2+14.04.20140211.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-8.27-generic 3.13.2
Uname: Linux 3.13.0-8-generic x86_64
ApportVersion: 2.13.2-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Feb 12 12:27:49 2014
Dependencies: ubuntu-html5-ui-toolkit 0.1.2+14.04.20140211.1-0ubuntu1
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-11-12 (91 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
PackageArchitecture: all
SourcePackage: ubuntu-html5-theme
UpgradeStatus: Upgraded to trusty on 2013-12-17 (56 days ago)

** Affects: ubuntu-html5-theme (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug html5-blocker trusty

** Description changed:

  On up-to-date trusty, I created an HTML5 application using the Ubuntu
  SDK’s default template, and when opening the generated index.html
  (without any modification), I’m seeing the following javascript error:
  
-     Uncaught TypeError: Cannot read property 'classList' of null
+     Uncaught TypeError: Cannot read property 'classList' of null
  (tabs.js:153)
  
  If I update the 'data-role' attribute of tab <li>’s from "tab" to
- "tabitem", the error goes away, but I’m not seeing anything displayed.
+ "tabitem" in the generated index.html, the error goes away, but I’m not
+ seeing anything displayed.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: ubuntu-html5-theme 0.1.2+14.04.20140211.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-8.27-generic 3.13.2
  Uname: Linux 3.13.0-8-generic x86_64
  ApportVersion: 2.13.2-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Feb 12 12:27:49 2014
  Dependencies: ubuntu-html5-ui-toolkit 0.1.2+14.04.20140211.1-0ubuntu1
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2013-11-12 (91 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  PackageArchitecture: all
  SourcePackage: ubuntu-html5-theme
  UpgradeStatus: Upgraded to trusty on 2013-12-17 (56 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to ubuntu-html5-theme in
Ubuntu.
https://bugs.launchpad.net/bugs/1279302

Title:
  Default HTML5 template app fails to load : Cannot read property
  'classList' of null

Status in “ubuntu-html5-theme” package in Ubuntu:
  New

Bug description:
  On up-to-date trusty, I created an HTML5 application using the Ubuntu
  SDK’s default template, and when opening the generated index.html
  (without any modification), I’m seeing the following javascript error:

      Uncaught TypeError: Cannot read property 'classList' of null
  (tabs.js:153)

  If I update the 'data-role' attribute of tab <li>’s from "tab" to
  "tabitem" in the generated index.html, the error goes away, but I’m
  not seeing anything displayed.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: ubuntu-html5-theme 0.1.2+14.04.20140211.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-8.27-generic 3.13.2
  Uname: Linux 3.13.0-8-generic x86_64
  ApportVersion: 2.13.2-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Feb 12 12:27:49 2014
  Dependencies: ubuntu-html5-ui-toolkit 0.1.2+14.04.20140211.1-0ubuntu1
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2013-11-12 (91 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  PackageArchitecture: all
  SourcePackage: ubuntu-html5-theme
  UpgradeStatus: Upgraded to trusty on 2013-12-17 (56 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-html5-theme/+bug/1279302/+subscriptions


Follow ups

References