cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with WIKI editor

sebek
Champ in-the-making
Champ in-the-making
Hello,

I have problem with wiki site. When I open it on Internet Explorer 7 all buttons are disabled  (in FF everything is OK).
I also get JavaScript error : l.429,r.10: expected identyfier, string or number'

Coud U help me with that?
4 REPLIES 4

sebek
Champ in-the-making
Champ in-the-making
I noticed that this problem was solved in Enterprise Edition  (ALF-6087)…
Maybe some Alfresco Masters could give me some tips? Smiley Happy

efestione
Champ in-the-making
Champ in-the-making
Hi,
as far as I can see the problem is also in 3.4.d and ie8. 😞

lgoldblatt
Champ in-the-making
Champ in-the-making
We are running Alfresco Community 3.4c.

We were able to fix this by overriding page.get.htm.lftl
Copy the file from D:\Alfresco34\tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\wiki\

and place into the extension folder (you might have to create it)
<tomcat home>\shared\classes\alfresco\web-extension\site-webscripts\org\alfresco\components\wiki\page.get.html.ftl

Approximately line 51,
change
         create: ${(permissions["create"]!false)?string},
         edit: ${(permissions["edit"]!false)?string},
         delete: ${(permissions["delete"]!false)?string}
to
         "create": ${(permissions["create"]!false)?string},
         "edit": ${(permissions["edit"]!false)?string},
         "delete": ${(permissions["delete"]!false)?string}

The quotes were there in release 3.3.g and the wiki editor worked fine.
Not sure why the quotes were removed between 3.3.g and 3.4.x - but replacing them seemed to fix it.
Actually, in our tests, the only one that HAD to be replaced was around the word "delete"

Hope this helps 🙂

efestione
Champ in-the-making
Champ in-the-making
Thanks lgoldblatt,
It works! 🙂