Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-9970

WebFramework in development mode gives blank page in Share admin console

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: 4.0 Enterprise
    • Fix Version/s: 4.0 Enterprise
    • Component/s: ZZ_Archive
    • Security Level: external (External user)
    • Labels:
      None
    • Environment:
      This is tested with swift HEAD r29902, mysql, macos dev machine, both on a new repo and with an upgraded repo.

      Description

      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

      <alfresco-config>
      <config replace="true">
      <flags>
      <client-debug>true</client-debug>
      <client-debug-autologging>false</client-debug-autologging>
      </flags>
      </config>

      <config evaluator="string-compare" condition="WebFramework">
      <web-framework>
      <autowire>
      <mode>development</mode>
      </autowire>
      </web-framework>
      </config>
      </alfresco-config>

      and restart.

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs
                Reporter:
                loftux Peter Löfgren
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: