cancel
Showing results for 
Search instead for 
Did you mean: 

[SOLVED] Site finder fails on non-existant site

jtp
Champ in-the-making
Champ in-the-making
This is similar to the issue found here: https://issues.alfresco.com/jira/browse/ALFCOM-2202 in a previous version.

Users using IE who click the site finder and search for text that doesn't exist in a site name receive "Error on page"
Opening that error says:
Line:  17
Char:  2542
Error:  Invalid argument.
Code:  0
URL:  http://mysitename:8080/share/page/site-finder

If the user searches for text that does exist in a site name or no search term at all, it works.

In Firefox it works fine.
5 REPLIES 5

mikeh
Star Contributor
Star Contributor
It's a bug in the YUI DataTable - see my bug report here: http://yuilibrary.com/projects/yui2/ticket/2286608

I need to add the workaround to the site-finder component.

Thanks,
Mike

jtp
Champ in-the-making
Champ in-the-making
Is the fix something i can modify on my installation until a new version comes out?

jtp
Champ in-the-making
Champ in-the-making
You probably already know this, but the same error comes up on the people search with the same criteria.  I'm assuming it uses the same basis as the site finder.

mikeh
Star Contributor
Star Contributor
The quickest fix would probably be to search for renderLoopSize: and set it to 0 (zero). Or, if you're feeling more adventurous something like:
renderLoopSize: (YAHOO.env.ua.ie > 0) ? 0 : [the original value]

i.e. in site-finder.js, people-finder.js and (I've just noticed) quite a few other places  :roll:

Thanks,
Mike

jtp
Champ in-the-making
Champ in-the-making
The quickest fix would probably be to search for renderLoopSize: and set it to 0 (zero). Or, if you're feeling more adventurous something like:
renderLoopSize: (YAHOO.env.ua.ie > 0) ? 0 : [the original value]

Thanks for posting this, it worked great.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.