You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by Ichiro Furusato <ic...@gmail.com> on 2014/01/05 01:18:35 UTC
Bug in userbox link
Hi,
I just noticed that when I come back to the wiki after my session has timed
out (am not logged in but hold a cookie) I see the link to my name in the
userbox with a hilight indicating an edit link, and when I click on that
link I'm
editing my home page. If I log in the link is correctly displayed and acts
as a
normal link. Likewise, logging out the behaviour is also as expected.
Ichiro
Re: Bug in userbox link
Posted by Ichiro Furusato <ic...@gmail.com>.
Just to clarify, this was a link to my own home page "IchiroFurusato".
I do note that both I and Harry had edited the page yesterday so it's
possible this is related to the cache as you suggest. I'm not using a
caching provider on our wiki so I've not been able to replicate the bug.
Thanks for looking into it.
Ichiro
On Mon, Jan 6, 2014 at 5:20 AM, Juan Pablo Santos RodrÃguez <
juanpablo.santos@gmail.com> wrote:
> Hi,
>
> I think that has more to do with CachingProvider than the userbox (both
> asserted and logged have the same code to display the username link, so not
> completly sure why you get that behaviour other than something similar to
> below).
>
> When using CachingProvider, in Page1 create an empty wikilink to say,
> InexistentPage2. Click on that link, create some content for
> InexistentPage2 and save, so the page is created. Click on breadcrumb back
> to Page1, the link to InexistentPage2 still remains as an edit link. When
> you press it, you'll edit InexistentPage2. Haven't had enough time to dig
> in it, but maybe the -1 version of the page is stored on the cache (haven't
> had a look how metadata is stored on cache)? I'm not sure if's because of
> that or is it related to other issue, have to look deeper into it
>
>
> br,
> juan pablo
>
>
>
>
> On Sun, Jan 5, 2014 at 1:18 AM, Ichiro Furusato
> <ic...@gmail.com>wrote:
>
> > Hi,
> >
> > I just noticed that when I come back to the wiki after my session has
> timed
> > out (am not logged in but hold a cookie) I see the link to my name in the
> > userbox with a hilight indicating an edit link, and when I click on that
> > link I'm
> > editing my home page. If I log in the link is correctly displayed and
> acts
> > as a
> > normal link. Likewise, logging out the behaviour is also as expected.
> >
> > Ichiro
> >
>
Re: Bug in userbox link
Posted by Juan Pablo Santos RodrÃguez <ju...@gmail.com>.
Hi,
I think that has more to do with CachingProvider than the userbox (both
asserted and logged have the same code to display the username link, so not
completly sure why you get that behaviour other than something similar to
below).
When using CachingProvider, in Page1 create an empty wikilink to say,
InexistentPage2. Click on that link, create some content for
InexistentPage2 and save, so the page is created. Click on breadcrumb back
to Page1, the link to InexistentPage2 still remains as an edit link. When
you press it, you'll edit InexistentPage2. Haven't had enough time to dig
in it, but maybe the -1 version of the page is stored on the cache (haven't
had a look how metadata is stored on cache)? I'm not sure if's because of
that or is it related to other issue, have to look deeper into it
br,
juan pablo
On Sun, Jan 5, 2014 at 1:18 AM, Ichiro Furusato
<ic...@gmail.com>wrote:
> Hi,
>
> I just noticed that when I come back to the wiki after my session has timed
> out (am not logged in but hold a cookie) I see the link to my name in the
> userbox with a hilight indicating an edit link, and when I click on that
> link I'm
> editing my home page. If I log in the link is correctly displayed and acts
> as a
> normal link. Likewise, logging out the behaviour is also as expected.
>
> Ichiro
>