Autopilot returns the wrong custom proxy object when a previous one was registered with the same name

Bug #1422904 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
autopilot (Ubuntu)
New
Undecided
Unassigned

Bug Description

We are hitting this issue on the sanity test, where we have two different custom proxy objects named LanguagePage. One is from system settings and the other is from unity.

So the object registry will have:

'LanguagePage': <class 'ubuntu_system_settings.LanguagePage'>

When we try to select the language page from unity, it is nowhere on the registry so it will return a generic custom proxy object, instead of the custom one.

Revision history for this message
Leo Arias (elopio) wrote :

As a workaround, one of the classes can be renamed. But we need a better solution for this. Maybe allowing a list of classes, instead of a single item as the dictionary value.

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.