Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-14018

rich:select - js error - this.cache is undefined (or similar js error)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.5.4
    • Fix Version/s: 4.5.5
    • Component/s: component-selects
    • Labels:
    • Environment:

      tomee 1.7.1, myfaces 2.1.13, firefox 37.0.1

    • Steps to Reproduce:
      Hide

      To reproduce :
      1. clic in a rich:select
      2. type letters quickly in
      3. It ends up with the error :

      TypeError: this.cache is undefined
      ---> var items = this.cache.getItems(inputLabel, this.filterFunction);
      

      It can be reproduced in the showcase http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=select&skin=blueSky
      In this case, error is :

      TypeError: this.cache is undefined
      if(this.enableManualInput){var H=this.cache.getItems(K,this.filterFunction);
      
      Show
      To reproduce : 1. clic in a rich:select 2. type letters quickly in 3. It ends up with the error : TypeError: this .cache is undefined ---> var items = this .cache.getItems(inputLabel, this .filterFunction); It can be reproduced in the showcase http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=select&skin=blueSky In this case, error is : TypeError: this .cache is undefined if ( this .enableManualInput){ var H= this .cache.getItems(K, this .filterFunction);
    • Workaround Description:
      Hide

      No workaround found

      Show
      No workaround found

      Description

      With rich:select, when using option enableManualInput="true", a js error appear frequently (TypeError: this.cache is undefined).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                joeleclems Clément Romain
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: