State:New|TargetRelease:No Target|icon_bug|database:public|icon_mari|Resolution:Fixed|BugID:370523|
Problem summary
When removing manually an object in Mari, the Python API still lists it.
The Python API does not list the removed object, if the project has been saved and reopened again.
Running the clearMemoryCache() function did not resolve the issue.
Customer reported version
4.2v1
Customer reported platform
Multiple
Steps to reproduce
1) Open Mari
2) Open the ExampleProject Head
3) Go to Objects
4) Remove the Eyes geo
5) Press ctrl-alt-p to open the Python Console
6) Paste and evaluate the following python code:
obj = mari.geo.list()
for ob in obj: print ob.name()
7) Python still lists the Eyes object on the list
Workaround
Save the project after you have removed the object. Then close it and reopen it again. The removed object is not being listed anymore
Reproduced by support
This bug has been reproduced in:
Mari 4.2v1 - CentOS 7 - Windows 10
Mari 4.1v1 - CentOS 7 - Windows 10
Mari 4.0v1 - CentOS 7 - Windows 10
Mari 3.4v2 - CentOS 7 - Windows 10
Mari 3.4v1 - CentOS 7 - Windows 10
Mari 3.3v1 - CentOS 7 - Windows 10
Mari 3.2v1 - CentOS 7 - Windows 10
Mari 3.1v1 - CentOS 7 - Windows 10
Mari 3.0v4 - CentOS 7 - Windows 10
Unable to reproduce bug in:
Mari 2.6v5 - CentOS 7 - Windows 10 - regression
Earliest version tested
Mari 2.6v5 - This issue no longer appears in this version and has regressed
Expected behaviour
Python API not to list the removed object
Actual behaviour
Python API lists the object even though it has been manually removed
We're sorry to hear that
Please tell us why