ID 414398 - Renaming an object version using the geo.renameVersion function does not rename the version correctly

Follow

Problem summary
Renaming an object version using the geo.renameVersion function does not rename the version correctly

Customer reported version
mari.4.2v1

Customer reported platform
N/A

Steps to reproduce
1) Open the example head project

2) Within the Objects palette, right-click the Head_Geo and select Rename Version

3) Rename the version to 'A'

4) Run the following script within the Python Console. (This prints the result before and after the code is enacted)

geo = mari.geo.current()print '\nBEFORE'print geo.versionNames()for x in geo.versionList():    print x.name()geo.renameVersion('A', 'D')print '\nAFTER'print geo.versionNames()for x in geo.versionList():    print x.name()
Results:
As per the results in the Python Console, the identifier [u'A'] remains unchanged.

BEFORE[u'A']AAFTER[u'A']D

This is also shown in the Geometry > Version dropdown retaining version 'A' and not replaced with 'D' 
 
Note: While the Geometry > Version dropdown and identifier are not changed, the correct information is retained as the default choice when renaming this object again.

Expected behaviour
The geo.renameVersion function should change the version name correctly, in this example 'A' to 'D' within both the GUI and the identifier

Actual behaviour
The geo.renameVersion function does not change the version correctly in the GUI or the identifier.

Workaround
Unknown.

Reproduced by support
This bug has been reproduced in:
Mari 4.6v1 - Windows 7 - CentOS 7
Mari 4.5v2 - Windows 7
Mari 4.5v1 - Windows 7
Mari 4.2v2 - Windows 7
Mari 4.0v1 - Windows 7
Mari 3.4v4 - Windows 7
Mari 3.4v1 - Windows 7
Mari 3.3v1 - Windows 7
Mari 3.0v1 - Windows 7
Mari 2.6v5 - Windows 7 - CentOS 7

Earliest version tested
Mari 2.6v5
- This issue appears to be in all versions of the product

    We're sorry to hear that

    Please tell us why