guim31
August 26, 2023, 1:20pm
1
Hello everyone,
for 2 days I’ve been having a problem with my dashboard, on one tab in particular.
Indeed, when I go to my « home » tab it seems that the temperature graph fails to load, making the whole page inoperative. My temperature sensors all appear to be working.
A reboot of Gladys (docker restart) and of zigbee2mqtt changed nothing.
Could someone help me find the problem?
Here are the Chromium logs when loading the page: LastSeenDeviceValue.jsx:9 Uncaught (in promise) TypeError: Cannot read propertie - Pastebin.com
Hello everyone,
I’m experiencing exactly the same problem as @guim31
Additionally, when editing the home dashboard, if I click edit and then refresh the page, the same happens for the Discussion and Integrations tabs…
Thanks for the feedback, it’s a bug! The bug must be fairly random — it actually crashes if the front-end hasn’t yet received from the server the language of the currently logged-in user.
I created an issue, I’ll look into it:
ouvert 02:05PM - 26 Aug 23 UTC
fermé 10:29AM - 27 Aug 23 UTC
bug
Frontend crash when user language is not already available
https://community… .gladysassistant.com/t/probleme-sur-le-dashboard-depuis-2-jours/8310
1 Like
Can someone test whether the crash is properly fixed on this version of Gladys Plus?
https://fix-cannot-read-property-und.gladys-plus.pages.dev
Thanks!
I published an initial fix that only corrects the crash, but does not resolve the underlying issue. (I did it quickly to unblock everyone)
The crash is caused by a defect in the new widget in the display of devices of type « motion detector » or « presence »
I’ll look into the other bug as soon as I’m available.
I found the source of the bug, I fixed it in this PR :
master ← fix-crash-motion-presence-sensor
ouvert 10:43AM - 27 Aug 23 UTC
### Pull Request check-list
To ensure your Pull Request can be accepted as fa… st as possible, make sure to review and check all of these items:
- [x] If your changes affects code, did your write the tests?
- [x] Are tests passing? (`npm test` on both front/server)
- [x] Is the linter passing? (`npm run eslint` on both front/server)
- [x] Did you run prettier? (`npm run prettier` on both front/server)
- [x] If you are adding a new features/services, did you run integration comparator? (`npm run compare-translations` on front)
- [x] Did you test this pull request in real life? With real devices? If this development is a big feature or a new service, we recommend that you provide a Docker image to [the community](https://community.gladysassistant.com/) for testing before merging.
### Description of change
Fix https://github.com/GladysAssistant/Gladys/issues/1859
On Gladys Plus the quick fix has been live for 10 minutes already, and the final fix will be live in about 2 minutes
On local Gladys, Gladys Assistant 4.27.2 is being built and will be live in about 40 minutes, with a progressive rollout over the next 24h!
Thanks for your feedback
2 Likes
guim31
August 27, 2023, 11:09am
9
Very responsive, thank you very much I confirm that it works on Gladys Plus
1 Like
Hello, this link restores the Gladys Plus connection on my setup: Raspberry with Gladys docker.
Bravo
1 Like
hello,@pierre-gilles ,
I confirm, on Gladys
1 Like
Gladys Assistant v4.27.2 available!
2 Likes
After a local update via Watchtower, in 4.27.2 the situation seems to have returned to normal.
1 Like