Asset path changes when made live - why?

Scenario on 3.20.0:


Add image file to a design.



Web path given as http://.../_designs/test/master/cyclist.jpg and works in browser.



Change the path manually and generate a remap - still works in browser.



Make asset live (does it need to be?) and the path gets changed to:

http://.../__data/assets/image/0011/1730/cyclist.jpg



The remap has gone and as I understand it you cannot remap anything with /__data in the path. It certainly didn't work although it does generate a remap automatically if you allow. Why would it do this if these assets cannot be remapped?



I also notice that you cannot move the asset back to Under Construction if needed.





I was not aware of this behaviour under 3.18. In fact I'm sure it didn't exist because we have to remap a flash related file under a design in order to get it to work and that file was live. Is this a change brought about by 3.20 or something that shouldn't be happening?


I think that was happening in 3.18.8 already too.

It's normal behaviour since at least 3.6 - at least, that's as far back as I've used!!


If you don't want the path to change, you need to not have "allow unrestricted access" ticked, so that the file is served by matrix, not apache.



However, images in designs should be linked under the design and referenced via mysource_files/filename.gif not by static URLs!

The use of __data URLs for Live and Public files has always been a feature of Matrix. In fact, everything you mention has always been the way Matrix has worked. We did not change any behavior in 3.18 regarding file URLs.


Also, the reson you can't make the file UC is because it is a dependent of the design asset, which is live. You need to use the Allow Unrestricted flag as Peter has mentioned.

For more information on the Allow Unrestricted flag field, refer to the MySource Matrix Core Assets manual.

Thanks for all the responses. I can't currently get in to our 3.18 install to work out why what we did there worked, but the same thing under 3.20 didn't. I accept what your saying about the 'features' being the same throughout so it must be something else. I'll also have a look at the Allow Unrestricted flag.