ID 505884 - Metadata does not become visible in the UI when setting the setMetadataFlag option for METADATA_VISIBLE.

Follow

Problem summary
The Metadata tag does not become visible in the UI when setting the setMetadataFlag option for METADATA_VISIBLE.
 
Customer reported version
mari.4.8v2
 
Customer reported platform
centos7
 
Steps to reproduce
1) In Mari, open any project, then the Object panel.
2) Open the Python panel, and run the following snippet:
obj = mari.geo.current() obj.setMetadata("DD_ID4", 112) obj.setMetadataFlags("DD_ID4",mari.Metadata.METADATA_VISIBLE)
3) View the User Attributes for any metadata.
 
 
 
Expected behavior
The metadata tag should appear in the User Attributes of the Object panel when adding the argument METADATA_VISIBLE in the setMetadataFlags() method.
 
Actual behavior
The metadata tag does not appear in the User Attributes of the Object panel UI after running the command for setMetadataFlags() with the argument METADATA_VISIBLE.
 
Workaround
There is no available workaround at this time.
 
Reproduced by Support in:
Mari 5.0v2 - Windows 10, CentOS 7
Mari 4.8v2 - Windows 10
Mari 4.8v1 - Windows 10, CentOS 7 - regression
 
Unable to reproduce bug in:
Mari 4.7v6 - Windows 10, CentOS 7
 
Earliest version tested
Mari 4.7v6 - This issue doesn't appear in this version and has regressed

 

    We're sorry to hear that

    Please tell us why