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 133757 - Assign from string literal to another type should be caught by validation
Summary: Assign from string literal to another type should be caught by validation
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-04-23 12:17 UTC by Vladimir Yaroslavskiy
Modified: 2008-05-05 13:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test project (9.39 KB, application/x-compressed)
2008-04-23 12:18 UTC, Vladimir Yaroslavskiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Yaroslavskiy 2008-04-23 12:17:28 UTC
Assign from string literal to another type should be caught by validation.

<variable name="Variable1" messageType="ns1:message1"/>

<assign name="Assign1">
  <copy>
    <from>'string'</from>
    <to variable="Variable1" part="part1"/> 
  </copy>
</assign>

<message name="message1">
  <part name="part1" type="xsd:int"/>
</message>

see attached project.
Comment 1 Vladimir Yaroslavskiy 2008-04-23 12:18:43 UTC
Created attachment 60599 [details]
Test project
Comment 2 Vladimir Yaroslavskiy 2008-04-24 08:41:45 UTC
-------- Original Message --------
Subject: Re: BPEL assignment of a xsd:string to a message part (xsd:int) does not throw any error
Date: Wed, 23 Apr 2008 23:35:07 -0700
From: Murali Pottlapelli <Murali.Pottlapelli@Sun.COM>
To: Vladimir Yaroslavskiy <Vladimir.Yaroslavskiy@Sun.COM>

Please do not mark it as error, it should be warning.

Regards
Murali
Comment 3 Vladimir Yaroslavskiy 2008-05-05 13:17:24 UTC
fixed: 2774a54bd67d