| Summary: | Assign null variable to a nonnullable variable doesn't throw exception | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Kathy Carroll <carrollk> |
| Component: | EDT | Assignee: | Huang Ji Yong <hjiyong> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | CC: | hjiyong, jqian |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Resolved by another defect verified with 20111115_2101 and closed |
function assignNullToNotNullable() { @Test } isNull decimal(5,2)?; d decimal(5,2); try d = isNull; LogResult.failed("no exception"); onException ( nvx NullValueException ) LogResult.passed("OK"); onException ( ax AnyException ) LogResult.failed("wrong exception"); end end