Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The views part of table wizard is broken after update from 1.2 to 1.3
The fields no longer can be found, resulting in huge numbers of errors.
Comments
Comment #1
moonray CreditAttribution: moonray commentedLooks like this got fixed by deleting the view in question and flushing caches... but not a clean update, it seems.
Comment #2
luthien CreditAttribution: luthien commentedI experienced the same problem when I tried to update from 6.x-1.1 to 6.x-1.2, all the views were broken. If updating from 1.1 to 1.3, the views are still visible but views with custom php (http://drupal.org/project/views_customfield) fields are broken, I get the missing/broken link message for those fields. Any idea how to update without breaking the site? my site uses tw to link to external dbs then we generate the views, having this module working is critical for the correct functioning of the web site.
Comment #3
mikeryanDid you run update.php when upgrading? Does clearing the Drupal cache help?
One thing that may be a problem is the change in how date fields are represented to Views - default views from Table Wizard should be fixed by clearing the cache, but I'm not sure how views you've built on top of Table Wizard tables will fare - and I also don't see what Table Wizard can do about it...
Comment #4
luthien CreditAttribution: luthien commentedYes, I used drush to update tw and I cleared the cache. I still don't know why the dynamic field is emptied every time I update tw.
Comment #5
freelockNot sure if this is the same issue as you're getting, but we had a major breakage happen with upgrade to 1.3 because we were trying to add a relationship to the main {users} table. TW now automatically creates views handlers for each table you add -- which duplicate the core views users module support, and cause those views handlers to break entirely (along with ugly error messages all over the site).
Errors go away when you remove {users} from the table list -- but then you lose the relationship to that table.
Comment #6
luthien CreditAttribution: luthien commentedMy problem is different, not related with the {users} table. I have not been able to update from 1.1 yet, tw is the most important module for our web site and only 1.1 works fine. Recently, I exported my views to a module, I can try to update again to see if that works considering that now the code for the dynamic field was saved as code in a module.
Test: I moved my views to a module, I tried to update tw again (using drush) but I got a blank screen, I'm not able to access any page. Still unable to update tw to the latest version.