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

Error message needs correction on schema deletion dialogue #8165

Open
usman-muzaffar555 opened this issue Nov 21, 2024 · 0 comments
Open

Error message needs correction on schema deletion dialogue #8165

usman-muzaffar555 opened this issue Nov 21, 2024 · 0 comments

Comments

@usman-muzaffar555
Copy link

Describe the bug

When user tries to delete a schema node which contains database objects, it shows error that this cannot be done due to dependent object in the schema. The error message shown needs correction to convey it correctly. Currently, it shows the following error message which is not understandable.
'table testschema.testtable depends on schema testschemacannot drop schema testschema because other objects depend on it'

To Reproduce

Steps to reproduce the behavior:

  1. Make sure you have created a schema node and some database objects under it.
  2. Right click on the schema object and opt the option 'Delete', select Yes on the confirmation dialogue.
  3. A new error window is shown with the message

Expected behavior

The message can be rephrased in the following way
'table testschema.testtable depends on schema testschemacannot drop schema testschema because other objects depend on it'
To
'Table testschema.testtable depends on the testschema schema, so the schema cannot be dropped as other objects are dependent on it.'

Error message

'table testschema.testtable depends on schema testschemacannot drop schema testschema because other objects depend on it'

Screenshots

schema_deletion

Desktop (please complete the following information):

  • OS: [e.g. Ubuntu 24.04]
  • Version: [e.g. 8.13]
  • Mode: [e.g Desktop ]
  • Browser (N/A]
  • Package type: [e.g. DEB.]

Additional context

Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants