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 133056 - I18N - A BPEL file with i18n characters when open in NB gets truncated
Summary: I18N - A BPEL file with i18n characters when open in NB gets truncated
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vitaly Bychkov
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-04-16 22:14 UTC by prashantbhagat
Modified: 2008-10-13 03:31 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project files (98.03 KB, application/octet-stream)
2008-04-16 22:15 UTC, prashantbhagat
Details
bpel file opened in NetBeans (56.83 KB, image/jpeg)
2008-04-17 17:41 UTC, kaa
Details
the rest of the file (41.67 KB, image/jpeg)
2008-04-17 17:42 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description prashantbhagat 2008-04-16 22:14:26 UTC
When the file echoSubstringAfter.bpel (or any other bpel with i18n chars) is loaded in NB, it gets truncated because 
of  i18n special characters. You will need NB 6.1 with the enterprise SOA modules to load the attached project. Unzip 
the attached file and load the AssignBpel project. Now open the echoSubstringAfter.bpel and go to source. You will see 
that the file is truncated.

This is a serious bug and there is not workaround.
Comment 1 prashantbhagat 2008-04-16 22:15:27 UTC
Created attachment 60311 [details]
Project files
Comment 2 Samaresh Panda 2008-04-17 01:24:09 UTC
If I copy the .bpel file and rename the duplicate to a xml document (rename the extension) and open it in the editor, it
works fine. So my guess is, this is very specific to bpel documents.
Comment 3 Ken Frank 2008-04-17 01:46:28 UTC
adding i18n to summary and keyword.

Andrey, please replicate issue and attach gif or discuss
more with bug filer as to how to replicate.

ken.frank@sun.com
Comment 4 kaa 2008-04-17 17:39:05 UTC
reproducible in ja_JP locale
Product Version: NetBeans IDE 6.1 RC1 (Build 200804100130)
Java: 1.6.0_05; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; MS932; ja_JP
Project encoding UTF-8

I have a question:
What kind of locale/encoding was used for creation of this file?
Probably the file should be opened exactly in the same environment.




Comment 5 kaa 2008-04-17 17:41:31 UTC
Created attachment 60361 [details]
bpel file opened in NetBeans
Comment 6 kaa 2008-04-17 17:42:43 UTC
Created attachment 60362 [details]
the rest of the file
Comment 7 Sergey Lunegov 2008-04-25 07:44:40 UTC
will fix it after patch1.
Comment 8 prashantbhagat 2008-04-28 19:22:51 UTC
Please do not close this bug unless the tests under pass. Please contact me so that I can verify the fix.
\open-jbi-components\driver-tests\bpelse\i18n\assign\AssignJbi
Comment 9 prashantbhagat 2008-04-28 19:26:30 UTC
Additionally, these tests need to be re-enabled in Tonga tests when the tests pass.
Comment 10 Ken Frank 2008-05-26 18:39:34 UTC
since mentioned its serious issue, can it be fixed in 2nd netbeans patch ?
nomination date is by June 12, fix by June 15,
verify by June 19 ?

am adding the status whiteboard entry; please
remove it if issue cannot/should not be fixed
for patch 2.

ken.frank@sun.com
Comment 11 pgebauer 2008-05-26 19:54:11 UTC
> nomination date is by June 12, fix by June 15,
> verify by June 19 ?

I would like to remind following point from the nomination process:
"A bug must be fixed and verified by QE or by reporter in the trunk before being nominated for a patch."

I have no objections to nominate the issue for the patch2 provided that the issue will be fixed and verified in trunk
before nomination cut-off date (June 12). Otherwise the issue incorporation to the patch2 will be rejected.
Comment 12 Ken Frank 2008-05-26 20:54:15 UTC
sorry for misunderstanding about the patch whiteboard word process -
am removing that word until its known that it can be fixed for
patch 2 and after verification if so.

To developers - can this be fixed for patch 2 ?

ken.frank@sun.com
Comment 13 Vitaly Bychkov 2008-06-03 15:02:55 UTC
Fixed in trunk.
Changeset: 72f2dc6f8c77.
Comment 14 kaa 2008-06-03 15:57:11 UTC
I see multi byte chars replaced by strange symbols. This is not related to this issue but I'd like to check.
Probably it is a new one.

Question:
What kind of locale/encoding was used for creation of the file?
Comment 15 ggenipudi 2008-10-13 03:31:58 UTC
Tested and verified using Build 200810080102 and opened the attached project echoSubstringAfter.bpel and the file was
not truncated. The specical characters were there. please see below.

<?xml version="1.0" encoding="utf-8" ?>
<process name="echoSubstringAfter"
         targetNamespace="http://www.seebeyond.com/eInsight/echoSubstringAfter"
         sbynpxp:end_YLoc="249.0"
         sbynpxp:start_YLoc="120.0"
         sbynpxp:linkStyle="angular"
         sbynpxp:start_XLoc="50.0"
         sbynpxp:end_XLoc="614.0"
         xmlns:tns="http://www.seebeyond.com/eInsight/echoSubstringAfter"
         xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
         xmlns:sbynruntime="http://bpel.seebeyond.com/hawaii/5.0/privateExtension/runtime/"
         xmlns:ns0="http://stc.com/echoSubstringAfter"
         xmlns:sbynpxp="http://bpel.seebeyond.com/hawaii/5.0/privateExtension/presentation/"
         xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
         xmlns:sbyntracing="http://bpel.seebeyond.com/hawaii/5.0/privateExtension/tracing/"
         xmlns:sbyninc="http://bpel.seebeyond.com/hawaii/5.0/privateExtension/incompleteModel">
    <import namespace="http://stc.com/echoSubstringAfter"
            location="echoSubstringAfter.wsdl"
            importType="http://schemas.xmlsoap.org/wsdl/"></import>
    <partnerLinks>
        <partnerLink name="Client2BPLink"
                     partnerLinkType="ns0:SLT"
                     myRole="server"/>
    </partnerLinks>
    <variables>
        <variable name="echoSubstringAfter_Output"
                  messageType="ns0:echoSubstringAfter"></variable>
        <variable name="echoSubstringAfter_Input"
                  messageType="ns0:echoSubstringAfter"></variable>
    </variables>
    <sequence>
        <receive name="echoSubstringAfter"
                 partnerLink="Client2BPLink"
                 portType="ns0:echoSubstringAfter"
                 operation="echoSubstringAfter"
                 variable="echoSubstringAfter_Output"
                 createInstance="yes"
                 sbynpxp:XLoc="160.0"
                 sbynpxp:YLoc="169.0"></receive>
        <assign name="Assign"
                sbynpxp:XLoc="289.0"
                sbynpxp:YLoc="71.0">
            <copy>
                <from>substring-after($echoSubstringAfter_Output.part/value, &apos;�?��?��?��?�Hello &apos;)</from>
                <to>$echoSubstringAfter_Input.part/value</to>
            </copy>
        </assign>
        <reply name="echoSubstringAfter.Reply"
               partnerLink="Client2BPLink"
               portType="ns0:echoSubstringAfter"
               operation="echoSubstringAfter"
               variable="echoSubstringAfter_Input"
               sbynpxp:XLoc="387.0"
               sbynpxp:YLoc="159.0"></reply>
    </sequence>
</process>