I've used TW and Migrate with success a while ago, but just now trying it again with 1.3 and although TW counts the row correctly, Views reports no rows, plus a bunch of SQL errors, just like as reported here: #687816: SQL syntax error: Views sees no rows

However the table name and field names are strictly alphanumeric with underscores so I'm creating a new issue.

I had a very similar table in MySQL left over from many moons ago and Views correctly sees it. Comparing the two files I can see no real difference except the old one had NULL as default in its fields and the new one has none.

What else should I look for?

Tnx, Jeff

CommentFileSizeAuthor
#2 tblbldgcleanview.txt10.81 KBdruplicate
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

druplicate’s picture

I also flushed all cache and still no workee.

druplicate’s picture

FileSize
10.81 KB

Offending view is attached.

druplicate’s picture

Status: Active » Fixed

Solved.

I had added a serial auto-increment field to the table in MySQL to use as the primary key, but that for some reason caused the problem.

So I deleted that and used another field that happened to be unique but not sequentially numbered.

All I did was add a field called "key", and made it the primary (auto-increment) index.

Why did that fail?

Status: Fixed » Closed (fixed)

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