dmwm / PHEDEX

CMS data-placement suite
8 stars 18 forks source link

Lifecycle agent complains about non-mandatory parameters in subscribe workflow #896

Closed ericvaandering closed 10 years ago

ericvaandering commented 10 years ago

Original Savannah ticket 95537 reported by wildish on Wed Jun 20 08:52:13 2012.

Hi,

Lifecycle crashes with this message if the subscription 'TimeStart' in the 'T1Subscribe' section of the config is undef or 0:

2012-06-20 13:28:40: Lifecycle.pl[19699]: fatal: No TimeStart defined for T1 in "Raw data"

However, 0 and undef are both valid values for 'TimeStart' (meaning 'all data in dataset').

Workaround - set this in the config:

'TimeStart' => 1

(we don't have blocks injected before Thu Jan 1 00:00:01 UTC 1970 in the DB anyway...)

Not an issue in this case, but the LifeCycle should allow to set undef/0 for some config parameters if these values are allowed in the datasvc.

Cheers Nicolo'

ericvaandering commented 10 years ago

Comment by wildish on Mon Jun 25 04:04:09 2012

fixed, will go into the next release

ericvaandering commented 10 years ago

Closed by wildish on Mon Jun 25 04:04:09 2012