I was upgraded Drupal 4.6 to 5.1.
I think that changing a File system path would cause an issue because inline module stores an image file into a directory like 'files', so the field value of the database is like files/your_image.jpg.
When I change a directory of the File system path in Site configuration of Drupal's administer menu, the images are not shown because files/your_image.jpg is still keeping the same.
I think we need to fix this issue with putting some file_directory_path() functions into inline module.
I created the patch, so I hope it would be reviewed.
| Comment | File | Size | Author |
|---|---|---|---|
| file_directory_path.patch | 1.75 KB | yas |
Comments
Comment #1
sunInline does not store or alter any database entries. It's upload.module, which handles the storage of files.
There is a warning on admin/settings/file-system which clearly indicates that changing your files directory on an existing site will cause problems:
If you need to change your files directory, you need to manually update your files table afterwards.