Good morning,
i was just debugging a minilanguage program and found the following problem:
if the following sequence is processed several times in an iterate loop, and
one of these times a record was found in the PartyTaxAuthInfo table and the
last time no record was found, then the record of the previous time is
returned in partyTaxInfo in the last statement.
wouldn't it be nice if <filter-list-date and <first-from-list would nullify
the result when the input is null?
<find-by-and entity-name="PartyTaxAuthInfo"
map-name="partyTaxInfoSearch" list-name="partyTaxInfos"/>
<filter-list-by-date list-name="partyTaxInfos" to-list-name="fPartyTaxInfos"/>
<first-from-list entry-name="partyTaxInfo" list-name="fPartyTaxInfos"/>
now i have always to check to final result if not a previous result is still
there...or check 2 times if the result is null...
anybody any opinion on this? Am i overlooking something?
--
Regards,
Hans Bakker
ANT Websystems Co.,Ltd (
http://www.antwebsystems.com)
If you want to verify that this message really originates from
from the above person, download the public key from:
http://www.antwebsystems.com/hbakkerAntwebsystems.asc
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev