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

Database external variables: Empty values not handled correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.1
    • 1.2
    • BPEL Runtime
    • None

    Description

      Assigning an empty string into any non-string valued type external variable element (e.g. integer, float, .timestamp, ..) leads to the following exception,

      19:28:50,093 ERROR [ASSIGN] Exception while initializing external variable
      org.apche.ode.bpel.evar.ExternalVariableModuleException: Unable to convert value "" for column "requestAmount" !
      at org.apache.ode.bpel.extvar.jdbc.DbExternalVariable$Column.fromText(DbExternalVariable.java:461)
      at org.apache.ode.bpel.extvar.jdbc.DbExternalVariable.parseXmlRow(DbExternalVariable.java:312)
      at org.apache.ode.bpel.extvar.jdbc.JdbcExternalVariableModule.writeValue(JdbcExternalVariableModule.java:244)

      Empty strings for these types should be interpreted as null values as well as supporting xsi:nil.

      Attachments

        Activity

          People

            boisvert Alex Boisvert
            boisvert Alex Boisvert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: