I have reproduced the bug you reported and will record it in the tracker.
This bug only manifests itself with new SQL Namespaces and when users are
logged in with ManageNamespace permission.
I will have a fix to the bug checked in later today if you can wait,
otherwise it is possible to get around the bug by removing 4 lines from the
topic _NormalBorders that I had you create earlier. The section below is in
the LeftBorder property and the lines to be deleted begin with '
Presentations.HiddenField' or 'Presentations.SubmitButton'
Presentations.FormStart(federation.LinkMaker.SimpleLinkTo("admin/TopicLocks.aspx"),
"post"), Presentations.HiddenField("namespace", aTopic.Namespace.Name),
Presentations.HiddenField("topic", [aTopic.Namespace.Name, ".",
aTopic.Name].ToOneString),
Presentations.HiddenField("returnUrl", federation.LinkMaker.LinkToTopic(
aTopic.Fullname)), Presentations.HiddenField("fileaction",
aTopic.IsTopicLocked.IfFalseIfTrue({"Lock"},{"Unlock"})),
Presentations.SubmitButton("goButton",
aTopic.IsTopicLocked.IfFalseIfTrue({"Lock
Topic"},{"Unlock Topic"})), Presentations.FormEnd(),
The object that is not set properly is 'IsTopicLocked'. This was not
implemented in the SQL file store, but should have returned false in all
cases, as it was not possible to lock a SQL store topic easily. I will
endeavor to have the SQL store topic lock functionality working when I check
in the fix.
Sorry about causing you any difficulties
John Davidson
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users