cancel
Showing results for 
Search instead for 
Did you mean: 

AWE not working (4.2.a)

dsaum
Champ in-the-making
Champ in-the-making
I'm having problems getting AWE to work in 4.2.a. I can successfully login and the edit controls show up next to my content, but if I try to do anything after that I get an error.

The log shows AWE is having problems processing the template org/alfresco/components/form/form.get.html.ftl where it chokes on the <@standalone> directive. I've checked the spring-surf.jar included in awe.war contains the StandaloneWebScriptWrapper class so I'm a little confused about why freemarker can't resolve it. Is there a directive registration setting somewhere that hasn't been updated?

Note: the @standalone directive was added here: https://fisheye.springsource.org/changelog/se-surf?cs=1091

11:52:22,032  ERROR [extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 09240002 Failed to process template org/alfresco/components/form/form.get.html.ftl
org.springframework.extensions.webscripts.WebScriptException: 09240002 Failed to process template org/alfresco/components/form/form.get.html.ftl
   at org.springframework.extensions.webscripts.processor.FTLTemplateProcessor.process(FTLTemplateProcessor.java:175)
   at org.springframework.extensions.webscripts.AbstractWebScript.renderTemplate(AbstractWebScript.java:858)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.renderFormatTemplate(DeclarativeWebScript.java:267)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:147)
   at org.springframework.extensions.webscripts.PresentationContainer.executeScript(PresentationContainer.java:70)
   at org.springframework.extensions.webscripts.LocalWebScriptRuntimeContainer.executeScript(LocalWebScriptRuntimeContainer.java:240)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:377)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
   at org.springframework.extensions.webscripts.servlet.mvc.WebScriptView.renderMergedOutputModel(WebScriptView.java:104)
   at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
   at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1047)
   at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817)
   at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
   at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
   at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
8 REPLIES 8

mangar
Star Contributor
Star Contributor
May I ask how you even got AWE up on 4.2.a?  They have removed it from the community file list.  I am in desperate need and there seems no similar replacement.

mikeh
Star Contributor
Star Contributor
I've raised ALF-17551 on your behalf.

Thanks,
Mike

bgurnett
Champ in-the-making
Champ in-the-making
I am running Community 4.2.c. WQS was installed using the Advanced Installer and appears to be working OK except that the critical 'pencil' icon control does little apart from changing some overlay colour in hover mode.

I get this message from the Global News page. Spring Surf 1.0.0 Spring Surf has been installed at this location. A root page has not been defined and this message.  Message:   00230019 Failed to process template org/alfresco/components/form/form.get.html.ftl
   
Exception:   freemarker.core.InvalidReferenceException - on line 1, column 1 in org/alfresco/components/form/form.get.html.ftl standalone not found.

Seems like quite a few are having the same problem which is making Alfresco unusable for those of us who wish to run more than document management. Such a fundamental web editing problem (ie no editing) does not happen with a CMS like Joomla. WQS looks like an afterthought for Alfresco and so gets almost no attention.

smeligrana
Champ in-the-making
Champ in-the-making
Is there a workaround to solve the problem?
thanks

I've temporarily solved the problem by modifying dil form.get.html.ftl file in the file alfresco-forms-client-4.2.c.jar, I just commented on the directives which gave problem. Wcmqs now works. I attach the file.

bond383
Champ in-the-making
Champ in-the-making
Si alguien lo ha logrado, agradezco por favor envié la instrucciones.

lesteinb
Champ in-the-making
Champ in-the-making
I just installed alfresco-community-5.0.c-installer-linux-x64.bin package and the optional web quick start component that came with it on ubuntu 14.04 LTS. The website works fine on my local server:

http://localhost:8080/wcmqs/en/

but when I try to access the same page from outside my network I get still get the message: "Spring Surf has been installed at this location. A root page has not been defined."

http://71.87.122.209:8080/wcmqs/en/

Is this still a bug? Is there something I can do to my local installation to fix this? I've already tried modifying the ftl file as described above and it doesn't seem to help.

Thanks,

Leroy

** UPDATE **

I just realized I need to edit properties on the folders that contain the content. I changed the IP address and it now works on my external IP address.

sumaila_alfa
Champ in-the-making
Champ in-the-making
Why is there no single and complete tutorial on how to get web editor(AWE) 4.2.0 up and working correctly? Have been buzzing my head over this for 3 days now…