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 126533 - mapper validation and mapping disablement
Summary: mapper validation and mapping disablement
Status: VERIFIED WORKSFORME
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Mapper (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Nikita Krjukov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-01 23:07 UTC by kiran_bhumana
Modified: 2008-11-11 23:04 UTC (History)
1 user (show)

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 2008-02-01 23:07:46 UTC
Mapper seems to identify the wrong types and disable the mapping by making the mouse pointer a "crossed-circle". This is
good, but if we are mapping to a string, everything is fine. Anything can be mapped to a string. I am doing a date
subtraction, and from the output of the subtraction operator I can't link a string node.

Also on a different note it may be useful to tell the user why the editor isin't allowing him to do that.
Comment 1 Sergey Lunegov 2008-02-04 10:17:25 UTC
Kiran, I think this the the feature of XPATH: everything can be implicitly casted to String (Nikita, correct if I'm
wrong). There is another part related to indication of wrong mapping -- it's should be implemented.
Comment 2 kiran_bhumana 2008-02-04 18:40:34 UTC
Looks like there is some mis communication. I am saying (as well as you are) that mapper should allow anything to be
connected to string. Current mapper doesn't do that, hence the bug.
Comment 3 Nikita Krjukov 2008-02-11 12:51:20 UTC
Kiran, the mapper doesn't chack types now. So I wonder what do you mean by "mapping to a string".  
Maybe you faced with a special restriction: I prohibit linking to the input item of a methoid if it 
has text specified inside the inplace editor. 

There is unclear issue here still because the user can specify an empty string and is looks confusing now. 
The field looks like empty, the field's type isn't shown and it's impossible to connect a link to it. 
Unfortunately I haven't good idea about it yet.
Comment 4 Nikita Krjukov 2008-03-14 15:43:56 UTC
Should be fixed. Please verify.
Comment 5 ggenipudi 2008-11-11 23:04:50 UTC
tested using caps6u1 11/11 build and tried to map from double to string and int to string and date to string and it
allowed it and threw warning message that from and to a different types.