Jahia Template Forum > JahiApp - WIKI -...

0 (0 Good)
0 (0 Bad)

JahiApp - WIKI - error

by  filip »  2011/10/09 18:28

Hi,

 

could anybody help with the WIKI module.

I am able to deploy it successfully all seems to be working fine until I click 'Create New Article'

Then nothing is shown on the page and the following error appears on the TOMCAT console:

 

2011-10-09 21:25:33,257: ERROR [RenderChain] - Error while rendering the resource: Resource{node=/sites/mySite/templates/base/wiki/row-col1/lists/create-new-page/new-article, primaryNodeTypeName='jnt:wikiPageFormCreation', templateType='html', template=''}

 

However, this error is not mentioning what caused the problem itself.

 

Please, help!

 

--Filip

 

 

  (filip)

Number of messages  23
Registration date
0 (0 Good)
0 (0 Bad)

Re: JahiApp - WIKI - error

by  filip »  2011/10/09 18:33

OK,

 

it seems something is uterly wrong with my Jahia, but what?

I am getting the same error for the FORUM JahiApp.

2011-10-09 21:32:11,987: ERROR [RenderChain] - Error while rendering the resource: Resource{node=/sites/mySite/templates/base/forum-base/forum-home/pagecontent/contentList/pageForm, primaryNodeTypeName='jnt:pageFormCreation', templateType='html', template=''}

 

Anyone, hints?

 

Thanks,

Filip

 

  (filip)

Number of messages  23
Registration date
0 (0 Good)
0 (0 Bad)

Re: Re: JahiApp - WIKI - error

by  filip »  2011/10/20 09:23

Anyone,

 

help please!

 

Thanks,

Filip

 

  (filip)

Number of messages  23
Registration date
0 (0 Good)
0 (0 Bad)

Re: Re: Re: JahiApp - WIKI - error

by  faissah »  2011/10/20 18:07

Hi filip,

Which build do you use?

Fabrice

Fabrice  (faissah)

Number of messages  262
Registration date
0 (0 Good)
0 (0 Bad)

Re: Re: Re: Re: JahiApp - WIKI - error

by  filip »  2011/10/25 20:44


Dear Fabrice,

I am still on 6.5.0.0, r38205.

However, I managed to solve my problem by looking at the WIKI source code.

I found this one: <new-article j:requiredMode="live"

So, the wiki works only in live mode, not in preview mode. This should have its reasons and I don't mind.

What I think should be correct is the error message - which appears in the log file, when you try to use wiki in preview mode:

2011-10-09 21:32:11,987: ERROR [RenderChain] - Error while rendering the resource: Resource{node=/sites/mySite/templates/base/forum-base/forum-home/pagecontent/contentList/pageForm, primaryNodeTypeName='jnt:pageFormCreation', templateType='html', template=''}

(actually the log message is from the forum app - but I had the exact same problem there as with the wiki app)

I don't see any infomration about the required mode - it seems like swallowed exception, which doesn't make it to the log file.

Apart from this, I would like to confirm with you something in general about the Jahia UI:

When in edit mode - the wiki create new article form appears on greenish background. Does it actully this green color mean that it requires LIVE mode?

BR,

Filip
 

  (filip)

Number of messages  23
Registration date
0 (0 Good)
0 (0 Bad)

Re: Re: Re: Re: Re: JahiApp - WIKI - error

by  rvt »  2011/10/29 18:21

When in edit mode - the wiki create new article form appears on greenish background. Does it actully this green color mean that it requires LIVE mode?

Filip,

 

this is a bit of a guess for me, but I think that de wiki want's to see wiki data added in live mode because the default workspace needs to be published first after you add content. In live mode the data is there after beeing added to the JCR. I do agree with you that with wiki data it would be nice to have data added in edit mode also whish then can be published just like normal content, or at least the wiki should show in edit mode that it cannot operate in this mode.

  • Re: Re: Re: Re: Re: JahiApp - WIKI - error
    2011/10/29 18:21

    rvt <blockquote> <p> When in edit mode - the wiki create new article form appears on greenish background. Does it actully this green color mean that it requires LIVE mode?</p> </blockquote> <p> Filip,</p> <p> &nbsp;</p> <p> this is a bit of a guess for me, but I think that de wiki want&#39;s to see wiki data added in live mode because the default workspace needs to be published first after you add content. In live mode the data is there after beeing added to the JCR. I do agree with you that with wiki data it would be nice to have data added in edit mode also whish then can be published just like normal content, or at least the wiki should show in edit mode that it cannot operate in this mode.</p>

  • Number of messages  185
    Registration date Oct 29, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Re: Re: Re: Re: JahiApp - WIKI - error

    by  shuber »  2011/10/31 10:02

    When in edit mode - the wiki create new article form appears on greenish background. Does it actully this green color mean that it requires LIVE mode?

    Filip,

     

    this is a bit of a guess for me, but I think that de wiki want's to see wiki data added in live mode because the default workspace needs to be published first after you add content. In live mode the data is there after beeing added to the JCR. I do agree with you that with wiki data it would be nice to have data added in edit mode also whish then can be published just like normal content, or at least the wiki should show in edit mode that it cannot operate in this mode.


    Hello,

    Actually the Wiki is what we call UGC (User Generated Content), and therefore aimed at being created in live mode only. However there are current limitations with live mode data (for example in terms of export), that we are addressing for our next version of Jahia. Showing live data in edit mode is much more tricky, because it would involve a lot of data copying or make performance a lot worse so for the moment we prefer to mark components as working only in certain modes. If this is lacking for a component, please enter a ticket in our public bug tracker.

    Best regards,

      Serge Huber.

    Serge Huber (shuber)

    Number of messages  271
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Re: Re: Re: Re: Re: JahiApp - WIKI - error

    by  rvt »  2011/10/31 13:12

    However there are current limitations with live mode data (for example in terms of export), that we are addressing for our next version of Jahia. 

     

    Serge,

    thanks for your answer, can you elaborate on what the limitations are for UGC during export?

    Ries


     

  • Re: Re: Re: Re: Re: Re: Re: JahiApp - WIKI - error
    2011/10/31 13:12

    rvt <blockquote> <p> However there are current limitations with live mode data (for example in terms of export), that we are addressing for our next version of Jahia.&nbsp;</p> </blockquote> <p> &nbsp;</p> <p> Serge,</p> <p> thanks for your answer, can you elaborate on what the limitations are for UGC during export?</p> <p> Ries</p> <br /> <p> &nbsp;</p>

  • Number of messages  185
    Registration date Oct 31, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Re: Re: Re: Re: Re: Re: JahiApp - WIKI - error

    by  shuber »  2011/10/31 13:37

    However there are current limitations with live mode data (for example in terms of export), that we are addressing for our next version of Jahia. 

     

    Serge,

    thanks for your answer, can you elaborate on what the limitations are for UGC during export?

    Ries


     

    Sure, actually in version 6.5 it is not possible to export the live content. This is a limitation we are adressing for the next release : 6.6

    Best regards,

      Serge Huber.

    Serge Huber (shuber)

    Number of messages  271
    Registration date
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page