Re: Re: Page rename crashed second time around
"Claudia Frers" <[email protected]>
| Newsgroups | gmane.comp.java.jspwiki.user |
|---|---|
| Message-ID | <[email protected]> |
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
>