When a source file name filter uses a <DATE> parameter, and the date format includes "<YY>" to represent a two-digit year, and the date range is set to "Today", files that should be matching for year 2020 fail. The error log will indicate "Filename not within date range"
- Diplomat Standard Edition, all versions prior to v8.2 released Jan 02, 2020
- Diplomat Enterprise Edition, all versions prior to v8.2 released Jan 02, 2020
Source File: File_<DATE>.csv
Source Date Format: <YY><MM><DD>
Source Date Range: Today
Then you can change to this until you update your Diplomat MFT version:
Source File: File_20<DATE>.csv
Source Date Format: <MM><DD>
Source Date Range: Today
We have changed the 2-digit year matching to be consistent with how Microsoft Windows and SQL Server operate by default, which is a 2-digit year interpretation range of "1950-2049". At some future date, we will make this a configurable option within our software.
For products under support, per the Coviant Product End of Life Policy, the preferred deployment method to correct this problem, if it affects to, is to use the Support Portal to re-download the installer for the version of Diplomat MFT that you are running, and run it in "Repair" mode.
Alternatively, you can apply a patch file, below.
For those that wish to address only this one bug, without reinstalling the entire software, a patch/hotfix is available for versions 8.2, 8.1, 8.0, and 7.3 in these locations. You must download the patch file that matches the exact version of Diplomat MFT that you are running. In the Diplomat Client, choose "Help > About" to determine the exact version you are running.
Instructions to install hotfix:
- Download the above hotfix JAR file to a location you can access via the Diplomat MFT Server machine
- Make a backup of your current server configuration (File > Backup)
- We will update the "diplomatServer.jar" file, which is found in the folder "C:\Program Files\Coviant Software\Diplomat-j\tomcatWebserver\webapps\diplomat\WEB-INF\lib"
- Make a copy of the current diplomatServer.jar file in case you need to roll-back. Copy "diplomatServer.jar" to a separate location like Desktop, or simply up one level in the folder tree.
- Stop the Diplomat MFT 64 Service. Disconnect any Diplomat Clients or Diplomat Job Monitors first to ensure a clean shutdown.
- Copy the hotfix jar file that you downloaded in step #1 into this folder.
- Start the Diplomat MFT 64 Service
- Connect with Diplomat Client and confirm that things are working as expected. You can use the "Run Now" on a job that previously failed on a "Today" date filter to ensure that it works
- In the event of a roll-back, simply stop the service and copy the backup of the current diplomatServer.jar file (the one you copied in step #3.1, above) and then restart the service.