Sorry if this is a duplicate, I found only a bunch of issues complaining on unable to uninstall the module, but the problem happens for me on installing it
So here is what I have:
- a site where there was no filefield_paths
- install filefield_paths
- found strange issues - origname tokens not working
- after debugging found that column origname is NOT added to file_managed table
I found this issue where filefield_paths_update_8001 was introduced
but hook updates are NOT executed on fresh installations - only for already installed module where the hook was not yet executed.
This has to be in hook_install and not in the update hook.
Issue fork filefield_paths-3556209
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
volegerThis must come with #3339688: Call to a member function isEmpty() on null in filefield_path.module function filefield_paths_file_presave changes
Comment #4
volegerFixed thanks
Comment #6
voleger