Re: how to get a list of available groups

Chris Burdess <[email protected]>
Newsgroups gmane.comp.java.classpath.extensions.javamail
Message-ID <[email protected]>
Ron Smits wrote:
> The function called from NNTPRootFolder to test the setting of this is
> ns.isListAll(). this calls the function propertyIsTrue which calls the
> function getProperty. This function (we all still here) will call
> session.getProperty ("mail.nntp."+key). But the key from isListAll is
> the fully qualified property. Which makes the property we are trying to
> get mail.nntp.mail.nntp.listall which fails so we try
> mail.mail.nntp.listall which fails also. So the function will return
> null. From here we cascade back telling everybody we don't have that
> key.
> 
> am I nutz? I will change isListAll to just use the key "listall". see if
> that helps
> ...
> I am pleased that in this regard I am not nutz. Changing the key to
> listall sorted the problem.

Thanks for tracking down this bug. I'll have a fix in CVS this evening.
-- 
Chris Burdess
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.