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 162866 - Manual code creation of JavaScript <assign> does not create custom icon
Summary: Manual code creation of JavaScript <assign> does not create custom icon
Status: CLOSED WORKSFORME
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-16 17:40 UTC by terrybraun
Modified: 2009-04-22 19:57 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 terrybraun 2009-04-16 17:40:06 UTC
If a user manually create the code for a JavaScript <assign> construct in the Source View, the Design time does not 
display the Assign with the new custom icon.
Comment 1 Sergey Lunegov 2009-04-17 06:58:50 UTC
Vladimir, please look how feasible to do it.
Comment 2 Vladimir Yaroslavskiy 2009-04-17 11:57:19 UTC
Can't reproduce.

What I do:

1. Create Synchronous sample,
2. Open the Synchronous.bpel file in the Source editor
3. Add empty JavaScript template after the Assign1

<assign name="ToBeJavaScript">
    <extensionAssignOperation>
        <Expression 
            xmlns="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/DataHandling" 
            expressionLanguage="urn:sun:bpel:JavaScript">
        </Expression>
    </extensionAssignOperation>
</assign>

4. Switch to Design view, see that the "ToBeJavaScript" activity has JavaScript icon (it's assign icon with "js" letters).
Comment 3 Vladimir Yaroslavskiy 2009-04-17 12:02:23 UTC
fixed.
Comment 4 Vladimir Yaroslavskiy 2009-04-17 12:19:48 UTC
resolution not "fixed", should be "closed".

please, use the latest autobuild >= April, 18 for verification (there was fix for NPE when CDATA section is absent).
Comment 5 terrybraun 2009-04-22 19:57:11 UTC
The step I was missing was a "Save" and "Reopen .bpel file". After doing this, the new icon does appear.

This issue is closed by QA.