Craig,

Your "fix" for NullReferenceException doesn't quite fix the problem. Your
change added the following code:


if (changes == null)
{
    return null;
}
But, in the instances that I've experienced where this becomes an issue
(non-existent topics), changes isn't null, it's changes.Latest that is null.

I'd suggest you go for something more like:


if ((changes == null) || (changes.Count == 0))
{
    return null;
}
Regards,

Derek.


On 8/9/07, Craig Andera <[EMAIL PROTECTED]> wrote:
>
>  OK, I think I've fixed this issue with build 2.0.0.79. We're still having
> the weird problem that Derek mentioned, which is what was causing this bug
> to manifest, but it was a problem with the core that was actually causing
> the exception. That is fixed, so you should be able to run without an
> exception now.
>
>
>
> Please do let us know about any other problems you have. This was a really
> valuable bug report – thanks!
>
>
>
> Oh, the latest checkin also fixed some bugs I found with the caching code.
> Specifically, deleted topics weren't being removed from the cache.
>
>
>
> My plan now is to revisit the performance tests, to take a closer look at
> pages that are still slow in 2.0 but not 1.8. I should be able to get to
> that tomorrow.
>
>
>
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Helen Ersando
> *Sent:* Tuesday, August 07, 2007 9:12 PM
> *To:* FlexWiki Users Mailing List
> *Subject:* Re: [Flexwiki-users] About Flexwiki's Authentication and
> Authorization
>
>
>
> okay... will do the same thing... start from a clean scratch... hmn, so
> you are not modifying anything here... like the <defaultNamespace> entry of
> the flexwiki.config file to have a value of a sqlprovider namespace?
>
> as of mine here, i have changed the value of the default namespace to a
> namespace that is already a sqlprovider type... and also, i have omitted the
> file system namespaces... because we wont be needing it... ours is to be
> purely DB...
>
> okay... attached are my modified flexwiki.config file and a screenshot of
> "select" from the dbo.Topic...
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Flexwiki-users mailing list
> Flexwiki-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flexwiki-users
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users

Reply via email to