BUG: Table connected to Dataset randomly showing mismatching information than what is in live database collection

I will be as detailed as possible. The error happens to multiple records at random times, on random days. The record in question (today) is highlighted in yellow.

There is a Table connected to a Dataset. The Dataset is linked to a database collection with permissions for Anyone to create. Dataset mode is set to Read Only. The table is located on a Wix Dashboard page for the Client to view and manage the records, as needed.

The screenshot of the live database collection was taken (by me) today and shows that the record in question was last modified on Sept 22 . The record shows Number of 3 People .

The screenshot on the top left corner was taken (by Client) yesterday and the record was showing Number of 4 People . That screenshot is from the dashboard page located on the Wix Dashboard on Owner account .

The screenshot on the top right corner was taken (by me) today and the record is showing Number of 3 People . The screenshot is from the same dashboard page located on the Wix Dashboard (on my account) as Contributor .

Summary:

Same record. Has not been modified since Sept 22 . Connected directly via Dataset. Different numbers on different days within the last 24 hours.

It would be great if a Corvid Dev Team member could take a look at this for me please.

Not urgent, but it is very important.

(Cannot share client website links. Sorry.)

The “created by first name” is different too (lower-case). are you sure it’s the same record?

2 Likes

Ahhh. The information is still mismatched.
There are only 3 Sarah records as seen on live database screenshot, and the date, name and number are mismatched.

@code-queen I’d guess (it’s hard to see from the screenshots), that the highlighted row on the top-left screenshot is equivalent to the 2nd row in the top-right screenshot and to the 3rd row in the bottom screenshot.
Could the date mismatch be due to time zone difference?

1 Like

@code-queen

Look at the first name, the one called sarah (with lower case s) is correct in all pics, it has 4 people.

The other Sarah (with capital S) with 7 people is correct too.

The are missing on the left hand pic the last Sarah (again with capital S) that shows the 3 people.

Unless my eyes have missed something, your client doesn’t have that one shown on the list, can they scroll up anymore?

Looks like somebody has gone in and updated them all, otherwise the updated date should be the same time as the created date in the dataset.

1 Like

@givemeawhisky I will have to investigate more later :frowning:

The tour database collection will be updated when someone joins or when an employee gets assigned to the tour. When form is submitted it enters the record in 2 database collections. 1 collection is called ‘tour’ and the other ‘participants’.

So for that one record, the original participants are 3 and no one else shows up. This is all so confusing. I wouldn’t even know how to track if a person deleted a field from one database collection … cause if they would have changed it manually in the last day or two … wouldn’t the updated date be different? I don’t know. I will have to check it out later. The dates didn’t match either … they were all mixed up.

I am filtering by the ID / Reference

Who as access to that participants dataset, just yourself or your client as well?
Do your clients have access to change anything in a dataset?

As when you mention…
“The tour database collection will be updated when someone joins or when an employee gets assigned to the tour. When form is submitted it enters the record in 2 database collections. 1 collection is called ‘tour’ and the other ‘participants’.”

This indicates to me that the forms user inputs are submitted into the two separate datasets of ‘Tour’ and ‘Participants’.

Then as you’ve said when somebody joins or employee gets assigned etc, then the ‘Tour’ dataset will get updated, hence the reason for the different updated dates if that original bottom pic in your post was the ‘Tour’ dataset.

However, as you’ve said as well, you have nothing updating that ‘Participants’ dataset, only when the form is first submitted, so any alterations to the tour is not being recorded in that ‘Participants’ dataset.

Is there not a way that you could create an admin form or client use only form that they have to use if there are any needed changes, so that it checks all the datasets and updates the required fields in all if needed?

Know it will be extra work for yourself, however, as you’ve said, you have got nothing updating your ‘Participants’ dataset, so everything else gets changed and that stays the same.

1 Like

Or is it simply a case, that the clients do have access to all the datasets and that they have simply not used their own initiative and only changed the numbers in the ‘Tour’ dataset and not the ‘Participants’ dataset too? :wink:

1 Like

Also, as for the mismatch of dates and times etc, could that just be as J. D. simply stated already with the time zone differences, is that set to their own local time etc.

1 Like

@givemeawhisky Client is owner of site - so they still have access to Database via Dashboard. He is also same time zone as me.

Another screenshot he sent me was that 2 people filled out the form within 1 minute of each other. 2 different tours, 2 different people … and somehow their ‘names’ were saved in the database in the wrong tour. Which is odd … it does not make any sense. The form is connected via the dataset also — the names are not ‘inserted’ via code.

Okay, so that does rule out a few possibilities that it could have been.

However, the fact that the users are filling in the forms and simply submitting it via a submit button and not being done through code, then it should all be inserted correctly as the user entered themselves as each record should be inserted separately.

The only thing that I can see that is happening here, is as that when you say two seperate users fill in the same form and then just happen to submit it at the exact same time, then those records are not being kept separate and are getting muddled up, so that they end up as you say with things mixed up.

If they are trying to write to the dataset at the same time and so some fields are getting mixed up as one submit tries to do one action like insert user input to one field, whilst the other submit tries to do the same thing, then in theory you would expect that one would wait for the other one to finish, stack up so to speak and not simply try to write to the dataset with immediate effect.

Are you able to view the site and datasets at the same time as your client and get the client and somebody else to fill out the form on two seperate computers and then have them both submitted at exactly the same time?

At least you will be able to observe for yourself what exactly is happening when they submit at the same time and see if it happens again.

If it does, then you’ve narrowed down the issue and you just need the help of those wise Wix Devs to come to your rescue and to get it sorted.

@yisrael-wix Can yourself or another Mod look at this or pass it on so it can get sorted quickly, one drink on me if you do :tumbler_glass::wink: