I did some work looking into this today (logged bug 1769613 Editing
<http://sourceforge.net/tracker/index.php?func=detail&aid=1769613&group_id=1
13273&atid=665396> _ContentBaseDefinition fails when using SqlProvider).
Unfortunately, I was unable to reproduce the effect: things seem to work
fine for me.
Can you post your flexwiki.config file either here or to the bug on
SourceForge? I'd also like to see the results of doing "select * from Topic"
in your FlexWiki database. I don't need the Body column if that contains
anything sensitive.
One other thing you can try is to disable the security provider and see if
you still have the same problem. You can do that by adding
<Parameter Name="security.disabled" Value="true" />
To the appropriate <Provider> in your flexwiki.config file. If it still
fails without that in there, then it bolsters my theory that you've got bad
state in your database.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Craig
Andera
Sent: Tuesday, August 07, 2007 8:35 AM
To: 'FlexWiki Users Mailing List'
Subject: Re: [Flexwiki-users] About Flexwiki's Authentication and
Authorization
OK. This may be an artifact of bad data in your database, but only if you're
working with an existing DB built with FW 1.8. I'm assuming you're working
with a fresh copy. Unless I hear from you otherwise, I'll see if I can repro
this against a clean install of 2.0.0.72. I hope to get to this (and the
other bug you reported) today, but it may be later this week, as I've got a
bit of travel coming up.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Helen
Ersando
Sent: Monday, August 06, 2007 9:46 PM
To: FlexWiki Users Mailing List
Subject: Re: [Flexwiki-users] About Flexwiki's Authentication and
Authorization
yeah... im taking 2.0.0.72... i am using pure database as data backend...
modified default namespace entry in the flexwiki.config file... modified
authorization entry so that only authenticated users can access through... i
have tried and tested topic-level authorization, it worked fine... so now im
up to the namespace level; thus, i'll be editing the
_ContentBaseDefinition.html right?
then there's this error when i access the content base definition page,
details are:
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.
Source Error:
Line 606: TopicChangeCollection changes =
manager.AllChangesForTopic(topic.LocalName);
Line 607:
Line 608: return changes.Latest.Author
;
Line 609: }
Line 610: public DateTime GetTopicLastModificationTime(TopicName
topic)
Source File: E:\wiki and all
that!\downloads\flexwiki\2.0.0.52\FlexWikiCore-2.0.0.52-src\EngineSource\Fed
eration.cs Line: 608
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an
object.]
FlexWiki.Federation.GetTopicLastModifiedBy(TopicName topic) in E:\wiki
and all that!\downloads\flexwiki\2.0.0.52\FlexWikiCore-
2.0.0.52-src\EngineSource\Federation.cs:608
FlexWiki.Web.Default2.DoHead() in E:\wiki and all
that!\downloads\flexwiki\2.0.0.52\FlexWikiCore-2.0.0.52-src\FlexWiki.Web\def
ault.aspx.cs:149
ASP.default_aspx.__Render__control1
(HtmlTextWriter __w, Control parameterContainer) in e:\wiki and all
that!\downloads\flexwiki\2.0.0.52\FlexWikiCore-2.0.0.52-src\FlexWiki.Web\def
ault.aspx:11
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer,
ICollection children) +2113547
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
System.Web.UI.Page.Render(HtmlTextWriter writer) +26
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer,
ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter
adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1896
thanks craig,
helen
-------------------------------------------------------------------------
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