-
☆ A M B ☆
- 165 Posts
Hi Bruno;
I'm having some issue with migxObjectMediaPath snippet.
The TV is saving the image filename with "./" in the front.
This occurs for some reason the second time the tv is modified.
Please see attached image.
I've created a another Media Source without migxObjectMediaPath and the filename is being saved correctly in the db.
Any suggestions?
Please see attached image.
-
☆ A M B ☆
- 165 Posts
I noticed if you first click on the top dynamic folder in the open window and then select the image it works ok.
But if you click to open the window and click directly on a picture the filename is saved with "./" in front
This happens in linux and windows environments.
yeah, this is an issue with the file-browser adding "./" in some situations when you are at the root.
What you can do, is to replace the "./" with str_replace on file- and MIGX-fields in the update-processor before saving the object.