State:New|TargetRelease:No Target|icon_bug|icon_modo|database:public|Resolution:None|BugID:349880|
Problem summary
The lx.args() command ignores empty arguments.
Customer reported version
modo.12.0v1
Customer reported platform
windows7
Steps to reproduce
1) Download the attached python script "emptyarguscript.py".
2) Launch Modo and switch to the Scripting layout.
3) In the Command line field, enter the following:
@pathtoscript\emptyarguscript.py "" "a" "b"
4) Run the script and then check the Event Log to see the printed results. Modo should print the empty argument, but it does not.
Workaround
n/a
Reproduced by support
This bug has been reproduced in:
Windows 10
12.1v1 Beta 4
12.0v1
11.2v3
10.2v4
macOS 10.13
12.1v1 Beta 4
10.2v4
Earliest version tested
10.2v4 - This issue appears to be in all versions of the product
Expected behaviour
The empty argument should be printed:
('', 'a', 'b')
Actual behaviour
The empty argument is ignored:
('a', 'b')
Steps to reproduce
.Workaround
We're sorry to hear that
Please tell us why