13 October 2014

Chrome and issue with User Manager


This entry will be quite quick to write. But still worth having it here as this might help a few people who like me had to investigate an issue with the User Manager...

Most of our clients love to use Chrome to edit their content. Eventhough everything seems to be working fine, from time to time there are few things here and there. Here is a good one:

When creating a user using the User Manager and Chrome (Sitecore 7.2), you will get the following issue:


Obviously if you are like me (big fan of Firefox), then you may not have this issue :)

Anyway, after reviewing the log files and trying to debug... I came across this article in the Sitecore Knowledge Base. The issue is well described as well as the fix:



 1- Open the /Website/sitecore/shell/Applications/Security/SelectRoles/SelectRoles.xaml.xml file.

 2- Replace the following block of code in the update() function:

    if(typeof(option.innerText) != 'undefined')
    {
      optionValue = option.innerText;
    }
    else
    {
      optionValue = option.textContent;
    }

    with the following:

if(typeof(option.textContent) == 'undefined')
    {
      optionValue = option.innerText;
    }
    else
    {
      optionValue = option.textContent;
    }

3- Clear the browser cache.

No comments:

Post a Comment