Flickr Sync is not setting the language value for nodes as "und" and this causes it to have issues with creating URL aliases.

Thanks to micahwalter for reporting this issue.

Comments

gclicon’s picture

Status: Active » Closed (fixed)

I have committed an update to set the node language to LANGUAGE_NONE. The update should show up in the dev package once the package is updated.

minnur’s picture

Hi German,

I would recommend you to use different construction with $node->file["und"]'s, $node object has the following:
$node->language = 'und'; - when the language is undefined. To support other languages I would recommend to use something like this:

if (isset($node->field_name[$node->language])) {
print $node->field_name[$node->language][0]['value'];
}
else {
print $node->field_name[LANGUAGE_NONE][0]['value'];
}