Modify ↓
#7501 closed enhancement (fixed)
Patch for Trac 0.12
Reported by: | Ben Miller | Owned by: | CM Lubinski |
---|---|---|---|
Priority: | normal | Component: | MultiSelectCustomFieldsPatch |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
Hi, attached is an updated diff to cover Trac 0.12
On the face of it, it appears to be working as expected. The usual caveats apply however and as such it should be reviewed and tested extensively before use.
Attachments (2)
Change History (7)
Changed 14 years ago by
Attachment: | multi-fields.012.diff added |
---|
comment:1 Changed 14 years ago by
I tried applying the patch but about half of the changes failed to patch correctly. Is anyone still actively working on this?
comment:2 Changed 14 years ago by
I got less errors when patching against the latest 0.12stable. Here is the patch output:
patching file trac/ticket/api.py Hunk #1 succeeded at 363 (offset -17 lines). patching file trac/ticket/web_ui.py Hunk #1 succeeded at 1142 (offset 3 lines). Hunk #2 succeeded at 1403 (offset 8 lines). Hunk #3 succeeded at 1643 (offset 8 lines). patching file trac/ticket/model.py Hunk #1 succeeded at 141 (offset 9 lines). Hunk #2 succeeded at 151 (offset 9 lines). Hunk #3 succeeded at 182 with fuzz 1 (offset 9 lines). patching file trac/ticket/query.py Hunk #2 FAILED at 339. Hunk #3 succeeded at 533 (offset -2 lines). Hunk #4 succeeded at 549 (offset -2 lines). Hunk #5 succeeded at 675 (offset -2 lines). Hunk #6 succeeded at 697 (offset -2 lines). 1 out of 6 hunks FAILED -- saving rejects to file trac/ticket/query.py.rej patching file trac/ticket/templates/ticket.html patching file trac/ticket/templates/query.html patching file trac/htdocs/js/query.js patching file trac/htdocs/css/ticket.css
comment:3 Changed 14 years ago by
Status: | new → assigned |
---|
I haven't tried this patch for Trac 0.12; I'll take a look this weekend.
comment:4 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I've added a patch which works against 0.12.1 . Let me know if you run in to any problems.
Thank you kindly to bne for making the initial version of this patch and adding several tests.
Note: See
TracTickets for help on using
tickets.
Multi select patch for Trac 0.12