"soft" channels don't mix with "hard" channels

Bug #245683 reported by netmask
2
Affects Status Importance Assigned to Milestone
Smart Package Manager
New
Medium
Unassigned

Bug Description

Not sure if this is a bug or expected feature... I am writing a few plugins, and
was working on both of them on the same tree while I discovered the problem.

Plugin (1) add a few channels with the following command:

sysconf.set(("channels", alias), data)

Plugin (2) other adds with:

sysconf.set(("channels", alias), data, soft=True)

If I let both plugins enabled, I can only see channels added by plugin (2). If I
disable plugin (2), then I can see channels set by plugin (1). If I edit plugin
(2) code and remove the "soft" clause, then I can see all the channels set by both.

What could be wrong here?

Oh, new test: if I add the "soft=True" to plugin (1), I can see both again.

netmask (netmask)
Changed in smart:
importance: Undecided → Low
importance: Low → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.