Forum OpenACS Development: Wiki

Collapse
1: Wiki
Posted by Nick Carroll on
I have a number of questions relating to the Wiki package...

Why is there now a dependency on the cms package in Wiki?

Am I suppose to mount cms somewhere before mounting a wiki? I tried mounting the cms package, but I get the message " We had a problem creating the application.".

I get error messages when displaying the Admin and Changes pages for a wiki page. Has something to do with no root_key in cm_modules.

Collapse
2: Re: Wiki (response to 1)
Posted by Nick Carroll on
I get the error below when displaying Admin and Changes pages for the wiki:

The getRootFolderID doesn't return anything, as there are no entries in the cm_modules table.

Selection did not return a value, and no default was provided
while executing
"db_string sitemap_get_root_id """
(procedure "cm::modules::sitemap::getRootFolderID" line 3)
invoked from within
"cm::modules::${mount_point}::getRootFolderID $package_id"
invoked from within
"set root_id [cm::modules::${mount_point}::getRootFolderID $package_id]"
("uplevel" body line 21)
invoked from within
"uplevel {
ad_page_contract {
List contents of a folder
List path of this folder
List path of any symlinks to this folder


@aut..."
(procedure "code::tcl::/var/lib/aolserver/development/packages/cms/www/m..." line 2)
invoked from within

Collapse
3: Re: Wiki (response to 1)
Posted by Dave Bauer on
Nick,

I am not sure why a CMS dependency was added. Apparently it was added to build some administrative pages. I think this code was added from Project/Open and not fully integrated back to OpenACS. For now I suggest checking it out from an earlier version in CVS.

Collapse
4: Re: Wiki (response to 1)
Posted by Dave Bauer on
I reverted to the pre project/open wiki code. I think some of the features are interesting, but the implementation would be better without an extra dependency on CMS. All of the features of CMS that are required for this should probably be added to the CR directly.
Collapse
5: Re: Wiki (response to 1)
Posted by Malte Sussdorff on
Mea culpa for committing this in the first place without realising the dependencies (I had P/O installed so it worked...). Thanks for the revert Dave.
Collapse
6: Re: Wiki (response to 1)
Posted by Dave Bauer on
Malte,

Can you list the features that are in the P/O version of wiki that we are missing so we can come up with a plan to implement them?

Thanks

Collapse
7: Re: Wiki (response to 1)
Posted by Nick Carroll on
Thanks Dave, I was going nuts trying to debug the thing.