I updated to the latest build and have found an issue when updating with the Dayfile editor. Changes to Chill Hours, High 24 Hour Rain, and High 24 Hour Rain Time are not being written to the MySQL database. The following screenshots demonstrate what I am seeing -
CMX prior to making any changes
Database prior to making any changes
CMX after changes
Database after changes
Also, if I decide to only populate some of the fields the ones left as null value are changed as below -
Selected CMX fields updated
Resulting change in Database
Regards,
Trevor
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
MySQL database not updating correctly in Build 3202
Moderator: mcrossley
-
flort
- Posts: 248
- Joined: Thu 17 Dec 2020 9:06 am
- Weather Station: Davis Vantage Vue
- Operating System: Raspbian GNU/Linux 10 (buster)
- Location: Tin Can Bay, Queensland, Australia
MySQL database not updating correctly in Build 3202
You do not have the required permissions to view the files attached to this post.
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: MySQL database not updating correctly in Build 3202
Can you try flushing your browser cache please.- I tested the dayfile editor, and checked it again just now and it works OK for me.
-
flort
- Posts: 248
- Joined: Thu 17 Dec 2020 9:06 am
- Weather Station: Davis Vantage Vue
- Operating System: Raspbian GNU/Linux 10 (buster)
- Location: Tin Can Bay, Queensland, Australia
Re: MySQL database not updating correctly in Build 3202
Hi Mark,
I flushed everything but still no change. The changes are saved in CMX but not being reflected in MySQL for those 3 fields. All other fields are updating fine.
Regards,
Trevor
I flushed everything but still no change. The changes are saved in CMX but not being reflected in MySQL for those 3 fields. All other fields are updating fine.
Regards,
Trevor
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: MySQL database not updating correctly in Build 3202
Ah, I understand now. Yes, the database update on edit for the new fields got missed, now fixed for the next release.
-
flort
- Posts: 248
- Joined: Thu 17 Dec 2020 9:06 am
- Weather Station: Davis Vantage Vue
- Operating System: Raspbian GNU/Linux 10 (buster)
- Location: Tin Can Bay, Queensland, Australia
Re: MySQL database not updating correctly in Build 3202
Thanks Mark. The other thing I highlighted was that if you update a record that has null values and you only update some of the fields then it changes the null values to -9999.0. Is that the expected behaviour or should it leave it as a null value? Refer back to the last 2 screenshots to understand what I'm talking about.
Regards,
Trevor
Regards,
Trevor
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: MySQL database not updating correctly in Build 3202
It's expected, but not ideal. Unfortunately this version of Cumulus like C1 has no concept of null values, so I'll have to add code to cope with that.
-
flort
- Posts: 248
- Joined: Thu 17 Dec 2020 9:06 am
- Weather Station: Davis Vantage Vue
- Operating System: Raspbian GNU/Linux 10 (buster)
- Location: Tin Can Bay, Queensland, Australia
Re: MySQL database not updating correctly in Build 3202
Hi Mark,
Just confirming that Chill Hours, High 24 Hour Rain, and High 24 Hour Rain Time are now updating in the MySQL Database. Also, it is handling null values correctly.
Thanks for the changes.
Regards,
Trevor
Just confirming that Chill Hours, High 24 Hour Rain, and High 24 Hour Rain Time are now updating in the MySQL Database. Also, it is handling null values correctly.
Thanks for the changes.
Regards,
Trevor