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

List:       opennms-devel
Subject:    Re: [opennms-devel] space character in asset
From:       ayresw <ayresw () gmail ! com>
Date:       2007-06-20 2:04:37
Message-ID: 1182305077.8453.34.camel () localhost ! localdomain
[Download RAW message or body]

I've done some testing and it looks like the empty string "" works as
well as a space " " with a rule including displayCategory != "test".
Didn't try it with pollerCategory, but I assume the rule processing is
the same(?)

--Bill--

On Tue, 2007-06-19 at 15:34 -0400, Tarus Balog wrote:
> On Jun 19, 2007, at 2:31 PM, DJ Gregor wrote:
> 
> > Hmm... maybe we should use an empty string instead of a string
> > consisting only of a space.  Tarus, and others, do you know of any
> > problems with using an empty string (not a NULL) instead of a space.
> 
> I added it to get around problems with the fields being NULL. If you  
> have a "not" filter like:
> 
> pollercategory != "TEST"
> 
> the select will not include nodes with a null pollercategory. I'm all  
> for using that there fancy "empty string" if it gets around my issue.
> 
> -T
> _______________________________________________________________________
> Tarus Balog, OpenNMS Maintainer             Main:   +1 919 533 0160
> The OpenNMS Group, Inc.                     Fax:    +1 503 961 7746
> Skype: tarusb                               Direct: +1 919 647 4749
> Email: tarus@opennms.org                    URL: http://www.opennms.org
> PGP Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
> 
> opennms-devel mailing list
> 
> To *unsubscribe* or change your subscription options, see the bottom of this page:
> https://lists.sourceforge.net/lists/listinfo/opennms-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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