Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-759

Unintended modifications of dateTime values while doing copy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.3, 2.0-beta2
    • 1.3.4
    • BPEL Runtime
    • None
    • Apache ServiceMix 3.3

    Description

      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.

      <variable name="dateTime1" type="xsd:dateTime"/>

      <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

      Attachments

        Issue Links

          Activity

            People

              rrusin Rafal Rusin
              rrusin Rafal Rusin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: