← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1488364] Re: [Qt 5.5] OxideQSslCertificate::issuer doesn't work in Qml

 

This bug was fixed in the package qtdeclarative-opensource-src
5.4.1-1ubuntu11~overlay6~1 in https://launchpad.net/~ci-train-ppa-
service/+archive/ubuntu/stable-phone-overlay

---------------

qtdeclarative-opensource-src (5.4.1-1ubuntu11~overlay6~1) vivid;
urgency=medium

  * debian/patches/QML-do-not-wrap-property-values-of-type-QVariant.patch:
    - Make certain QVariant properties accessible from QML. A backport
      from Qt 5.6.0. (LP: #1488364)

 -- Timo Jyrinki <timo-jyrinki@xxxxxxxxxx>  Mon, 25 Apr 2016 13:12:47
+0000


** Changed in: qtdeclarative-opensource-src (Ubuntu RTM)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtdeclarative-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1488364

Title:
  [Qt 5.5] OxideQSslCertificate::issuer doesn't work in Qml

Status in Canonical System Image:
  In Progress
Status in Oxide:
  Triaged
Status in qtdeclarative-opensource-src package in Ubuntu:
  New
Status in qtdeclarative-opensource-src package in Ubuntu RTM:
  Fix Released

Bug description:
  With older Qt versions, we use private APIs (QQmlValueType and
  friends) for exposing value types. However, with the built-in gadget
  support in Qt5.5, OxideQSslCertificate::issuer() is no longer working
  correctly.

  - When OxideQSecurityStatus::certificate() returns a null QVariant, the value gets converted to null in Qml. When it returns a QVariant containing OxideQSslCertificate, this gets correctly converted to a value type in Qml.
  - The QVariant returned from OxideQSslCertificate::issuer() gets converted to an object in Qml (verified with typeof), and calling toString() on the object gives "QVariant(QVariant): undefined".

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1488364/+subscriptions