-
Bug
-
Resolution: Fixed
-
Minor
-
4.1.0
-
None
-
None
-
4.1RC1
-
4.1 RC2
When searching in Solr (sometime on 1st search, but always on next searchs) there is the following warning message multiple time (once per column displayed)
Note : this only appears in development mode
[W] Ext.grid.header.Container attempted to reuse an existing id: title
I think it is an ExtJS bug
Indeed, in src/panel/Table.js in lines 2253 and 2254 in reconfigure method, ExtJS does
nothing wrong here
but if we investigate deeper, in src/grid/header/Container.js in line 787 in onRemove method it does
delete me._usedIDs[c.headerId];
whereas in line 702 in onAdd method, it does
So in my opinion, there is here a problem of consistency with the keys of the cache object _usedIDs. The onRemove method should do
delete me._usedIDs[c.getStateId()];
So I propose to open an issue for ExtJS + the workaround in the attached branch