cancel
Showing results for 
Search instead for 
Did you mean: 

Share 'Site Finder' and My Sites Dashlet

nmcminn
Champ in-the-making
Champ in-the-making
I am working on getting Share up and running for a fairly large deployment, and have run into a bit of a problem.  We are running Alfresco community 3.0.0 stable on windows 2003/MySQL, installed with the complete installer package.  It was easy enough to set up and get hooked up to our LDAP directory, but there is a problem with the "sites" functionality

When I try to search for sites I get the following error message:

Wrapped Exception (with status template): Error during processing of the template 'Method public org.alfresco.repo.jscript.ScriptableHashMap org.alfresco.repo.site.script.Site.listMembers(java.lang.String,java.lang.String) threw an exception when invoked on org.alfresco.repo.site.script.Site@37879d'. Please contact your system administrator.

I checked the following thread, which explained another issue we were having with sites disappearing from the "my sites" dashlet, but I have been unable to resolve the search issue so far.  Any suggestions?

http://forums.alfresco.com/en/viewtopic.php?f=47&t=16386&start=0
13 REPLIES 13

edwin_s
Champ in-the-making
Champ in-the-making
I am encountering the same issue.  Has anyone solved this problem?

Thanks,
Ed

mikeh
Star Contributor
Star Contributor
Do your usernames contain dots by and chance? If so, this was an bug in that release which has now been fixed on HEAD and in 3.2 Labs Preview.

Thanks,
Mike

jdeclerck
Champ in-the-making
Champ in-the-making
Hi,

As I'm trying Alfresco 3 stable, and I don't like to use the preview version, could you provide me the files to change or a link which would explain it.

Regards,

Joseph.

mikeh
Star Contributor
Star Contributor
Here's the JIRA ticket: https://issues.alfresco.com/jira/browse/ETHREEOH-1101

Thanks,
Mike

jdeclerck
Champ in-the-making
Champ in-the-making
Thanks Mike for this answer, but this ticket is just for the search member in a site, right?

I've been following this ticket, locate on my Alfresco server the files named, and took care of making the changes requested.

I can now search members,but I still can't search sites.

Our configuration is:

NTLM for authentication
LDAP for synchronisation
users format is firstname.lastname

I finally manage to get everything working excepting the "search site function".

Regards,

Joseph de Clerck.

mikeh
Star Contributor
Star Contributor
You'd probably need to update all the ones in the /site/ folder too - search for any files ending with .desc.xml. Where the format type is JSON, update with the fix suggested in the ticket.

Thanks,
Mike

jdeclerck
Champ in-the-making
Champ in-the-making
Hi Mike,

After updating every file finishing by .desc.xml in the /site/ (tomcat/webapps/alfresco/WEB-INF/classes/…/templates/repositery/sites/), it still put a wrapped exception when searching for sites.
I've updated the subfolders too.

Wrapped Exception (with status template): Error during processing of the template 'Method public org.alfresco.repo.jscript.ScriptableHashMap org.alfresco.repo.site.script.Site.listMembers(java.lang.String,java.lang.String) threw an exception when invoked on org.alfresco.repo.site.script.Site@1f6442a'. Please contact your system administrator.

Please let me know if there is anything else I should do.

The function for searching members is working great btw.

Thanks,

Joseph de Clerck

jdeclerck
Champ in-the-making
Champ in-the-making
Hi,

I finally assumed that it was related to our groups.

After reinstallation without importing AD groups through LDAP, I don't have any other errors.

If groups in AD contains @, could it cause problems?

Regards,

Joseph.

mikeh
Star Contributor
Star Contributor
It's possible, yes. If you can reproduce the problem please raise a JIRA ticket so we can prioritise a fix.

Thanks,
Mike