Once you've attached a table to the Table Wizard, you can't detach it. Add this functionality (delete relevant rows from the tw* tables).

CommentFileSizeAuthor
#4 tw-messed_up_table.png32.67 KBfrankcarey

Comments

vrteach’s picture

Ditto for relationships. I've got a couple that I added before I understood what I was doing. Of course it was easy to empty the tw_relationship table with phpMyAdmin, but it would be harder if I had more to choose from.

This is already a very useful module. Thanks.

mikeryan’s picture

Status: Active » Fixed

Done, for both tables and relationships.

frankcarey’s picture

Title: Implement removal of sources » Implement removal of sources and relationships

I thought I made a duplicate issue a few days ago for relationships, but maybe i never submitted it? Anyway, changed name for better accuracy to avoid duplicates.

frankcarey’s picture

Status: Fixed » Needs review
StatusFileSize
new32.67 KB

I did a "cvs up" to get the newest version and now the html table is messed up at admin/content/tw, could someone confirm? screenshot attached.

frankcarey’s picture

This fixed itself once i either deleted the existing relationships, or created a new one (the relationships table was messed up as well). Everything looks ok now, maybe some cached data?

frankcarey’s picture

I'm still having an issue here: when I delete a table, i can't re-add it. I think this is because views retains the view for that table, even though it was deleted from admin/tw .... edit: once i clear all caches, the programmatically created views disappear. Cloned ones remain. Once clones are removed, It looks like they can be reused again.

mikeryan’s picture

Visual issue after update: Yes, I saw that too, a theme function was added for that form and you need to clear the cache for Drupal to notice it.

Deleting tables - looks like I need to flush the caches when removing tables (and relationships as well, I'm sure). Views does not remove user-created views automatically when the tables they depend on are removed, not much to be done about that - I've actually found that handy when developing, I can take out a source table and start over with it without losing views I've created based on it....

mikeryan’s picture

Status: Needs review » Fixed

Committed flushing of cache on deletion.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.