Can't figure out how to correctly rename a folder within MBP. Tried Updating the Taxonomy term which seemed to work and thumbnails still appear correctly. The actual image URI doesn't seem to update though. In this case I changed the Taxonomy Term from "Image Bands Tier 1" to just "Image Bands", cleared the cache, and Rebuilt Folder Structure. MBP now shows the correct folder name, shows the correct thumbnails, and the folder is correctly named in the file structure. However, existing images in content and for newly inserted images the url is still:
public://Image Bands Tier 1/filename
instead of
public://Image Bands/filename
So the image path is wrong and the image is broken.
Images uploaded to the system after the change work as expected.
The only reference in the database I can see is in the file_managed table where the uri is still showing the "public://Image Bands Tier 1/" path. I corrected the path manually on one of the images and it now loads correctly.
Happy to clarify and any help would be great!
We are on:
Drupal 7.32
MSSQL: 11.00.300
PHP 5.5.11
IIS 8.5
Media Browser Plus for Media 2.x 7.x-3.0-beta3
Comments
Comment #1
dreg commentedComment #2
das-peter commentedPlease see if this still happens if you use the latest development version.
I can't reproduce the error in my installation. As soon as the term name changes this should be detected in
media_browser_plus_taxonomy_term_update()- which creates a batch to move the files. And that also updates the file metadata in the DB.Comment #3
dreg commented@das-peter
We're two weeks from launch so right now we're just not renaming folders :)
Once we're live, I'l try the dev version in our sandbox and post here if it's resolved or not.
Thanks!
Comment #4
c.dodaro commentedHello,
I have experienced the same trouble.
I noted that the batch procedure moves all files in file system, but updates only 25 uri(s) in the file_managed table.
So, if you rename a media-folder with more than 25 files (including sub-folders), you will have troubles.
I hope this may help you to replicate the error.