Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-8467

JS error in IE8 " Object doesn't support this property or method "

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-rc1, 2.2
    • Component/s: Accessibility, Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-6653IFrame height adjustment logic leads to JS error in IE8
      KULRICE-9013easyXDM messaging doesn't work in IE8
      KULRICE-13317Column calculation doesn't support namespaced methods
      KULRICE-11105KRAD JS Error in Rice 2.4.0-M3
      KULRICE-12205Text Area expand causes JS error
      KULRICE-7555console is undefined error in IE8
      KULRICE-6861JS error with refreshWhenChanged
      KULRICE-12371KRAD TextArea expand icon results in js error growl message.
      KULRICE-11282openHelpWindow js function not working in chrome
      KULRICE-7914JS Error on collection test view Save tab
    • Rice Module:
      KRAD
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      In IE8 When throwing a error on to the page using the " GlobalVariables.getMessageMap().putWarning(propertyName, errorkey, params)" : getting a JS error " Object doesn't support this property or method ".

      Debugged the Issue and found the issue is in krad_2.2.0-M4.min.js file trim() method.

      ***************
      s=s.trim();
      s is a string where string is trimmed using the format(String.trim()) which will not work in the IE cause it dont have the trim() method in it, To get this fixed the trim() can be changed to s=jQuery.trim(s);

      ***************
      Please find the screenshots for reference

      1. jserror.jpg
        141 kB
      2. trimfailure.jpg
        134 kB

        Activity

        Hide
        Jerry Neal (Inactive) added a comment -

        Matt,

        Please focus on this issue next.

        thanks,
        Jerry

        Show
        Jerry Neal (Inactive) added a comment - Matt, Please focus on this issue next. thanks, Jerry

          People

          • Assignee:
            Matthew Wuertz (Inactive)
            Reporter:
            Hemanth Gajula (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel