Test case for issue 1239: fix + better error reporting
Test case for issue 1239: fix + better error reporting

madroach/oasis,diml/oasis,RadicalZephyr/oasis,gerdstolpmann/oasis,Chris00/oasis,madroach/oasis,RadicalZephyr/oasis,gerdstolpmann/oasis,jpdeplaix/oasis,Chris00/oasis,jpdeplaix/oasis,jpdeplaix/oasis,diml/oasis,Chris00/oasis,gerdstolpmann/oasis