Modify

#11219 closed enhancement (wontfix)

wrong attachment format

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

Description

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 16 months ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 16 months ago by jun66j5

  • Priority changed from high to normal

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

Changed 16 months ago by anonymous

comment:2 Changed 16 months 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 16 months ago by jun66j5

  • Type changed from defect to enhancement

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 16 months ago by jun66j5

  • Resolution set to wontfix
  • Status changed from new to closed

I will not plan to change it.

Add Comment

Modify Ticket

Action
as closed The owner will remain jun66j5.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.