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

Duplicate record same when we set data scope on table #3961

Open
nguyenhan-se opened this issue Apr 8, 2024 · 3 comments
Open

Duplicate record same when we set data scope on table #3961

nguyenhan-se opened this issue Apr 8, 2024 · 3 comments

Comments

@nguyenhan-se
Copy link

nguyenhan-se commented Apr 8, 2024

Describe the bug

when use table collection has association, config data-scope add field createBy is current user => table duplicate record same data

Version

v0.21.0-alpha.2

How To Reproduce

Steps to reproduce the behavior:

  1. Go to table has association
  2. Click on 'Set the data scope'
  3. Add condition: createBy/id is currentUser/id
  4. Back to table and reload data
  5. See error

Expected behavior

one record instead duplicate record

Screenshots

Screenshot 2024-04-08 at 10 25 45

Desktop (please complete the following information)

  • OS: macos
  • Browser chrome

Additional context

@hongboji
Copy link
Contributor

hongboji commented Apr 8, 2024

Please do the following to provide more information in order to locate the solution to the problem
1、Please upgrade to the latest version to check if this problem exists
2、May I know how to deploy, git docker?
3、What type of data table is it: normal table, view?
4、Please do not set the data scope, check whether the data is duplicated?

@nguyenhan-se
Copy link
Author

Please do the following to provide more information in order to locate the solution to the problem 1、Please upgrade to the latest version to check if this problem exists 2、May I know how to deploy, git docker? 3、What type of data table is it: normal table, view? 4、Please do not set the data scope, check whether the data is duplicated?

1、newest version
2、git deployment
3、block: normal table, workflow todos
4、Just duplicated when data-scope add field createBy is current user, if dont have 'createBy' -> no duplicated

@hongboji
Copy link
Contributor

hongboji commented Apr 8, 2024

For pages with duplicate data, please take a full screen shot;
Screenshot of setting 'createBy'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants