cancel
Showing results for 
Search instead for 
Did you mean: 

sample Web Scripts in Alfresco 2.1

guidow
Champ in-the-making
Champ in-the-making
I'm currently trying out the new Web Script functionality in
Alfresco 2.1 RC.

The built-in Web Scripts (Keyword search etc.) seem to work,
but the samples in the Data Dictionary/Web Scripts for user
generated Web Scripts are not available.

They're not listed by
http://localhost:8080/alfresco/service/index/all ,
and http://localhost:8080/alfresco/service/sample/blog/search?q=foo
results in a "Web Script Status 404 - Script url /sample/blog/search does not map to a Web Script.".

I'm running a fresh 2.1 RC installation (Linux, German locale)
Is there anything else to be done to activate the sample Web Scripts?

Also, it seems that in 2.1 RC there is code to apply Web Scripts
to Custom Views (see browse.jsp, ASPECT_WEBSCRIPTABLE),
but I do not see how to associate Web Scripts to a space or a document
using the Web Client (Apply Template only shows a list of FTL templates).
Will this functionality not yet be available in 2.1?

TIA & Cheers, Guido
8 REPLIES 8

kevinr
Star Contributor
Star Contributor
Also, it seems that in 2.1 RC there is code to apply Web Scripts
to Custom Views (see browse.jsp, ASPECT_WEBSCRIPTABLE),
but I do not see how to associate Web Scripts to a space or a document
using the Web Client (Apply Template only shows a list of FTL templates).
Will this functionality not yet be available in 2.1?

Well spotted Smiley Happy this functionality won't have any UI in 2.1. But you can execute a very simple JavaScript via URL to set a webscript as a nifty custom view for a space:

// example script to set the Document List webscript as the custom view for a node
// @param noderef    space to set webscript against as custom view
var dest = search.findNode(args["noderef"]);
dest.addAspect("cm:webscriptable");
dest.properties["cm:webscript"] = "/wcs/doclist";
dest.save();
Or this could be done programmatically using the Alfresco Java APIs - as you can easily see, it's just a matter of adding an aspect as a marker (which is what the BrowseBean looks for) and setting the webscript service path as a property of the aspect.

Thanks,

Kevin

davidc
Star Contributor
Star Contributor
The sample web scripts are activated by default.  Can you let me know of the following information:

1) In the result of the url /alfresco/service/index, how many web scripts are registered? There should be 40 for a vanilla 2.1 RC install

2) In the result of the url /alfresco/service/index/package/org/alfresco/sample, how many web scripts are listed?  There should be 5.

I suspect you'll have different numbers, as they don't seem to be registered in your case.

3) Can you clarify that the web script files are actually in /Data Dictionary/Web Scripts/org/alfresco/sample

I suspect the answer is yes.

So, can you switch on the following log4j property:

log4j.logger.org.alfresco.web.scripts=debug

And then hit the "reset" button in the url /alfresco/service/index

You'll see debug output listing each of the scripts that are registered.  If you can paste the output here, that'll be useful.

I notice you're executing with German locale.  It may be that the search for web script files in the repository is failing with this locale.

guidow
Champ in-the-making
Champ in-the-making
1) In the result of the url /alfresco/service/index, how many web scripts are registered? There should be 40 for a vanilla 2.1 RC install

It's 35 on my system.

2) In the result of the url /alfresco/service/index/package/org/alfresco/sample, how many web scripts are listed? There should be 5.

Here, I get an error message "Web Script Package 'org/alfresco/sample' not found."

3) Can you clarify that the web script files are actually in /Data Dictionary/Web Scripts/org/alfresco/sample

The Data Dictionary is called "Daten Verzeichnis" on my system.
Otherwise, the path is the same. It really seems to be a locale issue,
see below. However, manually changing the name to "Data Dictionary"
does not help, and the node name still seems to be "app:dictionary".

…You'll see debug output listing each of the scripts that are registered. If you can paste the output here, that'll be useful.

Here it is:


11:18:09,917 DEBUG [org.alfresco.web.scripts.WebScriptServlet] Processing request (POST) http://localhost:8080/alfresco/service/
11:18:09,918 DEBUG [org.alfresco.web.scripts.WebScriptRuntime] Processing script url (POST) /
11:18:09,918 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Web Script index lookup for uri / took 0ms
11:18:09,918 DEBUG [org.alfresco.web.scripts.WebScriptRuntime] Agent: null
11:18:09,919 DEBUG [org.alfresco.web.scripts.WebScriptRuntime] Format style: any, Default format: html
11:18:09,919 DEBUG [org.alfresco.web.scripts.WebScriptRuntime] Invoking Web Script org/alfresco/index.post (unauthenticated)
11:18:09,919 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Initialising Web Scripts
11:18:09,929 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Locating Web Scripts within workspace://SpacesStore/app:company_home/app:dictionary/cm:extensionwebscripts
11:18:09,969 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Locating Web Scripts within workspace://SpacesStore/app:company_home/app:dictionary/cm:webscripts
11:18:10,010 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Locating Web Scripts within classpath:alfresco/templates/webscripts
11:18:10,251 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/office/docActions.get (desc: org/alfresco/office/docActions.get.desc.xml, impl: webscript_default, auth: user, trx: required, format style: any, default format: html)
11:18:10,252 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/office/docActions'
11:18:10,405 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/office/documentDetails.get (desc: org/alfresco/office/documentDetails.get.desc.xml, impl: webscript_default, auth: user, trx: required, format style: any, default format: html)
11:18:10,405 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/office/documentDetails'
11:18:10,535 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/office/getUsers.get (desc: org/alfresco/office/getUsers.get.desc.xml, impl: webscript_default, auth: user, trx: required, format style: any, default format: html)
11:18:10,535 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/office/getUsers'
11:18:10,619 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/office/myAlfresco.get (desc: org/alfresco/office/myAlfresco.get.desc.xml, impl: webscript_default, auth: user, trx: required, format style: any, default format: html)
11:18:10,619 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/office/myAlfresco'
11:18:10,668 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/office/myTasks.get (desc: org/alfresco/office/myTasks.get.desc.xml, impl: webscript_default, auth: user, trx: required, format style: any, default format: html)
11:18:10,669 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/office/myTasks'
11:18:10,706 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/office/myTasksDetail.get (desc: org/alfresco/office/myTasksDetail.get.desc.xml, impl: webscript_default, auth: user, trx: required, format style: any, default format: html)
11:18:10,707 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/office/myTasksDetail'
11:18:10,825 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/office/navigation.get (desc: org/alfresco/office/navigation.get.desc.xml, impl: webscript_default, auth: user, trx: required, format style: any, default format: html)
11:18:10,825 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/office/navigation'
11:18:10,883 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/office/search.get (desc: org/alfresco/office/search.get.desc.xml, impl: webscript_default, auth: user, trx: required, format style: any, default format: html)
11:18:10,883 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/office/search'
11:18:10,977 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/office/searchResults.get (desc: org/alfresco/office/searchResults.get.desc.xml, impl: webscript_default, auth: user, trx: required, format style: any, default format: html)
11:18:10,977 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/office/searchResults'
11:18:11,172 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/portlets/doclist.get (desc: org/alfresco/portlets/doclist.get.desc.xml, impl: webscript_default, auth: user, trx: required, format style: any, default format: html)
11:18:11,172 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/doclist'
11:18:11,230 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/portlets/doclistpanel.get (desc: org/alfresco/portlets/doclistpanel.get.desc.xml, impl: webscript_default, auth: user, trx: required, format style: any, default format: html)
11:18:11,230 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/doclistpanel'
11:18:11,269 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/portlets/myspaces.get (desc: org/alfresco/portlets/myspaces.get.desc.xml, impl: webscript_default, auth: user, trx: required, format style: any, default format: html)
11:18:11,270 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/myspaces'
11:18:11,342 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/portlets/myspacespanel.get (desc: org/alfresco/portlets/myspacespanel.get.desc.xml, impl: webscript_default, auth: user, trx: required, format style: any, default format: html)
11:18:11,342 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/myspacespanel'
11:18:11,389 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/portlets/mytasks.get (desc: org/alfresco/portlets/mytasks.get.desc.xml, impl: webscript_default, auth: user, trx: required, format style: any, default format: html)
11:18:11,389 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/mytasks'
11:18:11,423 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/portlets/mytaskspanel.get (desc: org/alfresco/portlets/mytaskspanel.get.desc.xml, impl: webscript_default, auth: user, trx: required, format style: any, default format: html)
11:18:11,423 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/mytaskspanel'
11:18:11,477 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/portlets/mywebforms.get (desc: org/alfresco/portlets/mywebforms.get.desc.xml, impl: webscript_default, auth: user, trx: required, format style: any, default format: html)
11:18:11,478 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/mywebforms'
11:18:11,519 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/repository/search/keywordsearch.get (desc: org/alfresco/repository/search/keywordsearch.get.desc.xml, impl: webscript.org.alfresco.repository.search.keywordsearch.get, auth: guest, trx: required, format style: any, default format: html)
11:18:11,519 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/api/search/keyword'
11:18:11,519 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/search/keyword'
11:18:11,544 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/repository/search/keywordsearchdescription.get (desc: org/alfresco/repository/search/keywordsearchdescription.get.desc.xml, impl: webscript_default, auth: none, trx: none, format style: argument, default format: opensearchdescription)
11:18:11,545 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/api/search/keyword/description.xml'
11:18:11,545 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/search/keyword/description.xml'
11:18:11,579 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/repository/search/searchengines.get (desc: org/alfresco/repository/search/searchengines.get.desc.xml, impl: webscript.org.alfresco.repository.search.searchengines.get, auth: none, trx: none, format style: any, default format: html)
11:18:11,580 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/api/search/engines'
11:18:11,580 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/search/engines'
11:18:11,582 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/repository/search/searchproxy.get (desc: org/alfresco/repository/search/searchproxy.get.desc.xml, impl: webscript.org.alfresco.repository.search.searchproxy.get, auth: none, trx: none, format style: any, default format: null)
11:18:11,582 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/api/search/engine/'
11:18:11,582 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/search/engine/'
11:18:11,584 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/repository/store/content.get (desc: org/alfresco/repository/store/content.get.desc.xml, impl: webscript.org.alfresco.repository.store.content.get, auth: guest, trx: required, format style: argument, default format: null)
11:18:11,584 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/api/node/content'
11:18:11,584 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/api/path/content'
11:18:11,642 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/repository/login.get (desc: org/alfresco/repository/login.get.desc.xml, impl: webscript.org.alfresco.repository.login.get, auth: none, trx: required, format style: any, default format: xml)
11:18:11,643 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/api/login'
11:18:11,671 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/repository/loginticket.delete (desc: org/alfresco/repository/loginticket.delete.desc.xml, impl: webscript.org.alfresco.repository.loginticket.delete, auth: user, trx: required, format style: any, default format: xml)
11:18:11,671 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'DELETE:/api/login/ticket/'
11:18:11,705 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/repository/loginticket.get (desc: org/alfresco/repository/loginticket.get.desc.xml, impl: webscript.org.alfresco.repository.loginticket.get, auth: user, trx: required, format style: any, default format: xml)
11:18:11,705 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/api/login/ticket/'
11:18:11,755 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/index.get (desc: org/alfresco/index.get.desc.xml, impl: webscript.org.alfresco.index.get, auth: none, trx: none, format style: any, default format: html)
11:18:11,755 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/'
11:18:11,755 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/index'
11:18:11,789 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/index.post (desc: org/alfresco/index.post.desc.xml, impl: webscript.org.alfresco.index.post, auth: none, trx: none, format style: any, default format: html)
11:18:11,790 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'POST:/index'
11:18:11,790 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'POST:/'
11:18:11,828 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/indexall.get (desc: org/alfresco/indexall.get.desc.xml, impl: webscript.org.alfresco.indexall.get, auth: none, trx: none, format style: any, default format: html)
11:18:11,828 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/index/all'
11:18:11,973 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/indexpackage.get (desc: org/alfresco/indexpackage.get.desc.xml, impl: webscript.org.alfresco.indexpackage.get, auth: none, trx: none, format style: any, default format: html)
11:18:12,076 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/index/package/'
11:18:12,121 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/indexuri.get (desc: org/alfresco/indexuri.get.desc.xml, impl: webscript.org.alfresco.indexuri.get, auth: none, trx: none, format style: argument, default format: html)
11:18:12,122 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/index/uri/'
11:18:12,156 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/jsdebugger.get (desc: org/alfresco/jsdebugger.get.desc.xml, impl: webscript.org.alfresco.jsdebugger.get, auth: admin, trx: required, format style: any, default format: html)
11:18:12,156 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/api/javascript/debugger'
11:18:12,260 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/jsdebugger.post (desc: org/alfresco/jsdebugger.post.desc.xml, impl: webscript.org.alfresco.jsdebugger.post, auth: admin, trx: required, format style: any, default format: html)
11:18:12,260 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'POST:/api/javascript/debugger'
11:18:12,262 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/scriptdescription.get (desc: org/alfresco/scriptdescription.get.desc.xml, impl: webscript.org.alfresco.scriptdescription.get, auth: none, trx: none, format style: argument, default format: html)
11:18:12,262 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/description/'
11:18:12,297 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/scriptdump.get (desc: org/alfresco/scriptdump.get.desc.xml, impl: webscript.org.alfresco.scriptdump.get, auth: admin, trx: required, format style: argument, default format: html)
11:18:12,297 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/script/'
11:18:12,332 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/scriptinstall.get (desc: org/alfresco/scriptinstall.get.desc.xml, impl: webscript_default, auth: admin, trx: required, format style: any, default format: html)
11:18:12,332 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'GET:/installer'
11:18:12,366 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Found Web Script org/alfresco/scriptinstall.post (desc: org/alfresco/scriptinstall.post.desc.xml, impl: webscript.org.alfresco.scriptinstall.post, auth: admin, trx: required, format style: any, default format: html)
11:18:12,366 DEBUG [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered Web Script URL 'POST:/installer'
11:18:12,366 INFO  [org.alfresco.web.scripts.DeclarativeWebScriptRegistry] Registered 35 Web Scripts, 42 URLs (in 2447ms)
11:18:12,366 DEBUG [org.alfresco.web.scripts.DeclarativeWebScript] Rendering response: content type=text/html, status=200
11:18:12,366 DEBUG [org.alfresco.web.scripts.DeclarativeWebScript] Rendering template 'org/alfresco/index.post.html.ftl'
11:18:12,498 DEBUG [org.alfresco.web.scripts.AbstractWebScript] Rendered template org/alfresco/index.post.html.ftl in 131ms
11:18:12,498 DEBUG [org.alfresco.web.scripts.WebScriptRuntime] Web Script org/alfresco/index.post executed in 2579ms
11:18:12,498 DEBUG [org.alfresco.web.scripts.WebScriptRuntime] Processed script url (POST) / in 2580ms

It seems that the scripts in the data dictionary folder are  not found.

I notice you're executing with German locale. It may be that the search for web script files in the repository is failing with this locale.

That seems to be the problem. I installed Alfresco again with
LANG=en_US using the Alfresco-Community-2.1R1-Linux-x86-Install
installer. Then the Data Dictionary is called Data Dictionary and I have
the expected 40 Web scripts.

guidow
Champ in-the-making
Champ in-the-making
(associating Web Script to custom view)
Well spotted Smiley Very Happy this functionality won't have any UI in 2.1. But you can execute a very simple JavaScript via URL to set a webscript as a nifty custom view for a space:

This works - thank you very much! But how can e.g. the current folder
for which the custom view is displayed be passed to the webscript?

davidc
Star Contributor
Star Contributor
Re: german locale

Thanks for your detailed response.  It does seem to be an issue with locating repository housed web scripts with a non-EN locale.  I'll investigate http://issues.alfresco.com/browse/AR-1590.

davidc
Star Contributor
Star Contributor

emmy
Champ in-the-making
Champ in-the-making
It's possible to know which classes have been modified for fix this bug so as to download them from Alfresco Subversion repository.

Thanks in advance,
Emanuela

davidc
Star Contributor
Star Contributor
/alfresco/HEAD/root/projects/web-client/source/java/org/alfresco/web/scripts/RepoStore.java

or you can pull the 2.1 community release final.