touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #100023
[Bug 1491411] [NEW] uri on ContentStore qml binding isn't set before getting the first transfer
Public bug reported:
A simple app with:
ContentStore {
id: appContentStore
scope: ContentScope.App
Component.onCompleted: console.log(uri)
}
Doesn't have any appContentStore.uri content and print this warning:
"Accessing ContentStore uri with NULL internal store"
However, the ContentStore uri only depends on the ContentScope
associated with it. I wanted to do some cleanups and check on the
backend side while fetching it. But setStore() which initialized the uri
is only available after the first transfer using that ContentStore.
The C++ side is doing that inside the constructor, I think the QML one
should do the same to make ContentStore a little bit more useful.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: content-hub 0.0+15.10.20150813-0ubuntu1
ProcVersionSignature: Ubuntu 4.1.0-3.3-generic 4.1.3
Uname: Linux 4.1.0-3-generic x86_64
ApportVersion: 2.18-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Sep 2 15:47:31 2015
InstallationDate: Installed on 2012-05-28 (1191 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: content-hub
UpgradeStatus: Upgraded to wily on 2014-10-31 (306 days ago)
** Affects: content-hub (Ubuntu)
Importance: Undecided
Status: New
** Tags: devexp
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to content-hub in Ubuntu.
https://bugs.launchpad.net/bugs/1491411
Title:
uri on ContentStore qml binding isn't set before getting the first
transfer
Status in content-hub package in Ubuntu:
New
Bug description:
A simple app with:
ContentStore {
id: appContentStore
scope: ContentScope.App
Component.onCompleted: console.log(uri)
}
Doesn't have any appContentStore.uri content and print this warning:
"Accessing ContentStore uri with NULL internal store"
However, the ContentStore uri only depends on the ContentScope
associated with it. I wanted to do some cleanups and check on the
backend side while fetching it. But setStore() which initialized the
uri is only available after the first transfer using that
ContentStore.
The C++ side is doing that inside the constructor, I think the QML one
should do the same to make ContentStore a little bit more useful.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: content-hub 0.0+15.10.20150813-0ubuntu1
ProcVersionSignature: Ubuntu 4.1.0-3.3-generic 4.1.3
Uname: Linux 4.1.0-3-generic x86_64
ApportVersion: 2.18-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Sep 2 15:47:31 2015
InstallationDate: Installed on 2012-05-28 (1191 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: content-hub
UpgradeStatus: Upgraded to wily on 2014-10-31 (306 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/content-hub/+bug/1491411/+subscriptions
Follow ups