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 174989 - Using Appln Variables instead of Duration literal in Wait For throws "symbol 'P' is absent" error
Summary: Using Appln Variables instead of Duration literal in Wait For throws "symbol ...
Status: CLOSED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Validation (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-20 12:32 UTC by senthilprabhu
Modified: 2009-12-01 15:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (47.61 KB, application/pdf)
2009-10-20 12:37 UTC, senthilprabhu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description senthilprabhu 2009-10-20 12:32:08 UTC
Using Appln Variables instead of Duration literal in Wait For throws "symbol 'P' is absent" error.

In a wait, I give the following string

        <wait name="Wait1">
            <for>'${Duration}'</for>
        </wait>

where "Duration" is an application variable with value P0Y0M0DT0H0M10S

I get the following validation error
ERROR: Found error in duration: symbol 'P' is absent.

I should not get this error because P is present in my Application Variable
Comment 1 senthilprabhu 2009-10-20 12:37:12 UTC
Created attachment 89757 [details]
Screenshot
Comment 2 Vladimir Yaroslavskiy 2009-11-10 07:45:50 UTC
fixed in gfesbv22: d80dd3c48445
Comment 3 terrybraun 2009-12-01 15:45:36 UTC
The validation of the BPEL code should not be affected by the value of the application variable during runtime. 

Both of the "values"

  '${Duration}'
and
  'P0Y0M0DT0H0M10S'
now validate

This issue is tested and verified with the GFESB Build of 11/29/09, including NetBeans IDE 6.7.1 (Build 200911270027).