Re: Re: Page rename crashed second time around
"Claudia Frers" <[email protected]>
| Newsgroups | gmane.comp.java.jspwiki.user |
|---|---|
| Message-ID | <[email protected]> |
You wrote: " Due to the absence of a hierarchical folder concept in JSPWiki, I am using extensively a dot syntax to group related pages together. (similar to the java package concept) Therefore, I needed a way to generate Index pages of a subset of wiki pages, based on a certain Namespace or page prefix. " Perhaps I am using the wrong plugin. The Namespace Index Plugin seems to give me what I want. But I still need to test it. The multiple categories is a good second choice if I cant get the NamespaceIndex Plugin to work. To have to remember to add a link on each page is a bit of a strain on the old memory. If I forget to add a link to a page, that page can be easily forgotten. For me, its easier to attach the category as a name Zoo.Birds.Stork I am assuming that this prefix (Zoo.Birds.Stork) would not be included in the name right? If it is, then it seems that the only difference between using this plugin and the first one is the fact that a link is no longer needed at the end of each page? Is this assumption correct? I tried adding the text to the EditTemplate.jsp and ViewTemplate.jsp but the link did not get generated as I had hoped. I could really use a suggestion as to which to use. On 8/1/07, Dirk Frederickx <[email protected]> wrote: > > Claudia, > > I don't see why you would need long names. > You can still give your pages reasonable --short-- names. > But each page could be part of multiple categories, just by adding > many category links. > > dirk > > On 8/1/07, Claudia Frers <[email protected]> wrote: > > Thx Dirk ..that was the idea but i was concerned about the long names > needed > > to achieve this goal...but i guess that there is no "better" way. > > > > > > > > On 7/31/07, Dirk Frederickx <[email protected]> wrote: > > > > > > Claudia, > > > > > > Instead of just linking back to SiteMap, why not link back to > > > different categories? > > > > > > EG > > > > Example: JSPwikiManualAdminSecurityACLHowTo UseACL > > > Would link back to > > > [HowToCategory] [ACLCategory] [ManualAdminCategory] > > > > > > Each category page could on its turn link back to the Category page or > > > our SiteMap page. > > > > > > > > > dirk > > > > > > > > > On 7/31/07, Claudia Frers <[email protected]> wrote: > > > > Juan or Janne --sorry to sneak this question in this thread but I > have > > > tried > > > > to rephrase it as no one > > > > has responded yet and I am sure that there must be a better way: > > > > > > > > If anyone has used the Referring Pages Plugin, I am in need of > advice or > > > a > > > > best practice. > > > > My idea is to keep track of all my pages and keep a SiteMap. > Therefore, > > > each > > > > page contains a link called SiteMap. I can filter out each Category > by > > > > using the include parameter to filter them: > > > > *Category CSS\\ > > > > [{ReferringPagesPlugin include='CSS*'}] > > > > *Category HowTo:\\ > > > > [{ReferringPagesPlugin include='HowTo*'}] > > > > *Category All:\\ > > > > [{ReferringPagesPlugin include='*'}] > > > > > > > > Has anyone a good idea as to how to organize this in a way that the > page > > > > names do not get too long? > > > > Example: JSPwikiManualAdminSecurityACLHowTo UseACL > > > > > > > > I'm hoping that someone has a better strategy than mine :-) but I am > > > partial > > > > to many short pages than few long ones . I also have no problemwith > long > > > > names but they clutter the " Your trail:" > > > > > > > > > > > > On 7/31/07, Juan Pablo Santos Rodríguez <[email protected]> > > > wrote: > > > > > > > > > > Hi Claudia, > > > > > > > > > > yep you're right > > > > > > > > > > I've silently tried the same thing with a local installation at my > > > office, > > > > > 2.5.89, being authenticated (it requires anyone to be > authenticated to > > > do > > > > > anything) and I got the same results you described. I've tried > again > > > at > > > > > sandbox, being anonymous, and I do get the exception. I'll look > into > > > it > > > > > later. > > > > > > > > > > > > > > > Regards, > > > > > JP > > > > > > > > > > > > > > > 2007/7/31, Claudia Frers <[email protected]>: > > > > > > > > > > > > Same experiment. Difference I am on localhost. Using FF with > three > > > tabs > > > > > > open > > > > > > to same > > > > > > page=Home. > > > > > > > > > > > > I still can't reproduced it: > > > > > > Rename page in first > > > > > > browser window/tab, checking the update referers checkbox Home > to > > > > > Home2). > > > > > > Then go to the second and try to do the same operation Home to > > > Home3, > > > > > > instead of Home2 to Home1) and no exception. > > > > > > > > > > > > But when I rename them all again to Home only on page is Home > with > > > the > > > > > > original Home content. The next page is named Home but is empty > and > > > I am > > > > > > asked to create it. The third page is missing an Info tab and > > > remains as > > > > > > Home2. > > > > > > > > > > > > On the had disk only one page has been created Home. > > > > > > > > > > > > >So may be it's caused when trying to rename an inexistent page > :-? > > > > > > > > > > > > Nope ..in my tests non existent pages do not have an info tab. > > > > > > > > > > > > FYI..I do not use the default permissions. And my tests are as > an > > > > > > authenticated user. > > > > > > > > > > > > Hope this helps, > > > > > > Claudia > > > > > > > > > > > > On 7/31/07, Juan Pablo Santos Rodríguez < > [email protected]> > > > > > > wrote: > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > I think I've reproduced it: > > > > > > > > > > > > > > Open a page twice and go to Info Tab in both browsers (i.e. > > > > > > > http://sandbox.jspwiki.org/PageInfo.jsp?page=About). Rename > page > > > in > > > > > > first > > > > > > > browser window/tab, checking the update referers checkbox > (About > > > to > > > > > > > About2). > > > > > > > Then go to the second and try to do the same operation (About > to > > > > > About3, > > > > > > > instead of About2 to About3) and you get the exception stated > by > > > Milt. > > > > > > > > > > > > > > So may be it's caused when trying to rename an inexistent page > :-? > > > I'm > > > > > > > currently at work, I've tried this with sandbox.jspwiki.org. I > > > don't > > > > > > have > > > > > > > the logs, so may be is not the same issue, although I've got > the > > > same > > > > > > > exception. > > > > > > > > > > > > > > Regards, > > > > > > > JP > > > > > > > > > > > > > > > > > > > > > > > > > > > > 2007/7/31, Claudia Frers <[email protected]>: > > > > > > > > > > > > > > > > I cant get it to crash either Milt. Tried several times in a > row > > > > > > > ..worked > > > > > > > > for me. > > > > > > > > > > > > > > > > On 7/31/07, Milt Taylor <[email protected]> wrote: > > > > > > > > > > > > > > > > > > I'll see if I can reproduce it, but before I do I think I > may > > > need > > > > > > to > > > > > > > > > add a logging statement somewhere in the code to dump a > > > stacktrace > > > > > > to > > > > > > > > > the logs when this happens. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Janne Jalkanen wrote: > > > > > > > > > > > > > > > > > > > > It would be good if you could add your observations to > > > > > > > > > > http://bugs.jspwiki.org/show_bug.cgi?id=85 > > > > > > > > > > > > > > > > > > > > It's a known bug, but I don't really know what is > causing > > > it. I > > > > > > so > > > > > > > > far > > > > > > > > > > have never been able to replicate it on my setup... > > > > > > > > > > > > > > > > > > > > /Janne > > > > > > > > > > > > > > > > > > > > On Jul 30, 2007, at 17:46 , Milt Taylor wrote: > > > > > > > > > > > > > > > > > > > >> Just trying a few things in 2.5.108...only having > recently > > > > > > switched > > > > > > > > > >> from 2.4 so this may not be recently introduced > problem. > > > > > > > > > >> > > > > > > > > > >> Did a page rename (updating referrers) which worked > > > correctly > > > > > > first > > > > > > > > > >> time, then I tried another one and it crashed with a > > > servlet > > > > > > > > exception > > > > > > > > > >> message to browser, null pointer in something to do > with > > > the > > > > > lock > > > > > > > > > >> manager? (This didn't appear to make it to the logs > > > either). > > > > > > > > > >> > > > > > > > > > >> Restarted the wiki, and the page rename had actually > > > succeeded, > > > > > > but > > > > > > > > it > > > > > > > > > >> crashed before it got to update the referrers. > > > > > > > > > >> > > > > > > > > > >> Hopefully should be easy to reproduce? > > > > > > > > > >> > > > > > > > > > >> Cheers, > > > > > > > > > >> Milt > > > > > > > > > >> > > > > > > > > > >> _______________________________________________ > > > > > > > > > >> This is the Jspwiki-users mailing list, in which we > discuss > > > the > > > > > > > > stable > > > > > > > > > >> release (even-numbered, 2.4.x, 2.6.x), and user-issues. > For > > > > > > > > > >> development discussion, please join jspwiki-dev. > > > > > > > > > >> http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users > > > > > > > > > >> http://www.jspwiki.org/JSPWikiMailingList > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > > This is the Jspwiki-users mailing list, in which we > discuss > > > the > > > > > > > > > stable release (even-numbered, 2.4.x, 2.6.x), and > user-issues. > > > > > > > > > For development discussion, please join jspwiki-dev. > > > > > > > > > http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users > > > > > > > > > http://www.jspwiki.org/JSPWikiMailingList > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > This is the Jspwiki-users mailing list, in which we discuss > the > > > > > > > > stable release (even-numbered, 2.4.x, 2.6.x), and > user-issues. > > > > > > > > For development discussion, please join jspwiki-dev. > > > > > > > > http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users > > > > > > > > http://www.jspwiki.org/JSPWikiMailingList > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > This is the Jspwiki-users mailing list, in which we discuss > the > > > > > > > stable release (even-numbered, 2.4.x, 2.6.x), and user-issues. > > > > > > > For development discussion, please join jspwiki-dev. > > > > > > > http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users > > > > > > > http://www.jspwiki.org/JSPWikiMailingList > > > > > > > > > > > > > _______________________________________________ > > > > > > This is the Jspwiki-users mailing list, in which we discuss the > > > > > > stable release (even-numbered, 2.4.x, 2.6.x), and user-issues. > > > > > > For development discussion, please join jspwiki-dev. > > > > > > http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users > > > > > > http://www.jspwiki.org/JSPWikiMailingList > > > > > > > > > > > _______________________________________________ > > > > > This is the Jspwiki-users mailing list, in which we discuss the > > > > > stable release (even-numbered, 2.4.x, 2.6.x), and user-issues. > > > > > For development discussion, please join jspwiki-dev. > > > > > http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users > > > > > http://www.jspwiki.org/JSPWikiMailingList > > > > > > > > > _______________________________________________ > > > > This is the Jspwiki-users mailing list, in which we discuss the > > > > stable release (even-numbered, 2.4.x, 2.6.x), and user-issues. > > > > For development discussion, please join jspwiki-dev. > > > > http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users > > > > http://www.jspwiki.org/JSPWikiMailingList > > > > > > > _______________________________________________ > > > This is the Jspwiki-users mailing list, in which we discuss the > > > stable release (even-numbered, 2.4.x, 2.6.x), and user-issues. > > > For development discussion, please join jspwiki-dev. > > > http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users > > > http://www.jspwiki.org/JSPWikiMailingList > > > > > _______________________________________________ > > This is the Jspwiki-users mailing list, in which we discuss the > > stable release (even-numbered, 2.4.x, 2.6.x), and user-issues. > > For development discussion, please join jspwiki-dev. > > http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users > > http://www.jspwiki.org/JSPWikiMailingList > > > _______________________________________________ > This is the Jspwiki-users mailing list, in which we discuss the > stable release (even-numbered, 2.4.x, 2.6.x), and user-issues. > For development discussion, please join jspwiki-dev. > http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users > http://www.jspwiki.org/JSPWikiMailingList >