[ALF-21181] WebFramework in development mode gives blank page in Share admin console Created: 13-Nov-14  Updated: 22-Jan-16  Resolved: 22-Jan-16

Status: Closed
Project: Alfresco
Component/s: Web Scripts and Surf
Affects Version/s: 4.0 Enterprise
Fix Version/s: 4.0 Enterprise
Security Level: external (External user)

Type: Bug Priority: Critical
Reporter: Tahir Malik Assignee: Closed Issues
Resolution: Won't Fix Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

This is tested with swift HEAD r29902, mysql, macos dev machine, both on a new repo and with an upgraded repo.

Issue Links:
is clone of ALF-9970 WebFramework in development mode give... Closed
Date of First Response:


If you set the WebFramework in development mode the Share admin console doesn't render the ctool component that is created "on the fly" in /classes/alfresco/templates/console.js.
The end result is only a left pane listing the tools, view source and you have for ctools
<div id="unbound-region-ctool"></div>

To test, in web-extension create file share-config-custom.xml with

<config replace="true">

<config evaluator="string-compare" condition="WebFramework">

and restart.

If <mode> is changed to production, and share restarted, the admin console tools render properly again.

Comment by Tahir Malik [ 13-Nov-14 ]

Oeps, I thought I'd get a pop-up to fill in extra details .

I just wanted to re-open this issue on 4.2.x version as this hasn't been solved in it.

Comment by Kevin Roast [X] (Inactive) [ 02-Sep-15 ]

In 5.1 there is now no need to use 'development' mode in Share at all.

We have now hooked in the "debug" flag in the share-config-custom.xml to disable rhino script compilation and disable template caching for freemarker. So one flag set to false will now do all those things in addition to the usual disabling of client-side JS compression etc.

Comment by Kevin Roast [X] (Inactive) [ 02-Sep-15 ]


Generated at Tue Mar 09 08:23:10 GMT 2021 using Jira 7.13.15#713015-sha1:7c5ddd2c3e1709974ae9c48c17df8edd3919fe2c.