Unintended modifications of dateTime values while doing copy
------------------------------------------------------------

                 Key: ODE-759
                 URL: https://issues.apache.org/jira/browse/ODE-759
             Project: ODE
          Issue Type: Bug
          Components: BPEL Runtime
    Affects Versions: 2.0-beta2, 1.3.3
         Environment: Apache ServiceMix 3.3
            Reporter: Rafal Rusin
            Assignee: Rafal Rusin


In a process below, there is only copying of '2010-01-25T15:38:54.82Z' value, 
but it ends up with '2010-01-25T14:38:54.82Z' - one hour switch. 

        <receive 
            name="start"
            partnerLink="HelloXQueryPartnerLink"
            portType="test:HelloXQueryPortType"
            operation="HelloXQuery"
            variable="myVar"
            createInstance="yes"/>

        <assign name="assign1">
                <copy>
              <from>xsd:dateTime('2010-01-25T15:38:54.82Z')</from>
              <to>$dateTime1</to>
            </copy>
            <copy>
              <bpws:from 
expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xquery1.0">
                                <![CDATA[
                                <test:test1 xmlns:test="http://test.org";>
                                    <test:test2/>
                                </test:test1>
                                ]]>
              </bpws:from>
              <to variable="myVar" part="TestPart"/>
            </copy>
        </assign>
        <assign>
                <copy>
              <from>$dateTime1</from>
              <to xmlns:test="http://test.org";>$myVar.TestPart//test:test2</to>
            </copy>
        </assign>
        <reply name="end"  
                partnerLink="HelloXQueryPartnerLink"
                portType="test:HelloXQueryPortType" 
                operation="HelloXQuery"
                variable="myVar"/>



1.X:
responded 2010-01-25T14:38:54.082Z (one hour switch)

trunk:
returned NO_RESPONSE:

11:52:12,499 | ERROR | ODEServerImpl-1 | ASSIGN                   | 
pache.ode.bpel.rtrep.v2.ASSIGN  100 | Assignment Fault: 
{http://docs.oasis-open.org/wsbpel/2.0/process/executable}subLanguageExecutionFault,lineNo=62,faultExplanation={http://docs.oasis-open.org/wsbpel/2.0/process/executable}subLanguageExecutionFault:
 Class org/w3c/dom/TypeInfo violates loader constraints


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to