← Back to team overview

ubuntu-sdk-bugs team mailing list archive

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

 

** Also affects: qtdeclarative-opensource-src (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: qtdeclarative-opensource-src (Ubuntu RTM)
   Importance: Undecided
       Status: New

-- 
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 Oxide:
  Triaged
Status in qtdeclarative-opensource-src package in Ubuntu:
  New
Status in qtdeclarative-opensource-src package in Ubuntu RTM:
  New

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/oxide/+bug/1488364/+subscriptions