I've been fighting for days to get the mapper working with anything. Then I looked at the logs and found that there's an sql error. There's improper quoting happening when using postgres. In the function _feedapi_mapper_store_mapping(), the queries quote the %s value as "%s". That doesn't work with postgres. I changed it to \'%s\' and everything seemed worked fine.
Sorry I don't have time to make a proper patch. I havn't tested this with mysql to see if this will still work with it.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 341251_postgres_compatibility.patch | 1.03 KB | alex_b |
Comments
Comment #1
alex_b commentedThis concerns all versions of FeedAPI mapper.
Patch needs to be tested with pgsql and mysql. Critical focus should be on whether serialized data stays sane.
Comment #2
aron novakIt also works on MySQL.
Comment #3
alex_b commentedCommitted to DRUPAL-6--1 .
Comment #4
alex_b commentedRolled out in beta 4