Recent List error after upgrade from 2020 to 2022

After upgrading to Sage CRM 2022, when a user attempts to use the recent list for a custom entity an error is thrown.  This happens even if a new value is added to the list so I don't think clearing the list will help.

This is the error...

I reviewed the page and this is what is on line 13

var CurrentUserID = CRM.GetContextInfo("user","user_userid");

I commented the line out and tried again.  It does go to the page now...however, before it lands on the page the following is displayed briefly on the screen...

"; charset utf 8 >

Not sure what could be causing this error.

The variable is on the page to control some buttons on the custom page.

Any assistance would be greatly appreciated.

Parents
  • 0

    Hi Michele

    I think I have seen somewhere someone has mentioned this before and it has been reported and it is down to be fixed (Though I might have read that on something internal to be honest) 

    I see that text even on fresh installs - but have a custom entity built into it. So an upgrade certainly has nothing to do with it. 

  • 0 in reply to Matthew Shaw

    We have a client trying to upgrade 2017 R3 -> 2019R2 -> 2022R2, and once 2022R2 upgrade is completed, we get the same error (charset utf 8) when trying to select a "Recent List" item for a Custom table.

    Does anyone know if it's been fixed or when it will be fixed ?

  • 0 in reply to Claude Brulotte

    I have applied a temporary fix where it will get redirect to the same page just one line before it throws an error with the below condition:

    var Key0str = new String(Request.Querystring("Key0"));
    if(Key0str != "" && Key0str != "undefined")
    {
    if (Key0str.indexOf("<") > 0) {
          Response.Redirect(CRM.URL(""));
    }
    }
    }

    Hope this help!

Reply
  • 0 in reply to Claude Brulotte

    I have applied a temporary fix where it will get redirect to the same page just one line before it throws an error with the below condition:

    var Key0str = new String(Request.Querystring("Key0"));
    if(Key0str != "" && Key0str != "undefined")
    {
    if (Key0str.indexOf("<") > 0) {
          Response.Redirect(CRM.URL(""));
    }
    }
    }

    Hope this help!

Children
No Data