Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-11231

[Search results] Display repeater crash the CMS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.5.5, 4.6.0
    • 4.5.3, 4.6.0
    • None
    • None
    • 4.6 M3

      Steps to reproduce

      1. With search tool
        • Create a search model with repeater as result columns
        • Open the search tool (don't need to launch the search)
        • I get an error on opening.
        • Other tools are unusable in the CMS, I have to refresh my page
      2. With Solr search tool
        • Open the Solr search tool
        • Search contents with repeater (like program)
        • Select repeater columns into search results
        • I get these errors in the JS console:
          Entry.js:139 2022-05-23T13:43:20.245Z	ERROR	[Ametys.data.ServerComm]	Une erreur est survenue dans le traitement de la réponse serveur (Ext.grid.column.Column.initComponent(): Ext.grid.column.Column: Group header does not support setting explicit widths. A group header either shrinkwraps its children, or must be flexed.)
           Error: Ext.grid.column.Column: Group header does not support setting explicit widths. A group header either shrinkwraps its children, or must be flexed.
              at new Ext.Error (ext-all.js:2770:21)
              at Function.raise (ext-all.js:2835:23)
              at Object.Ext.raise (ext-all.js:2916:21)
              at constructor.initComponent (ext-all.js:236196:21)
              at constructor (ext-all.js:74158:12)
              at constructor.callParent (ext-all.js:13649:32)
              at constructor (Ext.enhancements.js:2621:15)
              at new constructor (ext-all.js:14564:37)
              at Object.widget (ext-all.js:17082:20)
              at constructor.create (ext-all.js:30401:20)
          traceInConsole @ Entry.js:139
          _log @ Logger.js:214
          error @ Logger.js:148
          display @ ErrorDialog.js:130
          (anonymous) @ ServerComm.js:1094
          Ext.Array.ExtArray.forEach @ ext-all.js:3346
          _dispatch @ ServerComm.js:1079
          _onRequestComplete @ ServerComm.js:957
          callback @ ext-all.js:9638
          onComplete @ ext-all.js:28415
          onStateChange @ ext-all.js:28372
          (anonymous) @ ext-all.js:28362
          elevate @ ext-all.js:2574
          (anonymous) @ ext-all.js:28361
          XMLHttpRequest.send (async)
          start @ ext-all.js:28142
          request @ ext-all.js:29235
          _sendMessages @ ServerComm.js:771
          (anonymous) @ ServerComm.js:432
          setTimeout (async)
          send @ ServerComm.js:432
          _launchSearch @ SolrContentSearchTool.js:373
          callback @ ext-all.js:9638
          fireHandler @ ext-all.js:167196
          onClick @ ext-all.js:167178
          fire @ ext-all.js:22906
          fire @ ext-all.js:37964
          publish @ ext-all.js:37924
          publishDelegatedDomEvent @ ext-all.js:37946
          doDelegatedEvent @ ext-all.js:37990
          onDelegatedEvent @ ext-all.js:37977
          ext-all.js:237007 Uncaught TypeError: Cannot read properties of undefined (reading 'constructing')
              at constructor.hide (ext-all.js:237007:19)
              at constructor.<anonymous> (ContentSearchTool.js:1034:37)
              at constructor.fire (ext-all.js:22906:42)
              at constructor.doFireEvent (ext-all.js:23946:47)
              at constructor.doFireEvent (ext-all.js:75015:48)
              at constructor.prototype.doFireEvent (ext-all.js:66512:31)
              at constructor.fireEventArgs (ext-all.js:23800:26)
              at constructor.fireEvent (ext-all.js:23757:25)
              at constructor.afterLayout (ext-all.js:161210:16)
              at constructor.notifyOwner (ext-all.js:158548:20)
          hide @ ext-all.js:237007
          (anonymous) @ ContentSearchTool.js:1034
          fire @ ext-all.js:22906
          doFireEvent @ ext-all.js:23946
          doFireEvent @ ext-all.js:75015
          prototype.doFireEvent @ ext-all.js:66512
          fireEventArgs @ ext-all.js:23800
          fireEvent @ ext-all.js:23757
          afterLayout @ ext-all.js:161210
          notifyOwner @ ext-all.js:158548
          callLayout @ ext-all.js:265093
          flushLayouts @ ext-all.js:265242
          runComplete @ ext-all.js:265803
          callOverrideParent @ ext-all.js:1592
          callParent @ ext-all.js:13649
          runComplete @ ext-all.js:72252
          run @ ext-all.js:265790
          flushLayouts @ ext-all.js:72260
          resumeLayouts @ ext-all.js:72275
          Ext.resumeLayouts @ ext-all.js:78255
          _dispatch @ ServerComm.js:1116
          _onRequestComplete @ ServerComm.js:957
          callback @ ext-all.js:9638
          onComplete @ ext-all.js:28415
          onStateChange @ ext-all.js:28372
          (anonymous) @ ext-all.js:28362
          elevate @ ext-all.js:2574
          (anonymous) @ ext-all.js:28361
          XMLHttpRequest.send (async)
          start @ ext-all.js:28142
          request @ ext-all.js:29235
          _sendMessages @ ServerComm.js:771
          (anonymous) @ ServerComm.js:432
          setTimeout (async)
          send @ ServerComm.js:432
          _launchSearch @ SolrContentSearchTool.js:373
          callback @ ext-all.js:9638
          fireHandler @ ext-all.js:167196
          onClick @ ext-all.js:167178
          fire @ ext-all.js:22906
          fire @ ext-all.js:37964
          publish @ ext-all.js:37924
          publishDelegatedDomEvent @ ext-all.js:37946
          doDelegatedEvent @ ext-all.js:37990
          onDelegatedEvent @ ext-all.js:37977
          ServerComm.js:1090 Uncaught Error: Ext.grid.column.Column: Group header does not support setting explicit widths. A group header either shrinkwraps its children, or must be flexed.
              at new Ext.Error (ext-all.js:2770:21)
              at Function.raise (ext-all.js:2835:23)
              at Object.Ext.raise (ext-all.js:2916:21)
              at constructor.initComponent (ext-all.js:236196:21)
              at constructor (ext-all.js:74158:12)
              at constructor.callParent (ext-all.js:13649:32)
              at constructor (Ext.enhancements.js:2621:15)
              at new constructor (ext-all.js:14564:37)
              at Object.widget (ext-all.js:17082:20)
              at constructor.create (ext-all.js:30401:20)
        • Other tools are unusable in the CMS, I have to refresh my page

      Note: It seems to be OK on 4.5.2.

            kbourgoin Kepa Bourgoin
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: