Bug 235381 - Soap parts attribute field doesn't update after it is modified
Summary: Soap parts attribute field doesn't update after it is modified
Status: CLOSED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xsd (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M7   Edit
Assignee: Valentin Baciu CLA
QA Contact: Valentin Baciu CLA
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks: 274208
  Show dependency tree
 
Reported: 2008-06-03 12:12 EDT by Keith Chong CLA
Modified: 2009-06-01 16:21 EDT (History)
3 users (show)

See Also:


Attachments
Patch to fix the Parts attribute field of soap:body (1.17 KB, patch)
2009-04-17 15:19 EDT, Jesse Valianes CLA
valentinbaciu: iplog+
valentinbaciu: review+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Chong CLA 2008-06-03 12:12:26 EDT
Select the binding input or output
Select the soap body (ensure generated binding content is SOAP)
In the Extension Details, select the ... button and choose a part
Click OK
--> The attribute is not updated.

Amy, this may be in the XSD Editor extensions code, so please have a look at it first, and then reassign.

Thanks.
Comment 1 Jesse Valianes CLA 2009-04-17 15:19:00 EDT
Created attachment 132286 [details]
Patch to fix the Parts attribute field of soap:body

I managed to fix this problem by including a call to refresh() inside the InternalControlListener.widgetSelected() method defined within ExtensionDetailsView.java.

See my <a href="http://jvalianes.blogspot.com/2009/04/another-bug-fix-part-1.html">Blog Post</a> for more details.
Comment 2 Valentin Baciu CLA 2009-04-27 10:36:40 EDT
Thank you for the patch Jesse, I have committed and released to WTP 3.1 builds > v200904271435 UTC.

I have also opened an enhancement request to fix this the proper way. See bug 273857.
Comment 3 Raymond Lai CLA 2009-05-04 13:01:07 EDT
I verified the fix using 3.1M7-20090504062826.
Comment 4 Valentin Baciu CLA 2009-05-04 13:09:08 EDT
Closing.