[Bug 1674824] Re: Content interface plugs autoconnect to the wrong provider

2017-03-24 Thread Pat McGowan
** Changed in: canonical-devices-system-image Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1674824 Title: Content interface plugs autoconnect to the wrong

[Bug 1674824] Re: Content interface plugs autoconnect to the wrong provider

2017-03-23 Thread Jamie Strandboge
FYI for future reference, I refined the snap declaration to be even more specific: slots: content: allow-auto-connection: - plug-attributes: content: $SLOT(content) slot-attributes: content: ubuntu-app-platform1 slot-publisher-id:

[Bug 1674824] Re: Content interface plugs autoconnect to the wrong provider

2017-03-23 Thread Jamie Strandboge
There are several things going on: 1. your snap is using this for plugging the ubuntu-app-platform content interface: plugs: shared1: content: shared1 interface: content target: shared1 default-provider: provider1:shared1 shared2: content: shared2 interface: content

[Bug 1674824] Re: Content interface plugs autoconnect to the wrong provider

2017-03-23 Thread Pat McGowan
to repro currently install these packages from edge: ubuntu-app-platform mir-libs ubuntu-docviewer-app -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1674824 Title: Content interface plugs

[Bug 1674824] Re: Content interface plugs autoconnect to the wrong provider

2017-03-23 Thread Jamie Strandboge
@Pat - 'Shouldn't this be declaring autoconnect for the slot "platform" and not "content"?' No, 'content' is correct because that is the interface name. 'platform' is a reference used by the snaps and not for the snap declaration. -- You received this bug notification because you are a member

[Bug 1674824] Re: Content interface plugs autoconnect to the wrong provider

2017-03-23 Thread Pat McGowan
This is what is the the assert file for ubuntu-app-platform Shouldn't this be declaring autoconnect for the slot "platform" and not "content"? type: snap-declaration format: 1 authority-id: canonical revision: 1 series: 16 snap-id: lVVvNqHcPT7JmLDWqwJ6q6ron9QBXcEz publisher-id: canonical slots:

[Bug 1674824] Re: Content interface plugs autoconnect to the wrong provider

2017-03-23 Thread Pat McGowan
What also happens is the snap is plugged into two different snaps at the same time, not sure if thats expected. This is after manually connecting mir-libs without first disconnecting from u-a-p $ snap interfaces | grep mir-libs mir-libs:mir-libs

[Bug 1674824] Re: Content interface plugs autoconnect to the wrong provider

2017-03-23 Thread Pat McGowan
Also happens with apps from the store without --dangerous -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1674824 Title: Content interface plugs autoconnect to the wrong provider To manage

[Bug 1674824] Re: Content interface plugs autoconnect to the wrong provider

2017-03-21 Thread Pat McGowan
** Description changed: I have ubuntu-app-platform installed which exposes a slot called "platform" I created a consumer that looks for slots provider1:shared1 and provider2:shared2 This is snap interfaces after installing my test snaps and without - issuing any connect commands +