Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-1329

JavaScript-Error: Cannot read property 'length' of undefined

    XMLWordPrintable

Details

    Description

      h1.Problem

       The JS exception "Cannot read property 'length' of undefined" happend.

      Can the reason be, that the range (coming from startSpellCheck) is false? I tried to simulate this but got other errors then.

      However, I think in getPositionInfoForRanges we could / should check if range is empty to prevent that or similar errors.

      Exception details:

      Browser / Device:

      Browser: Chrome 66.0.3359.181 
      OS: Ubuntu Chromium
      Window size: 1301 x 441
      Device pixel ratio: 1
      UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/66.0.3359.181 Chrome/66.0.3359.181 Safari/537.36
      Touch:  
      Language: en-US
      Installed Plugins:
      • Chromium PDF Plugin Portable Document Format
      • Chromium PDF Viewer

      Application:

      Environment:  
      Version identifier: development
      Framework: ExtJS 620

      Attachments

        Activity

          People

            Ines-Paul Ines-Paul Baumann (Inactive)
            tlauria Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: