6 Replies Latest reply on Jun 25, 2018 11:24 AM by Joerg

    [18.1] Unable to select button icon

    bkmcdaniel

      I recently upgraded my APEX environment to from 5.1.4 to 18.1 (DB 12.2; ORDS 18.1.1 deployed to WLS 12.2.1.3). Everything appears to be working fine with the exception of clicking the LOV button to bring up the icon selection for a button defined as "Text with icon" or "Icon only". This also applies to the icon LOV button for a input item. The CSS Classes, Custom Attributes, and Server-side condition - Item LOV buttons all work as expected. When I click the icon LOV button there is no pop-up. Enabling the developer tools in the browser appear to give a JS error in the file f4000_p4500_all.min.js.

       

      Console error displayed in Firefox 60:

      TypeError: b[d] is undefined [Learn More]
      _renderFilters                              https://dev01.redactsrv.xxx/i/apex_ui/js/minified/f4000_p4500_all.min.js:27:11326
      a.widget/</h[b]</<                          https://dev01.redactsrv.xxx/i/libraries/apex/minified/desktop_all.min.js:29:6845
      _renderFilters                              https://dev01.redactsrv.xxx/i/apex_ui/js/minified/f4000_p4500_all.min.js:27:11533
      a.widget/</h[b]</<                          https://dev01.redactsrv.xxx/i/libraries/apex/minified/desktop_all.min.js:29:6845
      _renderLovDialog                            https://dev01.redactsrv.xxx/i/apex_ui/js/minified/f4000_p4500_all.min.js:27:1882
      a.widget/</h[b]</<                          https://dev01.redactsrv.xxx/i/libraries/apex/minified/desktop_all.min.js:29:6845
      _create                                     https://dev01.redactsrv.xxx/i/apex_ui/js/minified/f4000_p4500_all.min.js:27:1738
      a.widget/</h[b]</<                          https://dev01.redactsrv.xxx/i/libraries/apex/minified/desktop_all.min.js:29:6845
      _createWidget                               https://dev01.redactsrv.xxx/i/libraries/apex/minified/desktop_all.min.js:29:8943
      a.widget/a[i][b]                            https://dev01.redactsrv.xxx/i/libraries/apex/minified/desktop_all.min.js:29:6409
      a.widget.bridge/a.fn[b]/<                   https://dev01.redactsrv.xxx/i/libraries/apex/minified/desktop_all.min.js:29:8180
      each                                        https://dev01.redactsrv.xxx/i/libraries/apex/minified/desktop_all.min.js:2:2813
      each                                        https://dev01.redactsrv.xxx/i/libraries/apex/minified/desktop_all.min.js:2:1001
      a.widget.bridge/a.fn[b]                     https://dev01.redactsrv.xxx/i/libraries/apex/minified/desktop_all.min.js:29:8085
      g                                           https://dev01.redactsrv.xxx/i/apex_ui/js/minified/f4000_p4500_all.min.js:25:14054
      dispatch                                    https://dev01.redactsrv.xxx/i/libraries/apex/minified/desktop_all.min.js:3:10263
      add/q.handle                                https://dev01.redactsrv.xxx/i/libraries/apex/minified/desktop_all.min.js:3:8325
      

       

      Console error displayed in IE11:

      SCRIPT5007: Unable to get property 'type' of undefined or null reference
      f4000_p4500_all.min.js (27,11314)
      

       

      Console error displayed in Chrome 67:

      f4000_p4500_all.min.js?v=18.1.0.00.45:27 Uncaught TypeError: Cannot read property 'type' of undefined
          at a.(/ords/anonymous function).(anonymous function)._renderFilters (https://dev01.redactsrv.xxx/i/apex_ui/js/minified/f4000_p4500_all.min.js?v=18.1.0.00.45:27:11331)
          at a.(/ords/anonymous function).(anonymous function)._renderFilters (https://dev01.redactsrv.xxx/i/libraries/apex/minified/desktop_all.min.js?v=18.1.0.00.45:29:6847)
          at a.(/ords/anonymous function).(anonymous function)._renderFilters (https://dev01.redactsrv.xxx/i/apex_ui/js/minified/f4000_p4500_all.min.js?v=18.1.0.00.45:27:11538)
          at a.(/ords/anonymous function).(anonymous function)._renderFilters (https://dev01.redactsrv.xxx/i/libraries/apex/minified/desktop_all.min.js?v=18.1.0.00.45:29:6847)
          at a.(/ords/anonymous function).(anonymous function)._renderLovDialog (https://dev01.redactsrv.xxx/i/apex_ui/js/minified/f4000_p4500_all.min.js?v=18.1.0.00.45:27:1887)
          at a.(/ords/anonymous function).(anonymous function)._renderLovDialog (https://dev01.redactsrv.xxx/i/libraries/apex/minified/desktop_all.min.js?v=18.1.0.00.45:29:6847)
          at a.(/ords/anonymous function).(anonymous function)._create (https://dev01.redactsrv.xxx/i/apex_ui/js/minified/f4000_p4500_all.min.js?v=18.1.0.00.45:27:1743)
          at a.(/ords/anonymous function).(anonymous function)._create (https://dev01.redactsrv.xxx/i/libraries/apex/minified/desktop_all.min.js?v=18.1.0.00.45:29:6847)
          at a.(/ords/anonymous function).(anonymous function)._createWidget (https://dev01.redactsrv.xxx/i/libraries/apex/minified/desktop_all.min.js?v=18.1.0.00.45:29:8948)
          at new a.(/ords/anonymous function).(anonymous function) (https://dev01.redactsrv.xxx/i/libraries/apex/minified/desktop_all.min.js?v=18.1.0.00.45:29:6414)
      

       

      The location this appears to be having an issue with is at/around:

      switch(e=[],b[d].type){case"search":this._renderSearch(a,b[d]);break;case"text":this._renderText(a,b[d]);break;case"select":e=this._renderSelect(a,b[d]);break;case"buttonset":e=this._renderButtonSet(a,b[d])}e.length>0&&this._renderFilters(a,e,!0)}b.length>0&&!c&&a.markup("</div>")}
      

       

       

      I re-coppied the images folder from the APEX release back to the app server, redeployed i.war, and restarted the managed server as well as OHS. I have also run the apex_verify.sql from MOS and it identified no issues. I am not able to reproduce this issue on apex.oracle.com. Any thoughts on if this is some kind of issue related to my deployment or a bug with the release?