cancel
Showing results for 
Search instead for 
Did you mean: 

Admin Tools' pages become empty (maybe related to share-config-custom.xml?)

sunquanbin
Champ on-the-rise
Champ on-the-rise
Hi everyone,

I have encountered a quite strange issue in Share. In the custom share amp, I have the following config in share-config-custom.xml:


    <config evaluator="string-compare" condition="WebFramework">
        <web-framework>
            <!– Autowire Runtime Settings –>
            <autowire>
                <!– Pick the mode: development, preview, production –>
                <!– development allows for js controller debugging in the browser –>
                <mode>development</mode>
            </autowire>
        </web-framework>
    </config>


I then found in the Share website, all the pages of Admin Tools become empty (the menu in the left panel still rendering but the right panel is blank). If I removed the above config, everything reappears.

However, this settings exists in my previous developed share AMPs and the Admin Tools was working as normal. <strong>Only in this current share AMP</strong>, it turns out I need to remove this config to make the Admin Tools work.

Can anyone please tell me how this config work and where I go wrong?

Regards,

Sun
3 REPLIES 3

adamsz
Champ in-the-making
Champ in-the-making
I have the same problem in Alfresco 5.0d. Did you get resolution?

Adam

ddraper
World-Class Innovator
World-Class Innovator
This problem has existed with the Admin Console panels for some time now… if you Google or search the forums you'll find lots of other posts relating to this. I don't believe that there is any solution for this at present.

plean
Confirmed Champ
Confirmed Champ

Hello, I do have the same problem!

When I switch

from

<mode>development</mode>

to

<mode>production</mode>

everything is ok! Weird...