Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#8673 closed defect (fixed)

[Patch] `Url` field always is shown in the import preview page

Reported by: Jun Omae Owned by: François Granade
Priority: normal Component: TicketImportPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

In the import preview page, url field always is shown. However I have no url custom field and url field is not standard field in Trac. It is strange...

  • talm_importer/importer.py

    diff --git a/talm_importer/importer.py b/talm_importer/importer.py
    index 7b820d4..45fc968 100644
    a b class ImportModule(Component): 
    233233        from ticket import PatchedTicket
    234234        ticket = PatchedTicket(self.env)
    235235
    236         for f in [ 'type', 'cc' , 'url', 'description', 'keywords', 'component' , 'severity' , 'priority' , 'version', 'milestone' ] + customfields:
     236        for f in [ 'type', 'cc', 'description', 'keywords', 'component', 'severity', 'priority', 'version', 'milestone' ] + customfields:
    237237            if f in ticket.values:
    238238                computedfields[f] = {}
    239239                computedfields[f]['value'] = ticket.values[f]

Attachments (1)

preview.png (13.7 KB) - added by Jun Omae 14 years ago.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by Jun Omae

Attachment: preview.png added

comment:1 Changed 14 years ago by François Granade

Resolution: fixed
Status: newclosed

Patch applied in [10026]. Thank you !

comment:2 Changed 14 years ago by François Granade

and tests fixed in [10028]

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain François Granade.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.