Project

General

Profile

Bug #23052

parameter=True ignored in Factory attributes if const=True or publish=False

Added by Marco Mambelli 3 months ago. Updated 18 days ago.

Status:
New
Priority:
High
Category:
-
Target version:
Start date:
08/03/2019
Due date:
% Done:

0%

Estimated time:
First Occurred:
Occurs In:
Stakeholders:

HEPCloud

Duration:

Description

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 or publish=False
This is not happening in the Frontend.
The ones below are all valid configuration lines, no error is flagged.

All failing to send as parameter:

           <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" />

OK as parameter:

      <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" />

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

History

#1 Updated by Marco Mambelli 3 months ago

  • Description updated (diff)
  • Subject changed from parameter=True ignored in Factory attributes if const=False or publish=False to parameter=True ignored in Factory attributes if const=True or publish=False

#2 Updated by Marco Mascheroni 3 months ago

  • Target version changed from v3_5_1 to v3_6_1

#3 Updated by Marco Mascheroni 18 days ago

  • Target version changed from v3_6_1 to v3_7


Also available in: Atom PDF