← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1505197] [NEW] AdaptivePageLayout doesn't handle errors in QML of loaded pages

 

Public bug reported:

If a Page within AdaptivePageLayout has errors like type errors or
invalid syntax you will get the following cryptic message:

QQmlComponent: Component is not ready
file:///home/rumo/bau/uut.staging/qml/Ubuntu/Components/1.3/PageWrapperUtils.js:76: TypeError: Cannot read property 'status' of null

It's unhelpfully pointing toward an internal component of the APL and
nothing hints at the actual source of the problem.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: High
     Assignee: Christian Dywan (kalikiana)
         Status: Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1505197

Title:
  AdaptivePageLayout doesn't handle errors in QML of loaded pages

Status in ubuntu-ui-toolkit package in Ubuntu:
  Confirmed

Bug description:
  If a Page within AdaptivePageLayout has errors like type errors or
  invalid syntax you will get the following cryptic message:

  QQmlComponent: Component is not ready
  file:///home/rumo/bau/uut.staging/qml/Ubuntu/Components/1.3/PageWrapperUtils.js:76: TypeError: Cannot read property 'status' of null

  It's unhelpfully pointing toward an internal component of the APL and
  nothing hints at the actual source of the problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1505197/+subscriptions


Follow ups