google-code-export / ords

Automatically exported from code.google.com/p/ords
1 stars 0 forks source link

In the schema designer, removing a table that has relationships to other tables causes system to hang #590

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to 'remove' a table that has relationships with other tables (it doesn't 
matter whether this table actually contains data or if it is empty)
2. Notice that the screen darkens and the whirry-thing slowly whirrs, but it 
never finished. Eventually Chrome comes up with the error message 'The 
following pages have become unresponsive...'
3.

What is the expected output? What do you see instead?
If the table contains no data it should be deleted and the relationships 
removed; if it does contain data then a warning should be displayed, and if the 
user chooses to go ahead regardless then the table should be deleted and the 
relationships removed.

Please use labels and text to provide additional information.
App 1.0.6 Chrome

Original issue reported on code.google.com by jajwil...@gmail.com on 12 Dec 2014 at 2:11

GoogleCodeExporter commented 9 years ago
I've fixed the issue which was causing the crash when deleting tables 
containing foreign keys.

Given that we've got a warning when the user saves the updated version of the 
database, and we don't have a warning when deleting other tables containing 
data, is there a specific reason for doing so on tables that have foreign keys?

Original comment by marxjohn...@gmail.com on 5 Feb 2015 at 2:31

GoogleCodeExporter commented 9 years ago
Just to clarify that, we have a confirmation dialog when any table is deleted 
already, but are you saying we should have an additional one when a table 
containing foreign keys is deleted?

Original comment by marxjohn...@gmail.com on 5 Feb 2015 at 2:36

GoogleCodeExporter commented 9 years ago
Hmm. probably not. Not sure why I made a fuss about this issue. 1 confirmation 
dialogue should be enough.

Original comment by jajwil...@gmail.com on 5 Feb 2015 at 2:43