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.
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.
Created attachment 60311 [details] Project files
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.
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
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.
Created attachment 60361 [details] bpel file opened in NetBeans
Created attachment 60362 [details] the rest of the file
will fix it after patch1.
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
Additionally, these tests need to be re-enabled in Tonga tests when the tests pass.
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
> 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.
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
Fixed in trunk. Changeset: 72f2dc6f8c77.
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?
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, '�?��?��?��?�Hello ')</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>