[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [jboss-user] [jBPM] New message: "Re: JBPM 4.3 EL cannot read
From:       Ronald van Kuijk <do-not-reply () jboss ! com>
Date:       2010-01-31 22:52:19
Message-ID: 1714453141.31241264978340126.JavaMail.jboss () clearspace02 ! app ! mwc ! hst ! phx2 ! redhat ! com
[Download RAW message or body]

User development,

A new message was posted in the thread "JBPM 4.3 EL cannot read process pro=
perty with null value":

http://community.jboss.org/message/523228#523228

Author  : Ronald van Kuijk
Profile : http://community.jboss.org/people/kukeltje

Message:
--------------------------------------------------------------
What I meant whas that you could have put whatever variable name in the che=
ck, it always returns null, even if the variable is not threre at all. Sorr=
y if I formulated that wrongly.
=C2=A0
So the current behaviour is:
=C2=A0
|| *Case* || *Java* || *EL* ||
| var exists and has a non-null value | value | value |
| var exists and has value of 'null' | null | fails |
| var does not exists | null | fails |
=C2=A0
This should at be identical I think, at least for the case where the variab=
le exists. I created a little patch that solves this (all unit tests still =
are green). If you file a jira issue about this, I'll attach the patch to i=
t that make EL return null if the variable exists but has a value of null. =
It does make the last case identical (not it should, and if it should, shou=
d it fail? or should EL also return null?) Ask that in the Jira issue to.

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org=
/message/523228#523228




_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic