Hello SS community!
We've recently adopted SilverStripe as our hosting CMS. Currently we're running into a problem where at times image paths are being saved in the database as absolute urls. This is posing a problem because when we copy the site's database between environments it has the wrong path, and for our live environment the dev url isn't available to the rest of the world.
Anyone have any ideas how this might be happening? I haven't been able to reproduce the problem. I'm not the one actually building the CMS sites but maintain the SilverStripe code and features. I should also note that in the WYSIWYG editor the url shows up correctly as "assets/..." but when you look at the value in the database, and what gets rendered on the site, it has the absolute url. If I go and save the page again then the correct value gets saved in the database. I just can't for the life of me figure out how it would get the absolute url in the first place, and the fact that it shows the right url in the CMS editor.