This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Wrong Validation Error on repeatEvery | ||
---|---|---|---|
Product: | soa | Reporter: | Vitaly Bychkov <lativ> |
Component: | BPEL Validation | Assignee: | Vladimir Yaroslavskiy <yaroslavskiy> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Test project |
Description
Vitaly Bychkov
2008-04-15 09:26:26 UTC
diff in release61: private void checkNegative(RepeatEvery repeatEvery) { String value = repeatEvery.getContent(); + if (value == null) { + return; + } + if ( !(value.startsWith("'") && value.endsWith("'"))) { + return; + } try { Duration duration = DurationUtil.parseDuration(value, true); if (duration.hasMinus() || isZero(duration)) { addError("FIX_Negative_RepeatEvery", repeatEvery); // NOI18N } } catch (IllegalArgumentException e) {} } fixed in release61: 8ddd378eb44b also fixed in trunk. P1 - there is no workaround. Created attachment 60197 [details]
Test project
Verified with NetBeans IDE 6.1 RC2 (Build 200804170002) |