Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#8673 closed defect (fixed)

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

Reported by: jun66j5 Owned by: farialima
Priority: normal Component: TicketImportPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12


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/

    diff --git a/talm_importer/ b/talm_importer/
    index 7b820d4..45fc968 100644
    a b class ImportModule(Component): 
    233233        from ticket import PatchedTicket 
    234234        ticket = PatchedTicket(self.env) 
    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 jun66j5 3 years ago.

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by jun66j5

comment:1 Changed 3 years ago by farialima

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

Patch applied in [10026]. Thank you !

comment:2 Changed 3 years ago by farialima

and tests fixed in [10028]

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from farialima. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.