Closed oelbaga closed 3 months ago
Do you get any errors in the js console which you can share? Also can you try to clear your browser cache?
Yes I found the console log errors here. This happens randomly when clicking to add an asset:
Do you get any errors in the js console which you can share? Also can you try to clear your browser cache?
hey aheinze i do get same error, but after i downgrade it's work again
which browser are you using?
i use google chrome and share hosting
It happens on all browsers. I tested.
Can you try the latest dev release? Thanks!
I don't want to use something that isn't ready for production yet but if this eventually gets released with the fix I would love to know!
Hello, We are facing the same issue here, but in an other use case. When we add a component, we correctly get the components panel.
Then close the component panel, go on an other browser tab or reduce the current browser window. Finaly try to add a component again, the components panel show nothing.
The console logs look pretty similar to what was shared before. Our assumption is that the bug is related to the way the browser local storage is managed. It seems that the local storage is cleared because of the manipulations of the browser, and then the bug appears.
Interesting workaround in our case : if you use the "copy a component" feature first, you can't reproduce the pattern then. As if filling the local storage by yourself is fixing the bug.
This bug appeared in the version 2.8.5 (on which I reproduced this pattern). And developers on my team think that the file "addons/Layout/assets/vue-components/layout/component-picker.js", changed on the 2.8.5 version, could be a good place to take a look.
This bug makes the work of our Cockpit users actually really painful in a day to day use. I hope it will help to find a fix. And will be happy to share more details if needed. Thanks!
@Yohan-U Is there a chance that you can try the latest dev release and verify that the issue is fixed? Thanks!
v2.9.0 was just released which should come with a fix
Where can you check the cockpit version in the files?
settings > system info
v2.9.0 was just released which should come with a fix
@aheinze Great! We didn't have time to test the dev release yet. But we will check the v2.9.0 then. Thank you for the update.
settings > system info
Thank you, but I mean in the downloaded files of the repo itself. Where does it show the version in the code base?
v2.9.0 was just released which should come with a fix
@aheinze After an upgrade to the version 2.9.0, I confirm the bug is gone for us. Thanks a lot!
I often get this bug on the latest cockpit version. The page goes blurry and blank whenever I click anything to start adding an asset. It blocks the page and I have to refresh the page to get it working again and then I lose all my data entries. It seems to happen often on first load. I can’t identify what triggers it, it happens all the time on random clicks to add an asset.