Site-Finder Fails
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2008 06:45 PM
Alfresco Share Version: Labs 3c
Login as regular user, on top navigation navigate to "Sites" –> "Find Sites" (http://mymachine-vm1:8080/share/page/site-finder)
Error I see
=========
Can't parse response as json: ' [ { "url" : "\/alfresco\/s\/api\/sites\/ShareSite1", "sitePreset" : "site-dashboard", "shortName" : "ShareSite1", "title" : "ShareSite1", "description" : "ShareSite1", "node" : "\/alfresco\/s\/api\/node\/workspace\/SpacesStore\/81b67089-b8f0-4b82-8697-e3b07c364a40", "tagScope" : "\/alfresco\/s\/api\/tagscopes\/workspace\/SpacesStore\/81b67089-b8f0-4b82-8697-e3b07c364a40", "isPublic" : false, } , { "url" : "\/alfresco\/s\/api\/sites\/CA", "sitePreset" : "site-dashboard", "shortName" : "CA", "title" : "CA", "description" : "", "node" : "\/alfresco\/s\/api\/node\/workspace\/SpacesStore\/cfb7d1e2-36fc-4c95-a711-31f109ef7cf6", "tagScope" : "\/alfresco\/s\/api\/tagscopes\/workspace\/SpacesStore\/cfb7d1e2-36fc-4c95-a711-31f109ef7cf6", "isPublic" : true, } ]'
Login as regular user, on top navigation navigate to "Sites" –> "Find Sites" (http://mymachine-vm1:8080/share/page/site-finder)
Error I see
=========
Can't parse response as json: ' [ { "url" : "\/alfresco\/s\/api\/sites\/ShareSite1", "sitePreset" : "site-dashboard", "shortName" : "ShareSite1", "title" : "ShareSite1", "description" : "ShareSite1", "node" : "\/alfresco\/s\/api\/node\/workspace\/SpacesStore\/81b67089-b8f0-4b82-8697-e3b07c364a40", "tagScope" : "\/alfresco\/s\/api\/tagscopes\/workspace\/SpacesStore\/81b67089-b8f0-4b82-8697-e3b07c364a40", "isPublic" : false, } , { "url" : "\/alfresco\/s\/api\/sites\/CA", "sitePreset" : "site-dashboard", "shortName" : "CA", "title" : "CA", "description" : "", "node" : "\/alfresco\/s\/api\/node\/workspace\/SpacesStore\/cfb7d1e2-36fc-4c95-a711-31f109ef7cf6", "tagScope" : "\/alfresco\/s\/api\/tagscopes\/workspace\/SpacesStore\/cfb7d1e2-36fc-4c95-a711-31f109ef7cf6", "isPublic" : true, } ]'
Labels:
- Labels:
-
Archive
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2008 11:20 AM
I've got this same issue, however it only happens on IE 6 or 7, not FF3 or Google Chrome. I assume it's something to do with site-finder.js but I'm not sure what. If I login with a user who is not assigned any groups, the JSON error doesn't come up but there is still an error with the javascript that won't allow a search.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2008 11:25 AM
Just realized its a known bug https://issues.alfresco.com/jira/browse/ALFCOM-2202

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2008 11:46 AM
Just tried moving the comma as recommended in the link above, restarted the server and it works great!
