You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by Peter Nabbefeld <pe...@gmx.de> on 2019/02/12 09:58:52 UTC
Cannot view created pages
Hello,
I've got problems viewing my created pages. I can edit them, but when I
save (so the wiki changes to view mode), I cannot see the content (I'm
prompted to create the page again, but then the text is already there ...).
I've noticed, EditTemplate and ViewTemplate seem to handle localisation
differently, so it might be relevant I'm living in Germany.
I just installed latest version (2.11.0.M1) on Linux.
Kind regards
Peter
Re: Cannot view created pages [Solved]
Posted by Juan Pablo Santos Rodríguez <ju...@gmail.com>.
Hi Peter,
(reincluding user@j.a.o as there is no file attached and maybe anyone can
come with new ideas on what's happening)
I just've done some tests mimicking your environment which basically boils
down to having set the VersioningFileProvider,
no cache and several file locations for pages, groups, etc, and everything
seems right, i.e. I can't find anything wrong. Would
you mind checking into the permissions issue you mention? The user running
wildfly/jspwiki should be able to create files
on the directories pointed out on the configuration file. Do you see
anything unusual on the log file regarding the page
creation?
best regards,
juan pablo
On Tue, Feb 12, 2019 at 4:00 PM Peter Nabbefeld <pe...@gmx.de>
wrote:
>
> Hi Juan,
>
> sending the configuration directly to You, as I don't like to send files
> to mailing lists, if not absolutely necessary.
>
> Wildfly is somehow special, as it has its own user and group and
> therefore sometimes raises permission problems, so this may also he the
> cause for not creating the needed files.
>
> Kind regards
>
> Peter
>
>
>
> Am 12.02.19 um 14:57 schrieb Juan Pablo Santos Rodríguez:
> > Hi Peter,
> >
> > would you mind sharing your jspwiki-custom.properties file? The providers
> > bundled by jspwiki should take care of the file creation..
> >
> >
> > thx in advance,
> > juan pablo
> >
> > On Tue, Feb 12, 2019 at 11:25 AM Peter Nabbefeld <peter.nabbefeld@gmx.de
> >
> > wrote:
> >
> >> I've checked this by creating a "version", i.e. creating an appropriate
> >> sub-folder in OLD and duplicating/renaming the original files to 1.txt
> >> and page.properties - that works.
> >>
> >> So it'd be nice if this could be done automatically, if necessary.
> >>
> >> Kind regards
> >>
> >> Peter
> >>
> >>
> >>
> >> Am 12.02.19 um 11:13 schrieb Peter Nabbefeld:
> >>> Just noticed, pages which already have a versioned copy (in OLD/) are
> >>> shown, others are not. So it's obviously a problem with my change to
> >>> VersioningFileProvider - it seems, the ViewTemplate can only show
> >>> versioned files then.
> >>>
> >>> Kind regards
> >>>
> >>> Peter
> >>>
> >>>
> >>>
> >>> Am 12.02.19 um 10:58 schrieb Peter Nabbefeld:
> >>>> Hello,
> >>>>
> >>>> I've got problems viewing my created pages. I can edit them, but when
> >>>> I save (so the wiki changes to view mode), I cannot see the content
> >>>> (I'm prompted to create the page again, but then the text is already
> >>>> there ...).
> >>>>
> >>>> I've noticed, EditTemplate and ViewTemplate seem to handle
> >>>> localisation differently, so it might be relevant I'm living in
> Germany.
> >>>>
> >>>> I just installed latest version (2.11.0.M1) on Linux.
> >>>>
> >>>> Kind regards
> >>>>
> >>>> Peter
> >>
>
>
Re: Cannot view created pages [Solved]
Posted by Juan Pablo Santos Rodríguez <ju...@gmail.com>.
Hi Peter,
would you mind sharing your jspwiki-custom.properties file? The providers
bundled by jspwiki should take care of the file creation..
thx in advance,
juan pablo
On Tue, Feb 12, 2019 at 11:25 AM Peter Nabbefeld <pe...@gmx.de>
wrote:
>
> I've checked this by creating a "version", i.e. creating an appropriate
> sub-folder in OLD and duplicating/renaming the original files to 1.txt
> and page.properties - that works.
>
> So it'd be nice if this could be done automatically, if necessary.
>
> Kind regards
>
> Peter
>
>
>
> Am 12.02.19 um 11:13 schrieb Peter Nabbefeld:
> >
> > Just noticed, pages which already have a versioned copy (in OLD/) are
> > shown, others are not. So it's obviously a problem with my change to
> > VersioningFileProvider - it seems, the ViewTemplate can only show
> > versioned files then.
> >
> > Kind regards
> >
> > Peter
> >
> >
> >
> > Am 12.02.19 um 10:58 schrieb Peter Nabbefeld:
> >>
> >> Hello,
> >>
> >> I've got problems viewing my created pages. I can edit them, but when
> >> I save (so the wiki changes to view mode), I cannot see the content
> >> (I'm prompted to create the page again, but then the text is already
> >> there ...).
> >>
> >> I've noticed, EditTemplate and ViewTemplate seem to handle
> >> localisation differently, so it might be relevant I'm living in Germany.
> >>
> >> I just installed latest version (2.11.0.M1) on Linux.
> >>
> >> Kind regards
> >>
> >> Peter
> >
>
>
Re: Cannot view created pages [Solved]
Posted by Peter Nabbefeld <pe...@gmx.de>.
I've checked this by creating a "version", i.e. creating an appropriate
sub-folder in OLD and duplicating/renaming the original files to 1.txt
and page.properties - that works.
So it'd be nice if this could be done automatically, if necessary.
Kind regards
Peter
Am 12.02.19 um 11:13 schrieb Peter Nabbefeld:
>
> Just noticed, pages which already have a versioned copy (in OLD/) are
> shown, others are not. So it's obviously a problem with my change to
> VersioningFileProvider - it seems, the ViewTemplate can only show
> versioned files then.
>
> Kind regards
>
> Peter
>
>
>
> Am 12.02.19 um 10:58 schrieb Peter Nabbefeld:
>>
>> Hello,
>>
>> I've got problems viewing my created pages. I can edit them, but when
>> I save (so the wiki changes to view mode), I cannot see the content
>> (I'm prompted to create the page again, but then the text is already
>> there ...).
>>
>> I've noticed, EditTemplate and ViewTemplate seem to handle
>> localisation differently, so it might be relevant I'm living in Germany.
>>
>> I just installed latest version (2.11.0.M1) on Linux.
>>
>> Kind regards
>>
>> Peter
>
Re: Cannot view created pages
Posted by Peter Nabbefeld <pe...@gmx.de>.
Just noticed, pages which already have a versioned copy (in OLD/) are
shown, others are not. So it's obviously a problem with my change to
VersioningFileProvider - it seems, the ViewTemplate can only show
versioned files then.
Kind regards
Peter
Am 12.02.19 um 10:58 schrieb Peter Nabbefeld:
>
> Hello,
>
> I've got problems viewing my created pages. I can edit them, but when
> I save (so the wiki changes to view mode), I cannot see the content
> (I'm prompted to create the page again, but then the text is already
> there ...).
>
> I've noticed, EditTemplate and ViewTemplate seem to handle
> localisation differently, so it might be relevant I'm living in Germany.
>
> I just installed latest version (2.11.0.M1) on Linux.
>
> Kind regards
>
> Peter