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.

Bug 117688 - XPath validation: negative duration validation
Summary: XPath validation: negative duration validation
Status: RESOLVED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Validation (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-03 18:31 UTC by kiran_bhumana
Modified: 2008-03-28 15:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kiran_bhumana 2007-10-03 18:31:21 UTC
From the spec; "The duration for the <repeatEvery> is calculated when the parent scope starts. If the specified duration
value for <repeatEvery> is zero or negative then the standard fault bpel:invalidExpressionValue MUST be thrown"

Today the duration expression editor doesn't allow a negative value. So that is good, but the user can go to the source
mode and screw up with the expression. We should not allow negative duration. Validation should catch it.
Comment 1 Andrei Chistiakov 2008-01-17 11:09:04 UTC
Changed target milestone from Sierra to 6.1 in order to display correct info on
NB 6.1 dashboard
Comment 2 Vladimir Yaroslavskiy 2008-03-28 15:46:17 UTC
fixed: 900984624a67