Submitted by : simon at: 2007-04-28T02:55:07+00:00 (13 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

wiki contents shows no pages on cf #1330

... --simon, Sat, 28 Apr 2007 03:38:57 +0000 reply

Category: => user-pagehierarchy

Contents and subtopics display is broken, probably due to revisions getting mixed up in the main wiki's catalog/outline. Check recent changes too. cf #47 permanent revisions and better history/diff browsing

... --simon, Sun, 29 Apr 2007 07:11:42 -0700 reply

Status: open => closed

Now it's just giving the unicode error, but otherwise ok.

still open.. intermittent and bizarre --simon, Tue, 01 May 2007 02:16:03 -0700 reply

Name: '#1335 contents is blank' => '#1335 contents is sometimes blank or showing contents of another wiki $$' Status: closed => open

a restart fixes it --simon, Tue, 01 May 2007 12:59:48 -0700 reply

I've reproduced a similar error --Wu, Fri, 04 May 2007 05:20:45 -0700 reply

Ok, I have a Zope 2.10.3 server in a Debian 3.1 box with debian's 2.4 python (Zope is compiled and installed from sources). I've get a Zwiki snapshot (zwiki_experimental_daily_build_2007-05-02.tar.gz). I've added a zwiki site, then added inside a user folder (stock zope user folder) with 2 users (borja and angela), then I created some pages as borja in a given workstation (FreeBSD? 6.2 with opera9 and firefox2). After create such content (2-3 reStructuredText pages) I tried to edit those pages in another workstation (ubuntu 7.04 with firefox2) as user angela. Everytime I edit a page previously created as borja i get that error:

* Module ZPublisher.Publish, line 202, in publish_module_standard
* Module ZPublisher.Publish, line 150, in publish
* Module Zope2.App.startup, line 221, in zpublisher_exception_hook
* Module ZPublisher.Publish, line 119, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 42, in call_object
* Module Products.ZWiki.Editing, line 312, in edit
* Module Products.ZWiki.History, line 82, in saveRevision
* Module OFS.CopySupport, line 195, in manage_pasteObjects
* Module OFS.CopySupport, line 526, in _verifyObjectPaste

Copy Error

and all the wiki contents gets broken (all subtopic link dissapear, and i can only access the contents of every page calling it directly through the URL). If i restart the zope instance (zopectl restart) all goes fine again, until i try to edit any page as user angela, then the same error appear.

more data --Wu, Fri, 04 May 2007 05:26:10 -0700 reply

If i create a page as user angela (as in the above environment) and then I try to edit it as user borja, I've no problem with it... strange, isn't it?

The wiki is owned by c23, a user in the top-root user folder.

I've reproduced a similar error --simon, Mon, 07 May 2007 23:50:28 -0700 reply

Wu's problem was #1346, now resolved. I'm still looking for a repeatable way to reproduce this blank contents problem.

Conclusions so far --betabug, Thu, 10 May 2007 03:04:43 -0700 reply

  1. The outline object seems to be empty (or rater: currently it contains one recently added page), see OutLineThisWiki?
  2. since calling FrontPage/updatecontents (which calls !updateWikiOutline) doesn't change anything, I declare it a prime suspect
  3. I don't like the use of hasattr in that method (see #1335), it could be masking errors

No idea why this would come up now, maybe it's masking unicode errors (wild guess)?

(hasattr comments moved to #1352)

... --simon, Wed, 06 Jun 2007 10:57:40 -0700 reply

Name: '#1335 contents is sometimes blank or showing contents of another wiki $$' => '#1335 disappearing contents'

close ? --simon, Thu, 01 May 2008 21:06:50 -0700 reply

Are any of the issues on this page still unresolved ?

closing --simon, Thu, 01 May 2008 21:07:35 -0700 reply

Status: open => closed

I think not.