Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
All other fields work as expected, but no images do. There doesn't seem to be a connection between the files and the nodes, but all tables are filled with data, and just by looking at it I can't find anything wrong... I've tried the same migration several times. Any help greatly appreciated.
Comments
Comment #1
blackdog CreditAttribution: blackdog commentedSo, I've found the issue here. All fields has been migrated to language 'nb' for Norwegian, but when the image field gets loaded, the query only looks for the value 'und'. This is not the case for the body field for instance. I'm not sure why this is though. If I manually change the language value to 'und', the image loads.
Querys:
This is not a multilingual site, it's just not an english site. Don't really know where to look further... I could change all language values in the DB and move on, but I'd really like to understand the problem.
Comment #2
KarenS CreditAttribution: KarenS commentedWhat would be helpful is to try creating a whole new imagefield on your site and save something into it. Then see how the new field's data is stored. Is is set to 'und' or 'nb'?
Maybe we need a switch to determine if this is a multilingual site, but I don't know for sure what to look for. I really wish someone with a multilingual site would jump in and help here.
Comment #3
somatics CreditAttribution: somatics commentedSubscribe
Comment #4
blackdog CreditAttribution: blackdog commentedKaren,
Thanks for your input and hard work with this!
I'll try and create a new field tomorrow and return with the results.
Comment #5
KarenS CreditAttribution: KarenS commentedSee #1063852: D6 > D7 non-english migration bug, there is a general problem around translation handling. If the only thing wrong with your files is the language value, we should mark this as a duplicate and you should track that issue, where I am trying to clarify the 'right' way to handle the language.
If you think there is something wrong with the images other than the language you can reopen this.