Bug #12834
Placeholder %tc gives unexpected "not-a-date-time" string
Occurs In:
Scope:
Internal
Experiment:
-
SSI Package:
art
Description
I tried to use in TFileService
the same feature I use in RootOutput
to build a file name:
fileName: "test-%p_%tc.root"
My expectation is for
%p
to be replaced by the process name and %tc
to be replaced by a date/time representation of the creation of the ROOT file.RootOutput
module behaves as expected, while TFileService
is replacing %p
correctly and %tc% with a @not-a-date-time
string.
I attach a simple art test job.
History
#1 Updated by Kyle Knoepfel over 4 years ago
- Status changed from New to Resolved
- Assignee set to Kyle Knoepfel
- Target version set to 2.01.00
- % Done changed from 0 to 100
The error has been confirmed and fixed. The object that records the open/close times of the files was not being updated for TFileService
. Both %to
and %tc
placeholders should now work correctly for TFileService
.
Implemented with commit art:f3ff8ffc4.
#2 Updated by Kyle Knoepfel over 4 years ago
A note: %tc
is a placeholder corresponding to the time of file close not of file creation (which is %to
for file open).
#3 Updated by Kyle Knoepfel over 4 years ago
- Status changed from Resolved to Closed