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

Schema: Able to select child models as it's model parent. #2580

Closed
Tracked by #2433
kharljhon14 opened this issue Mar 7, 2024 · 4 comments · Fixed by #2822
Closed
Tracked by #2433

Schema: Able to select child models as it's model parent. #2580

kharljhon14 opened this issue Mar 7, 2024 · 4 comments · Fixed by #2822
Assignees
Labels
bug Something isn't working

Comments

@kharljhon14
Copy link

Describe the bug
Was able to select child models as it's model parent.
When setting the model parent to it's own child model it would freeze the website.

To Reproduce
Steps to reproduce the behavior:

  1. Select Dataset model parent to Invoicepage
  2. Select Single page model parent to Invoices
  3. Click Save

Expected behavior
Should not be able to select child models as it's parent model

Screenshots
image
image

@giseleblair
Copy link
Contributor

@kharljhon14 please clarify further what the issue is. There is not a clear understanding of what the problem is here.

@kharljhon14
Copy link
Author

@giseleblair when setting the model parent in relation to each other, it causes the website to freeze. Even after reloading the website, the freeze persists. Let me know if you need further clarification.

2024-03-19.22-07-32.mp4

@zcolah
Copy link

zcolah commented Mar 27, 2024

@glespinosa We have got @giseleblair's permission to move forward with the following solution:
In the Model parent dropdown, please hide a model that is child to the parent in the dropdown for selecting a model parent.

@glespinosa
Copy link
Contributor

@glespinosa We have got @giseleblair's permission to move forward with the following solution: In the Model parent dropdown, please hide a model that is child to the parent in the dropdown for selecting a model parent.

Alright @Zosh thanks for letting me know. Will check on this

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

Successfully merging a pull request may close this issue.

4 participants