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 178149 - convert extensions in an old format isn't correct
Summary: convert extensions in an old format isn't correct
Status: CLOSED WONTFIX
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Nikita Krjukov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-04 07:58 UTC by Alexander Permyakov
Modified: 2009-12-11 00:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
bpel project (345.10 KB, application/zip)
2009-12-04 08:00 UTC, Alexander Permyakov
Details
bpel with type cast (360.34 KB, application/zip)
2009-12-04 08:01 UTC, Alexander Permyakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Permyakov 2009-12-04 07:58:53 UTC
I try to convert extensions in an old format to new format in my project but converting is failed.

my projects in attachment
Comment 1 Alexander Permyakov 2009-12-04 08:00:06 UTC
Created attachment 92118 [details]
bpel project

add bpel project
Comment 2 Alexander Permyakov 2009-12-04 08:01:33 UTC
Created attachment 92119 [details]
bpel with type cast
Comment 3 Alexander Permyakov 2009-12-04 08:12:05 UTC
These projects contain the enclosed castes and castes into predicates
Comment 4 Nikita Krjukov 2009-12-07 07:33:31 UTC
There is a misunderstanding here. The format was changed for a GF ESB version 2.1.1, which was lunched on May-June 2009. The previous version 2.1 has old format (November-December 2008). But the development versions between these two dates has an intermediate format. It's almost the same as the new format, but has the namespace of the old format. Eventually it was decided to don't support intermediate format. The attached project has just this intermediate format. 

The formats can be differentiated visually. 

1. Example of the OLD format:

        <variable name="Var" type="ns2:base">
            <sxed:editor>
                <sxed:casts>
                    <sxed:cast path="$Var" type="ns0:subType" source="from"/>
                    <sxed:cast path="$Var2" type="ns0:subType" source="from"/>
                    <sxed:cast path="$Var3" type="ns0:subType" source="from"/>
                </sxed:casts>
                <sxed:predicates>
                    <sxed:predicate ..... source="from"/>
                </sxed:predicates>
            </sxed:editor>
        </variable>

Features:
 -- The nested construction aren't supported
 -- The casts (predicates, ...) are in a separate row. 
 -- There is a container <sxed:casts>, <sxed:predicates>, ... 

2. Example of the NEW format: 

        <variable name="Var" type="ns2:base">
            <sxed:editor>
                <sxed:cast path="$Var" type="ns0:subType" source="from">
                    <sxed:cast path="$Var2" type="ns0:subType" source="from"/>
                </sxed:casts>
                <sxed:predicate ..... source="from"/>
            </sxed:editor>
        </variable>

Features:
 -- The nested construction are supported
 -- The casts (predicates, ...) can be either in a row or nested. 
 -- There isn't a containers like <sxed:casts>
Comment 5 Nikita Krjukov 2009-12-07 07:39:58 UTC
Probably I messed up the versions in my previous comment. It looks like they should be GF2.0 and GF2.1 instead of GF2.1 and GF2.1.1
Comment 6 raghuvirkamath 2009-12-11 00:42:57 UTC
Verified in the latest build :- 


#PRODUCT
#--------------------
PRODUCT_NAME=Glassfish ESB
PRODUCT_BUILD=20091210-0720
PRODUCT_VERSION=2.2


After during the conversion using "Check Compatibility" the conversion happens fine  I am able to build the project.

Also the new format is as mentioned by the developer .

Hence closing this issue.