[Swift-devel] [Bug 187] New: Invalid mappings returned by an ext mapper are silently ignored

bugzilla-daemon at mcs.anl.gov bugzilla-daemon at mcs.anl.gov
Sun Mar 22 14:13:02 CDT 2009


https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=187

           Summary: Invalid mappings returned by an ext mapper are
                    silently ignored
           Product: Swift
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: error-handling
          Severity: normal
          Priority: P2
         Component: SwiftScript language
        AssignedTo: benc at hawaga.org.uk
        ReportedBy: wilde at mcs.anl.gov


When an ext mapper returns erroneous results of the form:

sur$ ./OOPSOutPdt.map.sh -d out.n12 -p T1af7 -r 1 -s 1000 -t  "" -u ""
[0].pdt out.n12/T1af7/0000/00/00/T1af7.0000.0000.pdt
[1].pdt out.n12/T1af7/0000/00/01/T1af7.0000.0001.pdt
[2].pdt out.n12/T1af7/0000/00/02/T1af7.0000.0002.pdt

when it should be returning, eg:
[0] out.n12/T1af7/0000/00/00/T1af7.0000.0000.pdt
[2] out.n12/T1af7/0000/00/00/T1af7.0000.0000.pdt
[2] out.n12/T1af7/0000/00/00/T1af7.0000.0000.pdt

then it seems that no error is flagged in either output or the log file, and
the script hangs.

I would have expected something like "mapping returned by ext mapper
OOPSOutPdt.map.sh for variable resultpdt[] is for element not valid for target
variable: returned value was: [0].pdt
out.n12/T1af7/0000/00/00/T1af7.0000.0000.pdt

The log and swift test script are attached.

-- 
Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching the reporter.



More information about the Swift-devel mailing list