Opened 5 years ago

Closed 5 years ago

#11219 closed enhancement (wontfix)

wrong attachment format

Reported by: erictioh84@… Owned by: Jun Omae
Priority: normal Component: TracDragDropPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0


After uploaded an attachment, when we click the down arrow there are it will display the link of attachment image.

The attachment link format is attachment:xxx.etc which is not correct and cannot be read by trac. it should be [attachment:xxx.etc] (Added square bracket)

Attachments (1)

sqlnet.log (1.7 KB) - added by anonymous 5 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 5 years ago by Jun Omae

Priority: highnormal

I don't understand it. According to wiki:TracLinks#attachment:links, attachment:filename.ext is correct.

Changed 5 years ago by anonymous

Attachment: sqlnet.log added

comment:2 Changed 5 years ago by erictioh84@…

If i use attachment:sqlnet.log it will be: attachment:sqlnet.log

If i use [attachment:sqlnet.log] it will be: sqlnet.log

You can see that the attachment word is not there anymore. Which 1 do you think looks better? I personally think when we put the attachment shouldn't be a "attachment" word infront of our attachment right?

And if we want to set it to another name simply: othername

comment:3 Changed 5 years ago by Jun Omae

Type: defectenhancement

The plugin provides a simple Trac Link for the attachment in correct format. If you want a custom link, you can modify the link which the text is copied.

normal form attachment:sqlnet.log attachment:sqlnet.log
without prefix [attachment:sqlnet.log] sqlnet.log
custom label [attachment:sqlnet.log the "sqlnet.log" file] the "sqlnet.log" file
custom label ² [[attachment:sqlnet.log|the "sqlnet.log" file ²]] the "sqlnet.log" file ²
<...> pair <attachment:sqlnet.log> <attachment:sqlnet.log>

comment:4 Changed 5 years ago by Jun Omae

Resolution: wontfix
Status: newclosed

I will not plan to change it.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Jun Omae.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.