Forum OpenACS Development: Re: Res: xowiki 0.50

Collapse
3: Re: Res: xowiki 0.50 (response to 2)
Posted by Gustaf Neumann on
On which page does this happen?

if this happens on an old index page, i would delete it (it will recreate itself from the prototype page).

openacs.org runs 0.50, the includelets work fine there.
See: http://openacs.org/xowiki/demo-includelets

Collapse
Posted by Jose Agustin Lopez Bueno on
Hi again!

The problem arise when the
template_file is set to "view-book"
and when it is trying to set the back - next
arrows.
Deleting index do not repair the problem.

???

Agustín

Collapse
Posted by Gustaf Neumann on
This means, there is no relation with "Last Visited" or "Most popular". Is there an earlier error message in the log from the same query? View-book works for me in several instances and on openacs.org (see e.g. http://www.openacs.org/test-doc/).

i have added two log statements to view-book.tcl in CVS head. Please update and see, what the lines starting with "--last includelet" and "--toc" say.

Collapse
Posted by Jose Agustin Lopez Bueno on
Hi Gustaf!

Here is the two log lines:

Notice: --last includelet = ::xotcl::__#E, class=::xowiki::portlet::toc 0, ::19070134 ::xowiki::Package->return_page (249ms, 19ms)
Notice: --toc count=0 size=0 indices=, ::19070134 ::xowiki::Package->return_page (249ms, 0ms)

Regards,
Agustin

Collapse
Posted by Gustaf Neumann on
Ah, you have a book without pages (count=0). Is this intentional? Anyhow, the updated version does not barf in such cases.

The problem does not look version specific for 0.50 to me. I can't see, how this worked before.