List of Sites and their Members
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2014 12:22 PM
I get this error message when i run this script:
Please correct the errors below then click Finish.
Failed to run Actions due to error: 00161191185 Failed to execute script 'workspace://SpacesStore/607264e5-ec14-464b-bfbd-cf77b043bc8b': 00161191184 An authority was not found for GROUP_site_enfold_SiteCollaborator
it works when i only get a list of sites, but it seems to no work when i try to get the members too.
I am running this script from the Sites Folder.
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2014 12:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2014 09:42 AM
Can you please check that the group for the site "enfold" has a subgroup for siteCollaborator and that it wasn't removed by mistake
Would it crash if you used listMembers(null, null, 0, false)
or if you had at least 1 user in each of the groups of the site (1 for each role)
Also, what's your alfresco version?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2014 12:25 PM
The listmembers method no matter the type of parameters i set, will not work.Would this be an issue to how our sites were created?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2014 01:03 PM
Still got the same error message
Please correct the errors below then click Finish.
Failed to run Actions due to error: 00171307502 Failed to execute script 'workspace://SpacesStore/df1c99ef-307c-479c-be21-813ab666897e': 00171307501 An authority was not found for GROUP_site_enfold_SiteCollaborator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2014 01:03 PM
Still got the same error message
Please correct the errors below then click Finish.
Failed to run Actions due to error: 00171307502 Failed to execute script 'workspace://SpacesStore/df1c99ef-307c-479c-be21-813ab666897e': 00171307501 An authority was not found for GROUP_site_enfold_SiteCollaborator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-20-2014 09:13 AM
I went with the following script
<blockcode>
var sites = siteService.listSites(null,null);
for(var i = 0; i<sites.length;i++) {
logger.log(sites)
var siteMembers = sites.listMembers(null, null, 0, true);
for (var authorityName in siteMembers) {
logger.log("–"+authorityName);
}
}
</blockcode>
That is a simplified version of your that I was too lazy to fully rewrite.
Works like a charm for me.
Could you please test it in your environment?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2014 11:14 AM
I tried your script out and i still got the authority error
Please correct the errors below then click Finish.
Failed to run Actions due to error: 0021153589 Failed to execute script 'workspace://SpacesStore/df1c99ef-307c-479c-be21-813ab666897e': 0021153588 An authority was not found for GROUP_site_enfold_SiteCollaborator
the must be an issue to how the sites were created.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2014 12:15 PM
So yes I believe your "enfold" site has something wrong.
I'd go with the fact that the collaborator group for it has been removed.
Sorry to ask for the same check again but
Can you please check that the group for the site "enfold" has a subgroup for siteCollaborator and that it wasn't removed by mistake
(through the admin panel browse to the "enfold (GROUP_site_enfold)" group and look at the subgroups)
PS; if this site was just copied through a migration or manually created in companyhome > Sites > enfold , that is probably the cause of the bug.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-21-2014 01:21 PM