use d6;
> select * from image where nid = 170;
+-----+-----+------------+
| nid | fid | image_size |
+-----+-----+------------+
| 170 | 720 | preview |
| 170 | 719 | thumbnail |
| 170 | 211 | _original |
+-----+-----+------------+
Applies field conversion :
use d7;
> select * from image where nid = 170;
+-----+------+------------+
| nid | fid | image_size |
+-----+------+------------+
| 170 | 3197 | preview |
| 170 | 3197 | thumbnail |
| 170 | 3197 | _original |
+-----+------+------------+
The fid update applies to every file what appears to be wrong.
That's happen in image_legacy.field_convert.inc image_legacy_field_convert_object_pre_load()
Comments
Comment #1
drzraf commentedComment #2
drzraf commentedAdding an issue :
in its current shape the module does not do the update such that it can be run only once.
It never delete {image} but the test to run the field conversion is done on the existence of this table.
Comment #3
drzraf commentedping ?
Comment #4
joachim commentedCommitted, thanks.
> in its current shape the module does not do the update such that it can be run only once.
There was probably a good reason for that, but I don't remember.
Comment #5.0
(not verified) commentedprecision