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

Configuration Table Editor does not display if linked table empty #97

Open
lostcarpark opened this issue Oct 20, 2022 · 0 comments
Open

Comments

@lostcarpark
Copy link
Collaborator

The configuration table editor uses foreign keys to populate reference table drop-downs.
However, if a referenced (parent) table is empty, the linking (child) table will not display in the configuration table editor.
This is fairly reasonable behaviour, since it won't be possible to add rows to the child table until the parent table is populated. However, currently no error message is displayed, so it isn't obvious why the table isn't displaying.
This problem could be largely avoided by ensuring there is at least one sample row in all referenced tables. However, in the long term we should try adding logic to display a message such as "You cannot edit table X until table Y has been populated."

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

1 participant