cancel
Showing results for 
Search instead for 
Did you mean: 

New folder leads to error message

lemmy
Champ in-the-making
Champ in-the-making
Hi,

I've just installed Alfresco 3.4 and I'm trying Web Quick Start. Creating a site as descibed in the video works quite nice. After that I've tried to create a new folder below root called 'test'. It gets correctly created. I see the landing page in share but when I'm clicking on the new test-link on the site I'm getting an error message:

An error has occured in the component: /wcmqs/service/carousel/slideshow.
It responded with a status of 500 - Internal Error.
Error Code Information: 500 - An error inside the HTTP server which prevented it from fulfilling the request.
Error Message: 11070226 Failed to load script 'org.springframework.extensions.webscripts.ResourceStore$WebApplicationStoreScriptContent@954ca5': 11070225
Server: Alfresco Spring WebScripts - v1.0.0 (Release Candidate 2 675) schema 1.000
Time: 07.12.2010 19:50:21
Click here to view full technical information on the error.
Exception: org.springframework.extensions.webscripts.WebScriptException - 11070225
org.springframework.extensions.webscripts.processor.JSScriptProcessor.executeScriptImpl(JSScriptProcessor.java:319)
Exception: org.springframework.extensions.webscripts.WebScriptException - 11070226 Failed to load script 'org.springframework.extensions.webscripts.ResourceStore$WebApplicationStoreScriptContent@954ca5': 11070225
org.springframework.extensions.webscripts.processor.JSScriptProcessor.executeScript(JSScriptProcessor.java:195)

Am I missing something?

Thanks,
Lemmy
3 REPLIES 3

ben
Champ in-the-making
Champ in-the-making
Hi Lemmy,

This is because the correct asset collections have not been configured for the template that is being used for this section. In this example, the template that is being used is the "homepage". The request will look for a template for the folder landing page type (ws:indexPage). In your example, there will be no template mapping (unless you set one up for this folder) so the parent folder is checked for a match and the mapping of ws:indexPage=homepage will be used. Edit the meta data on the root item to view this.

All of the templates and their required collections are documented within the "Reference > Templates" section within the User Guide - http://www.alfresco.com/help/34/community/wcmqs/user/.

To fix your issue, select which template you would like to use from the User Guide, add the mapping to the new section using the "Template Mapping" meta data section, and then configure the required asset collections by creating them under the relevent "collections" folder within your new section.

Let me know if any part of this process is not clear, and I can explain in further detail.

Regards, Ben.

bremmington
Champ on-the-rise
Champ on-the-rise
On this subject, I have just committed a change to HEAD that resolves the problem. The actual solution is to allow templates to be specified optionally on each individual asset, so now the supplied example websites specify the "sectionpage1" template for all landing pages below root unless overridden lower down. The root landing page (root/index.html) has the homepage template specified on it as an override.

This should hit the next nightly build, and will be part of the 3.4.c release.

lemmy
Champ in-the-making
Champ in-the-making
Thanks, Ben. Works pretty fine.

Regards,
Lemmy