Ha, I see it's in https://issues.apache.org/jira/browse/OFBIZ-3421
Jacques
From: "Jacques Le Roux"
Just a detail: this is certainly not in trunk since around r883364 I have replaced all these kinds of idioms by some kinds of
UtilValidate.is*Empty(), here for instance: UtilValidate.isNotEmpty(
Just a detail: this is certainly not in trunk since around r883364 I have replaced all these kinds of idioms by some kinds of
UtilValidate.is*Empty(), here for instance: UtilValidate.isNotEmpty()
Jacques
From: "Adam Heath"
Bob Morley wrote:
Actually I just did a quick test and the SAX parse
Bob Morley wrote:
> Actually I just did a quick test and the SAX parser returns all attributes
> that are defined in the document (even if they have empty string as their
> value). The code as originally written ...
>
> // treat empty strings as nulls
>
be consist with
what you get on the initial create and would be a force back to "blank" on
an update. Not having the field clearly implies ignore (which is what it
does now), etc etc etc.
Anyone buying that? :)
--
View this message in context:
http://n4.nabble.com/Supporting-null-i
Adrian Crum wrote:
> Plus, I like being specific - using fieldName="null" makes it clear what
> you intend to do.
="null" is a string, who's contents are null. There can be no other
way to interpet that.
Better would be to do null_$field="", or some such. You can
definately tell when an attribu
had done in this resolution.
The net result of this, is that we would likely have to blow through about
1400 instances of *Data.xml files that are explicitly setting fields to =""
since it is likely that they really want them ignored.
--
View this message in context:
http://n4.nabble.com/Supporting-null-in-data-load-update-tp1100195p1100195.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.
of keyword which is what I had done in this resolution.
>
> The net result of this, is that we would likely have to blow through about
> 1400 instances of *Data.xml files that are explicitly setting fields to =""
> since it is likely that they really want them ignored.
> --
> View this message in context:
> http://n4.nabble.com/Supporting-null-in-data-load-update-tp1100195p1100195.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
smime.p7s
Description: S/MIME cryptographic signature
they really want them ignored.
--
View this message in context:
http://n4.nabble.com/Supporting-null-in-data-load-update-tp1100195p1100195.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.