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 135160 - Add validation rule which would alert about duplicate copies
Summary: Add validation rule which would alert about duplicate copies
Status: RESOLVED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Validation (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-15 16:25 UTC by Kirill Sorokin
Modified: 2009-04-03 11:07 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Test project (8.57 KB, application/x-compressed)
2008-05-19 13:55 UTC, Vladimir Yaroslavskiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kirill Sorokin 2008-05-15 16:25:45 UTC
The current mapper does not allow to map more than one entity to a single node in the right tree. However, it is
possible to do from the source view. At the same time it does not make much sense -- the order in which <copy>s are
executed is not defined. 

Validation engine could issue a warning or an error for this case.
Comment 1 Vladimir Yaroslavskiy 2008-05-19 13:55:33 UTC
Created attachment 61561 [details]
Test project
Comment 2 Vladimir Yaroslavskiy 2008-05-19 13:56:49 UTC
fixed: b61000c960e4, d81023f2941e, 7b34d441c38a
Comment 3 Nikita Krjukov 2009-01-29 16:30:34 UTC
I weaken condition to strengthen warning. Now only To expressions are compared. 
So warning should appear when there are to copy, which assign a value to the same target element, regardless of the
source of these assignments. 
The changeset is here: http://hg.netbeans.org/soa-dev/rev/c88c300600a4
Comment 4 Vladimir Yaroslavskiy 2009-04-03 11:07:54 UTC
related issue http://www.netbeans.org/issues/show_bug.cgi?id=161827