Uploaded image for project: 'YADE - Yet Another Data Exchange Tool'
  1. YADE - Yet Another Data Exchange Tool
  2. YADE-184

YADE should raise an exception when file name replacing reports an error

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.6.4043
    • 1.7
    • YADE Client
    • None

    Description

      Current Situation

      • YADE does not report errors when applying replacing/replacement parameters.
      • Resource: com.sos.VirtualFileSystem/src/com/sos/VirtualFileSystem/DataElements/SOSFileListEntry.java, Location: line 531
        				try {
        					strTargetFileName = objO.getreplacing().doReplace(strTargetFileName, objO.getreplacement().Value());
        				}
        				catch (Exception e) {
        					String strM = SOSVfs_E_0150.get();
        					logger.error(e.getLocalizedMessage(), new JobSchedulerException(strM, e));
        					// TODO replace/replacing: raise an Exception when replacing reports an error
        				}
        
      • The throwable in the .error Method does not raise the exception

      Desired Behavior

      • YADE reports any errors when applying regular expressions for replacing/replacement.

      Attachments

        Activity

          People

            re Robert Ehrlich
            kb Klaus-Dieter Buettner (Inactive)
            Robert Ehrlich Robert Ehrlich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified