Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created By and Modified By Columns are not populated. #2020

Closed
medouederni opened this issue Jul 19, 2021 · 11 comments
Closed

Created By and Modified By Columns are not populated. #2020

medouederni opened this issue Jul 19, 2021 · 11 comments
Assignees
Labels
bug Something isn't working

Comments

@medouederni
Copy link

Using Budibase 0.9.73 Docker deployment on Windows
I added a new internal table (Files) with all auto columns and the related screens.
When I add a new row, the Created By column is empty.
I expected that the Created By column will be set with the current user.

Am I missing something?

Originally posted by @medouederni in #1022 (comment)

@mjashanks
Copy link
Member

Can confirm that this is an issue - whether creating data via the builder or via the app. Have tried a few different users.

@dashrandom
Copy link

@shogunpurple for some reason I'm still experiencing this issue despite the merge. Is it because it hasn't been pushed to a release yet?

@shogunpurple
Copy link
Member

@dashrandom are you using an existing app? The fix above will not backfill old entries.

If this occurs when you are creating a new row, is there any errors in the browser console?

What Budibase version are you on?

@shogunpurple
Copy link
Member

Oh also @dashrandom did you upload your data with a CSV? We noticed an issue with this and there’s a PR up to fix it:

#2451

@dashrandom
Copy link

@shogunpurple I'm using an existing app, but updated it to version 0.9.114 of Budibase. I'm not looking to backfill old entries, I tested with new entries but it doesn't work.

Nope, not uploading with CSV either. I created actual entries both from backend and via the app and both ways the created by and updated by do not populate. Let me know if I can provide some logs or further details.

@dashrandom
Copy link

image

Image for reference

@shogunpurple
Copy link
Member

@dashrandom thanks - does the issue still occur in a new app? I'm having trouble recreating it, just trying to identify how it's happening

@dashrandom
Copy link

@shogunpurple I just tested a new app and I confirm it doesn't happen with the new app! Does this mean that the upgrade process for existing apps does not move the merge fixes?

I'm going to try exporting the bugged app and reimporting to see if it fixes it and report back.

@dashrandom
Copy link

Exporting and importing the app with the issue, the same issue is carried over. I've provided the export here for you to verify on your instance.
export (1).txt

@dashrandom
Copy link

@shogunpurple sorry to ask so soon but any suggestions? should I just abandon the existing app and migrate to a new one from scratch?

@shogunpurple
Copy link
Member

@dashrandom

I just tested a new app and I confirm it doesn't happen with the new app! Does this mean that the upgrade process for
existing apps does not move the merge fixes?

No, it just means that there was step missing in the original app and your data ended up in a strange state - that's why the problem carried over when you imported/exported.

The team are off today, so we haven't had a chance to look at your export just yet to debug. I will respond in due course as we do over the next couple of days.

In the meantime - the best thing to do would be to just recreate the tables that you already have in your app, which will solve the Created By and Updated By problem, then you will just need to update the data providers in your UI to point to the new tables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants