My Content Type is called article_game

I'm adding a new Image. It's being uploaded just fine (into the directory files/cover_image).
It's being added to the db table files correctly.
In the table content_type_article_game I got a row field_cover_image_fid which refers to the fid in the table files. This one here is wrong! It doesn't correspond to the right fid. I believe the problem is, that I've uploaded other files before, because in the table content_type_article_game the counter just starts with 0, so it would work if the files table would have been empty.

When changing the fid in content_type_article_game to the correct fid it just works fine.

I think this shouldn't be too hard to fix. I tried but didn't really know where to start. Hope I could explain it correctly and hope you can fix it.

Comments

jpetso’s picture

Status: Active » Closed (duplicate)

I believe this is a duplicate of issue #268971: field_image_fid is trimmed.

rapsli’s picture

It could be. Are there any plans for fixing this? ... it seems like the module would then work for at least some more serious testing.