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.
By Jhef.Vicedo on
I tried to upgrade my 4.4 flexinode module into 4.5. Though it's working quite good, there seems a problem with old flexinode data of type file.
I noticed this mapping of serialized fields (object vars):
Old || New
===========
name -> filename
path -> filepath
size -> filesize
So when the module tries (using $file object on flexinode_field_file_format hook) to pick up uploaded files, it fails coz the fields is different from what the new object has.
I tried using the update script provided with flexinode 4.5 and it does no help.