Warning of dynamic multi choice bug
Hi all -
I reported an issue to Ninox where the data in a dynamic multi choice (dMC) field got corrupted. It affected over half of my 1000 records that had data in this field.
I used the dMC to create records in another table so I have a backup of what was selected. Going back through my data I realized that the dMC and the table were no longer in sync.
It looks like the dMC had all of their selections increased by 1 record. Weird. Which can have the effect of having the dMC report a selection of a record that is not in view. If you have a dMC filtered, but do numbers(dMC) it will show a record Id that is not in the visable dMC.
Anyways, Ninox has said:
Most likely the state of the fields was caused by the deletion of choice values although these values where still chosen in the fields.
We have already been able to observe exactly this cause in other cases.
No explanation of why it happened. I did not modify the root table of the dMC.
Lucky for me the selections is not where I keep my data. But for those who do you just be aware that this is an issue.
12 replies
-
Thanks for the warning Fred
-
Thanks for the warning... just about to release an app for a customer that relies in lots of dynamic multi choice fields...
-
Yikes !!
was just about to link a dynamic drop multi choice to one of my tables that has over 500k records in it and then update it. think I will hold off a while
-
An update, looking over my root table I did make changes. And I do make changes all the time. Sorry for the incorrect statements earlier.
So it looks like if you never delete records from the root table then you will be fine.
Don't know how long this has been an issue. But we will never know when it gets fixed since they never give detailed release notes between major versions.
-
Well I asked if this was fixed in 3.8 and was told to test it out. Huh? Anyways.
Since I can't get a straight answer, I did a test and so far it looks like it is fixed. Granted it is a small test but so far when I add new records and delete records to the root dMC table the previous selections seem to stay put.
So since the app is still in 3.7.x, this does not apply to you.
An interesting not is that if you delete a selection it does not show it, that is good. But if you do numbers(dMC). It will show that you selected the previous deleted record. I guess that is good, but be aware of that.
-
This bug is back if it was ever gone. Whenever re-organizing a database whether it be because of reloading it from the back up or using the reorganize function the ID numbers are not static. The new database is Reed skipping over any deleted records. So that the ID numbers are again continuous. The problem is that dynamic choice fields are not updated to reflect this. I verified this for the current version of macOS a couple of hours ago and have observed it a couple of times over the past year. I don鈥檛 think it was ever resolved.
This is a very serious error. It鈥檚 data disrupting. Should be their top priority. There is no excuse for this error existing for 16 hours let alone a year.
fundamentally when reloading a database from a backup or when re-organizing it should not re -number. That鈥檚 stupid and pointless. The ID numbers should be immutable.
-
Once they get the new JSON dynamic choice fields fixed maybe that will make dynamic choice fields more dependable.
Or maybe Ninox really only intended dynamic choice fields to be a UI element and not a data storage field. But then that should have been made clear.
I now only use dynamic choice fields as UI elements and write the selections to a table.
-
So how do we get this bug reported properly. Like it should be an emergency to the dev team. This is central to the purpose of a database. Data stored should be reliably correct. !!!!!
-
Hey,
can you precisely write the minimum steps to reproduce this behaviour? I want to write a ticket in the German ninox-partner forum for bug-tracking.
Please explicitly state, how this is related to the JSON-dynamic fields, normal dynamic fields, JSON-dynamic multiple choice and normal multiple choice.
If you can provide a set of two DBs, one before the error and one after, including screenshots, this would help a lot.
From experience, the best chance to get a bug fixed in ninox is to have the abovementioned info available.
Thanks!
Content aside
-
3
Likes
- 8 days agoLast active
- 12Replies
- 244Views
-
7
Following