Missing close brace, '}'

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2010 04:14 PM
I do see that the action has occurred properly, and if I do it multiple times I get &undefined added into the error message, once for each additional time until I change tabs on the Alfresco add-in window.
I am using CentOS 5.4, IE 8, Office 2003 SP3, Windows XP, and Alfresco 3.2r2
Internet Explorer Script Error
An error has occurred in the script on this page.
Line: 18
Char 139
Error: Expected '}'
Code: 0
URL:
http://alfresco:8080/alfresco/wcservice/office/navigation?p=&e=doc&n=9aa89f5a-bb9d-4a5c-9fa1-e8a0b04...
(Obviously IE has truncated the URL).
I believe at least part of this URL is coming from:
tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/office/docActions.get.html.ftl
and on my system it contains:
{"statusString":"${message(resultString)}","statusCode":${resultCode?string}}
it looks like the braces are matched here.
Can anyone point me in the right direction?
- Labels:
-
Archive

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2010 10:38 AM
Is no one else using the Office 2003 add-in?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2010 06:59 AM
Server Ubuntu: 8.04
Alfresco community 3.2.r2
Client : Windows XP, Msoffice 2003 + alfresco-community-office2003-addins-3.2r2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2010 10:24 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2010 08:00 AM
Alfresco Community 3.2r2 , Ie 8, Xp.
No solutions??
Greetings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2010 04:47 PM
Server OS: Ubuntu Server 9.10
Alfresco Version: v3.2r2
Browsers Used: IE6, IE7, IE8
Office Versions: 2003, 2007
Office Plugin being Used: Alfresco-Community-Word2003-Addin-3.3dev.zip
Error Message Being Displayed:
–Internet Explorer Script Error "An error has occurred in the script on this page"
Line: 18
Char: 71
Error: Expected '}'
Code: 0
Url: URL to Document
Any help would be greatly appreciated.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2010 04:44 PM
I have similar problem for any document I am trying to Checkout or Checkin.
Line: 18
Char: 131
Error: Expected '}'
Code: 0
URL: http://alfresco:8080/alfresco/wcservice/office/navigation?p=&e=doc&n=28f9369e-9936-46df-a4b0-5ea390e...
Any help is very much appreciated.
Server: Windows 2003
Client: XP, Office 2003 and Office 2007
Thanks, Frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2010 05:07 PM
Anyway, here's a diff you can apply to the source if you've got SVN HEAD checked out. If not, you can patch the files in the .war file directly, or override them with one of the extension mechanisms for those familiar with them.
Index: root/projects/remote-api/config/alfresco/templates/webscripts/org/alfresco/office/documentDetails.get.html.ftl===================================================================— root/projects/remote-api/config/alfresco/templates/webscripts/org/alfresco/office/documentDetails.get.html.ftl (revision 19377)+++ root/projects/remote-api/config/alfresco/templates/webscripts/org/alfresco/office/documentDetails.get.html.ftl (working copy)@@ -26,7 +26,6 @@ OfficeAddin.defaultQuery = "${defaultQuery}"; ExternalComponent.init( {- fullUrl: "${url.full}", folderPath: "${url.serviceContext}/office/", ticket: "${session.ticket}" });Index: root/projects/remote-api/config/alfresco/templates/webscripts/org/alfresco/office/myTasks.get.html.ftl===================================================================— root/projects/remote-api/config/alfresco/templates/webscripts/org/alfresco/office/myTasks.get.html.ftl (revision 19377)+++ root/projects/remote-api/config/alfresco/templates/webscripts/org/alfresco/office/myTasks.get.html.ftl (working copy)@@ -32,7 +32,6 @@ OfficeAddin.defaultQuery = "${defaultQuery}"; ExternalComponent.init( {- fullUrl: "${url.full}", folderPath: "${url.serviceContext}/office/", ticket: "${session.ticket}" });Index: root/projects/remote-api/config/alfresco/templates/webscripts/org/alfresco/office/navigation.get.html.ftl===================================================================— root/projects/remote-api/config/alfresco/templates/webscripts/org/alfresco/office/navigation.get.html.ftl (revision 19377)+++ root/projects/remote-api/config/alfresco/templates/webscripts/org/alfresco/office/navigation.get.html.ftl (working copy)@@ -27,7 +27,6 @@ OfficeAddin.defaultQuery = "${defaultQuery}"; ExternalComponent.init( {- fullUrl: "${url.full}", folderPath: "${url.serviceContext}/office/", ticket: "${session.ticket}" }<#if args.env??>, "${args.env}")</#if>);Index: root/projects/remote-api/config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco.get.html.ftl===================================================================— root/projects/remote-api/config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco.get.html.ftl (revision 19377)+++ root/projects/remote-api/config/alfresco/templates/webscripts/org/alfresco/office/myAlfresco.get.html.ftl (working copy)@@ -28,7 +28,6 @@ OfficeAddin.defaultQuery = "${defaultQuery}"; ExternalComponent.init( {- fullUrl: "${url.full}", folderPath: "${url.serviceContext}/office/", ticket: "${session.ticket}" });Index: root/projects/remote-api/config/alfresco/templates/webscripts/org/alfresco/office/search.get.html.ftl===================================================================— root/projects/remote-api/config/alfresco/templates/webscripts/org/alfresco/office/search.get.html.ftl (revision 19377)+++ root/projects/remote-api/config/alfresco/templates/webscripts/org/alfresco/office/search.get.html.ftl (working copy)@@ -23,7 +23,6 @@ OfficeAddin.defaultQuery = "${defaultQuery}"; ExternalComponent.init( {- fullUrl: "${url.full}", folderPath: "${url.serviceContext}/office/", ticket: "${session.ticket}" });Index: root/projects/remote-api/config/alfresco/templates/webscripts/org/alfresco/office/tags.get.html.ftl===================================================================— root/projects/remote-api/config/alfresco/templates/webscripts/org/alfresco/office/tags.get.html.ftl (revision 19377)+++ root/projects/remote-api/config/alfresco/templates/webscripts/org/alfresco/office/tags.get.html.ftl (working copy)@@ -26,7 +26,6 @@ OfficeAddin.defaultQuery = "${defaultQuery}"; ExternalComponent.init( {- fullUrl: "${url.full}", folderPath: "${url.serviceContext}/office/", ticket: "${session.ticket}" });
I'll apply to fix to v3.3.Thanks,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2010 07:12 AM
Thanks MikeH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2010 10:24 AM
Thanks,
Mike
