Closed (fixed)
Project:
Migrate
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Aug 2009 at 16:26 UTC
Updated:
19 Aug 2009 at 23:20 UTC
On admin/content/migrate/process it's possible to enter in a comma separated list of source ids that you want to migrate. When you use this it fails with a mysql error :
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IN (123))' at line 24 query "SELECT .... AND (cms_content. IN (123)) in /sites/all/modules/migrate/migrate.module on line 521."
Note the where clause doesn't have a column name specified. It's because $sourceid is used instead of $sourcekey. The attached patch fixes this issue.
Cheers,
Stella
| Comment | File | Size | Author |
|---|---|---|---|
| sourceid_filtering.patch | 504 bytes | stella |
Comments
Comment #1
mikeryanCommitted, thanks!