State:Closed|icon_bug|icon_katana|database:public|Resolution:Fixed|TargetRelease:3.5v1 (Geolib3-MT)|BugID:278383|
Problem summary:
The attributeName widget type is not currently exposed with a corresponding widget type menu item in the UI. Nevertheless, it can be used for parameter hints, e.g. via NodegraphAPI scripting.
When using it for a string parameter, and displaying the parameter's widget in the UI, exceptions are raised.
Steps to reproduce:
Expected behaviour:
The parameter's hint string is updated, and no exception is raised.
Actual behaviour:
The parameter's hint string is updated, and an exception is raised with a traceback similar to the following:
A TypeError occurred in "FormWidget.py": setLocked() takes exactly 2 arguments (3 given)
Traceback (most recent call last):
File "bin/python/UI4/software_python/QT4FormWidgets/v0/ValuePolicy.py", line 365, in _HandleQueuedChanges
File "bin/software_python/Utils/v5/WeakMethod.py", line 37, in __call__
File "bin/python/UI4/Widgets/SortablePanel.py", line 210, in valueChangedEvent
File "bin/python/UI4/Widgets/SortablePanel.py", line 301, in setLocked
File "bin/python/UI4/software_python/QT4FormWidgets/v0/FormWidget.py", line 1267, in setLocked
TypeError: setLocked() takes exactly 2 arguments (3 given)
Other exceptions may be raised for example from event handlers.
Workaround:
No known workaround.
Reproduced versions/platforms:
Customer version/platform:
Not supplied.
We're sorry to hear that
Please tell us why