Details
-
Fix
-
Status: Approved (View Workflow)
-
Minor
-
Resolution: Fixed
-
2.8.0
-
None
Description
Current Situation
- YADE branches 1.x support the format string
[date:<date format>]
for date substitution.
-
- In YADE branches 1.x, this format string can be applied in the following elements:
- Supported but not documented in the XSD schema (therefore no description is available in the JOC GUI)
- Profile/.../SourceFileOptions/Selection/FilePathSelection/FilePath
- Profile/.../SourceFileOptions/Selection/FileSpecSelection/FileSpec
- Profile/.../SourceFileOptions/ResultSet/ResultSetFile
- Profile/.../TargetFileOptions/CumulateFiles/CumulativeFilename
- Supported and documented
- Profile/.../Rename/ReplaceWith
- Supported but not documented in the XSD schema (therefore no description is available in the JOC GUI)
- In YADE branches 1.x, this format string can be applied in the following elements:
- YADE branches 2.x support the format string
[date:<date format>]
only in the following element:
-
- Profile/.../Rename/ReplaceWith
- In all other locations listed above, the format string is ignored and not interpreted in YADE 2.x.
Desired Behaviour
- Full support for date substitution should be implemented in YADE branches 2.x in accordance with the behaviour of YADE branches 1.x.
- The XSD schema descriptions should be extended to clearly document:
- all elements that support date substitution
- the supported date format syntax
Patch
- A cumulative patch is available for JS7 versions 2.8.0 (2.8.0.1), 2.8.1, and 2.8.2.
- The patch upgrades YADE to the current state and additionally includes the fixes for
YADE-637,YADE-638,YADE-639, andYADE-640. - Note for JS7 versions 2.8.0 (2.8.0.1) and 2.8.1:
- Download
- JS7 version 2.8.0(2.8.0.1)
- js7_agent.2.8.0.1-PATCH.YADE-637.jar [ sha256 ] [ sig ] [ tsr ]
- JS7 version 2.8.1
- js7_agent.2.8.1-PATCH.YADE-637.jar [ sha256 ] [ sig ] [ tsr ]
- JS7 version 2.8.2
js7_agent.2.8.2-PATCH.YADE-637.jar [ sha256 ] [ sig ] [ tsr ]- See YADE-642
- JS7 version 2.8.0(2.8.0.1)
- Applying the patch
- Since
YADE-626, YADE can be executed not only as a standalone Shell Job, but also as an integrated Java JITL Job. - This means the patch can/should be deployed in two locations:
- <agent install>/lib/patches - for YADE configured as a JITL Job (com.sos.jitl.jobs.yade.YADEJob)
- See JS7 - Patches for Agent
- Note: The Agent instance has to be restarted to apply patch.
- <agent install>/yade/lib/patches - for YADE configured as a Shell Job
- Note: The Agent instance does not need to be restarted to apply the patch
- <agent install>/lib/patches - for YADE configured as a JITL Job (com.sos.jitl.jobs.yade.YADEJob)
- Since