Database external variables:  Empty values not handled correctly
----------------------------------------------------------------

                 Key: ODE-266
                 URL: https://issues.apache.org/jira/browse/ODE-266
             Project: ODE
          Issue Type: Bug
          Components: BPEL Runtime
    Affects Versions: 1.1.1
            Reporter: Alex Boisvert
            Assignee: Alex Boisvert
             Fix For: 1.2


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.


-- 
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