magento-grid-colors icon indicating copy to clipboard operation
magento-grid-colors copied to clipboard

Problem on Magento 2.3.5

Open hewgim opened this issue 4 years ago • 3 comments

Hi there,

I've just installed this extension on a Magento 2 development site running on Magento 2.3.5

When I first installed it, it seemed to work, but since I've done a full deployment to production mode the sales order grid just doesn't appear even though the page says that there are x number of rows. I get the following javascript error: TypeError: undefined is not an object (evaluating 'mode.template'). When I swap back to developer mode, I still get the same problem.

I've tried to debug the code and was wondering if it may be a clash with the Magento_AsynchronousOperations module which seems to extend the grid listing component itself.

Do you know if this extension has been tested on Magento 2.3.5 with the Magento_AsynchronousOperations module enabled ?

Any help would be much appreciated.

Kind regards

Mark

hewgim avatar Dec 10 '20 10:12 hewgim

Hi, Did you find a solution to this ? can you confirm the bug ?.... I would like to install this extension on my magento 2.4.2 version

angelflo avatar Apr 08 '21 05:04 angelflo

It looks like the issue is that the columns need to be manually selected again and then the rows will appear.

carlos-reynosa avatar Oct 26 '21 22:10 carlos-reynosa

This issue is also present on 2.4.2-p1, presumably also in 2.4.3.

After a little debugging the problem is somewhere in the js/grid/controls/colors component. Loading the grid for the first time after installing this module always produced the error and I could only make it work by using the element inspector to remove the loader element, then configuring a colour to make the bookmark config update.

Playing around with the storageConfig property of that component seemed to make it work a little better, but not reliably. Might be barking up the wrong tree there though. I think the problem may be that this component is trying to update the localstorage/bookmark config on initialisation/too early as opposed to only when a colour is changed.

robaimes avatar Oct 28 '21 11:10 robaimes