Project

General

Profile

Link to file?

Added by Jean-Claude Wippler over 6 years ago

I've enabled the "Files" area in a project and added some files to it.

But I can't find a way to link to them from an issue - the "More Information" link in the editor help (I'm using Markdown) points to a page with various notations to link to wiki, forum, documents, attachments - but not files. I'm guessing it's treated as an attachment in Redmine, but using the file ID or name with "attachment:..." does not work.

Is this intentional? If files indeed can't be linked, then I don't quite understand how they should be used.

-jcw


Replies (3)

RE: Link to file? - Added by Mischa The Evil over 6 years ago

This feature (wiki syntax for linking to attachments in the files module) is just not-yet implemented. See #2069 and the work-around given by Etienne in #2069#note-13.

HTH...

RE: Link to file? - Added by Jean-Claude Wippler over 6 years ago

Thx - the workaround is clear. Hahaha, "not yet" == nine years.
It does make me wonder what the "Files" tab was ever meant for - after all these years.

RE: Link to file? - Added by Mischa The Evil over 6 years ago

Jean-Claude Wippler wrote:

It does make me wonder what the "Files" tab was ever meant for - after all these years.

Well, the "Files" module is (generally) meant for publishing versions of the tracked project, as a bundle (release). As such, it is usable without the linking facility. Just go (direct your users) to the files module and (let them) download the uploaded files. Though, I agree that support for Redmine files links would be a good addition to the Redmine link feature.
I'll upload a (preliminary, not-well tested) patch implementing this feature, that is extracted from Andriy Lesyuk's WikiNG plugin, for the current trunk to #2069 in a minute. Maybe that'll help getting support for this feature into the Redmine core. It might also solve your direct need for this feature.

Regards, Mischa.

    (1-3/3)