Autopilot returns the wrong custom proxy object when a previous one was registered with the same name
Bug #1422904 reported by
Leo Arias
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_
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.
To post a comment you must log in.
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.