Closed (fixed)
Project:
File (Field) Paths
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 May 2011 at 13:23 UTC
Updated:
21 May 2013 at 18:21 UTC
Jump to comment: Most recent file
when I try to create a feature i keep getting this error
user warning: Unknown column 'n.language' in 'where clause' query: SELECT DISTINCT * FROM filefield_paths WHERE (n.language ='en' OR n.language ='' OR n.language IS NULL) in public_html/sites/all/modules/filefield_paths/modules/features.inc on line 46.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | filefield_paths-1151514-1-6x1x20110703-D6.patch | 578 bytes | kndr |
Comments
Comment #1
finex commentedThis is like: http://drupal.org/node/941668... the solution is the same. You've to change the filefield_paths_features_export_options() function on file filefield_paths/modules/features.inc:
From:
To:
Comment #2
kndrI can confirm this warning. In my opinion, db_rewrite_sql() is useless here. Unfortunatelly #1 doesn't work with "junk" module, which tries to join on nid field. I propose to get rid of this piece of code.
Comment #3
decipheredAgreed, I don't see the need for a rewrite here, happy with the patch. Committed to 6.x-1.x.
Cheers,
Deciphered.
Comment #4
finex commentedThanks for the commit!
Comment #6
roball commentedThe fix is now officially available in version 6.x-1.5.