Modify ↓
#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): 233 233 from ticket import PatchedTicket 234 234 ticket = PatchedTicket(self.env) 235 235 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: 237 237 if f in ticket.values: 238 238 computedfields[f] = {} 239 239 computedfields[f]['value'] = ticket.values[f]
Attachments (1)
Change History (3)
Changed 14 years ago by
Attachment: | preview.png added |
---|
comment:1 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Patch applied in [10026]. Thank you !