ID 428992 - Unable to set metadata correctly within certain nodes using the setMetadataRange function

Follow

Problem summary
When using the setMetadataRange functions to set a range, the function will cause the following error in some nodes:
File "<string>", line 16, in <module>
ValueError: Invalid min type: 'double'; expecting: 'float'

Note: This has only been reproduced in a few nodes, notably the 'Normal Strength' node.

Customer reported version
mari.4.6v3

Customer reported platform
windows10

Steps to reproduce

1) Create a new example head example project

2) Open the Node Graph

3) Open the Python Console, and paste in the following code snippet:
nodeGraph = mari.geo.current().nodeGraph()

NS = nodeGraph.createNode("Filter/Gamma")
NS.setMetadataRange("Gamma", 1.0, 2.0)

NS = nodeGraph.createNode("Filter/Normal Strength")
NS.setMetadataRange("Strength", 1.0, 2.0)
Result: Within the Node Graph, the 'Gamma' and 'Normal Strength' nodes are created, although the 'Normal Strength' node's range does not change and the following error can be seen in the Python Console:
File "<string>", line 16, in <module>
ValueError: Invalid min type: 'double'; expecting: 'float'

Expected behaviour
The 'Strength' attribute exists and the range should be amended to '1-2', as the Gamma node was.

Actual behaviour
The 'Normal Strength' node is created, but the range is not amended to '1-2'

Workaround
Unknown.

Reproduced by support
This bug has been reproduced in:
Mari 4.6v3 - Windows 10
Mari 4.6v1 - Windows 10

Unable to reproduce bug in:
Mari 4.5v2 - Windows 10

Earliest version tested
Mari 4.5v2
- The 'Normal Strength' node was not available before Mari 4.6v1

    We're sorry to hear that

    Please tell us why