XmlListModel with xml string triggers AppArmor denials
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtdeclarative-opensource-src (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
XmlListModel with xml string triggers AppArmor denials, when the xml prop is set no network call should be made since the source is a just a string not a url and no source prop is set
import QtQuick 2.4
import Ubuntu.Components 1.3
import Ubuntu.
import QtQuick.
import "servers_list.js" as Servers
MainView {
objectName: "mainView"
application
width: units.gu(50)
height: units.gu(75)
automaticOr
implicitWidth: units.gu(90)
implicitHeight: units.gu(71)
ListItem.
id: srvSelector
model: XmlListModel {
id: srvModel
xml: Servers.list
}
delegate: OptionSelectorD
text: hostname + ":" + port;
}
}
}
# servers_list.js
.pragma library
var list = '<?xml version="1.0" encoding=
'<server>
'<server>
'<server>
AppArmor denials :
QNetworkManager
QNetworkManager
affects: | ubuntu-sdk-ide → ubuntu-ui-toolkit |
affects: | ubuntu-ui-toolkit → ubuntu-ui-toolkit (Ubuntu) |
affects: | ubuntu-ui-toolkit (Ubuntu) → qtdeclarative-opensource-src (Ubuntu) |
Changed in qtdeclarative-opensource-src (Ubuntu): | |
assignee: | nobody → Timo Jyrinki (timo-jyrinki) |
Changed in qtdeclarative-opensource-src (Ubuntu): | |
assignee: | Timo Jyrinki (timo-jyrinki) → nobody |
Status changed to 'Confirmed' because the bug affects multiple users.