2015-08-25 07:22:20 |
Chris Coulson |
bug |
|
|
added bug |
2015-08-25 07:22:25 |
Chris Coulson |
oxide: importance |
Undecided |
Medium |
|
2015-08-25 07:22:27 |
Chris Coulson |
oxide: status |
New |
Triaged |
|
2015-08-25 07:29:04 |
Chris Coulson |
summary |
[Qt 5.5] OxideQSslCertificate::issuer is never null from Qml |
[Qt 5.5] OxideQSslCertificate::issuer doesn't work in Qml |
|
2015-08-25 07:36:00 |
Chris Coulson |
description |
With older Qt versions, we use private APIs (QQmlValueType and friends) for exposing value types, and managed to make it work so that when OxideQSslCertificate::issuer() returns a null QVariant, the value is converted to null in Qml.
However, with the built-in gadget support in Qt5.5, this is no longer working and behaving inconsistently between 2 APIs:
- When OxideQSecurityStatus::certificate() returns a null QVariant, the value gets converted to null in Qml.
- When OxideQSslCertificate::issuer() returns a null QVariant, the value gets converted to an object in Qml (verified with typeof), and calling toString() on the object gives "QVariant(QVariant): undefined".
Both APIs return a null QVariant with a type of QMetaType::VoidStar |
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". |
|
2016-04-25 11:04:53 |
Timo Jyrinki |
bug task added |
|
qtdeclarative-opensource-src (Ubuntu) |
|
2016-04-25 11:05:04 |
Timo Jyrinki |
bug task added |
|
qtdeclarative-opensource-src (Ubuntu RTM) |
|
2016-04-28 13:10:40 |
Timo Jyrinki |
bug task added |
|
canonical-devices-system-image |
|
2016-04-28 13:10:47 |
Timo Jyrinki |
canonical-devices-system-image: importance |
Undecided |
Medium |
|
2016-04-28 13:11:05 |
Timo Jyrinki |
canonical-devices-system-image: assignee |
|
Zoltan Balogh (bzoltan) |
|
2016-04-28 13:11:08 |
Timo Jyrinki |
canonical-devices-system-image: milestone |
|
11 |
|
2016-04-28 20:51:49 |
Pat McGowan |
canonical-devices-system-image: status |
New |
In Progress |
|
2016-04-29 14:00:15 |
Ćukasz Zemczak |
qtdeclarative-opensource-src (Ubuntu RTM): status |
New |
Fix Released |
|
2016-05-02 05:39:20 |
Timo Jyrinki |
canonical-devices-system-image: status |
In Progress |
Fix Committed |
|
2016-05-24 13:36:48 |
Launchpad Janitor |
qtdeclarative-opensource-src (Ubuntu): status |
New |
Fix Released |
|
2016-06-02 12:17:14 |
Pat McGowan |
canonical-devices-system-image: status |
Fix Committed |
Fix Released |
|