Description
Bug report
Summary
Right-clicking and selecting “Copy File Path” for a file while viewing in a media source other than “Filesystem” produces an unusable file path.
Observed behavior
The copied file path is only partial; it does not include any enclosing folders. So, for example, when clients who use this method to grab the URL for a PDF on their site through a media source called "documents", linked to a "documents" folder on the server, they end up with "filename.pdf" instead of "documents/filename.pdf".
Expected behavior
This action should prepend the "basePath" from the Media Source settings, so that the resulting copied path should look exactly like it would be when using a TV to fetch a file name. In other words, users should end up with a path that, when added to their website's domain name, forms a complete link to that file.
Environment
All versions of MODX