Project

General

Profile

Bug #23052

Updated by Marco Mambelli 11 months ago

In the Factory entry attributes (I'm expecting the same for the global ones) an attribute (<attr ... ) with parameter=True is not published in the command line if const=True const=False or publish=False
This is not happening in the Frontend.
The ones below one belows are all valid configuration lines, no error is flagged.

All failing to send as parameter:
<pre>
<attr name="ATTEMPT1" glidein_publish="True" job_publish="True" parameter="True" type="int" value="2"/>
<attr name="ATTEMPT2" publish="True" glidein_publish="True" job_publish="True" parameter="True" type="int" value="2"/>
<attr const="True" glidein_publish="False" job_publish="False" name="ATTEMPT3" parameter="True" publish="False" type="string" value="2" />
<attr const="True" glidein_publish="False" job_publish="False" name="ATTEMPT14" parameter="True" publish="True" type="int" value="2" />
</pre>

OK as parameter:
<pre>
<attr name="ATTEMPT10" const="False" publish="True" glidein_publish="True" job_publish="True" parameter="True" type="string" value="echo AAA "/>
<attr const="False" glidein_publish="False" job_publish="False" name="ATTEMPT11" parameter="True" publish="True" type="string" value="0" />
</pre>

There should be either a configuration error or the behavior should change.

Back