#10034 closed defect (fixed)
Wrong ticket url?
Reported by: | Krzysztof Antczak | Owned by: | Rob Guttman |
---|---|---|---|
Priority: | normal | Component: | CodeReviewerPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
I can't tell You why, but it seems, that ticket url is generated in incorrect way - it redirects me into '/ticket/7' instead of '/env/project/ticket/7'
Attachments (0)
Change History (6)
comment:2 Changed 13 years ago by
Trac Release: | 0.11 → 0.12 |
---|
comment:3 Changed 13 years ago by
Status: | new → assigned |
---|
Oh, and i'm testing it under trac 0.13-dev, some css styling results, looks a little bit different here.
Ticket comment: http://i.imm.io/pH2c.png
vs yours: ticket1.png:wiki:CodeReviewerPlugin
Hm, first comment looks totally different, why?
Krzysztof, the first comment you see in my screenshot is from using the provided CommitTicketReferenceMacro
- see configuration instructions here.
I think I see what's up with your main issue above - testing a fix now..
comment:5 follow-up: 6 Changed 13 years ago by
Updated, tested, works fine ;-)
PS. i still can't force this 'passed' status to looks like yours:
coderev.* = enabled tracopt.ticket.commit_updater.committicketupdater = disabled tracopt.ticket.commit_updater.committicketreferencemacro = enabled
is it correct?
comment:6 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Replying to Krzysztof Antczak:
Updated, tested, works fine ;-)
Great.
PS. i still can't force this 'passed' status to looks like yours:
coderev.* = enabled tracopt.ticket.commit_updater.committicketupdater = disabled tracopt.ticket.commit_updater.committicketreferencemacro = enabled
is it correct?
That looks correct. But note that we're talking about two different comments here:
- the original changeset comment
- review comments
The CommitTicketReferenceMacro
only impacts the first type of comment - i.e., the original changeset comment. For that to work, the commit_updater must be used and you need to have your repo hooks configured to call the appropriate trac-admin command to make sure the changeset gets associated with the ticket and then therefore creates the original changeset comment. More details can be found here and here.
I believe the original issue above has been resolved and so am going to close this ticket. If you still have issues with the macro after reviewing the above links, please open a new ticket for that. Thanks.
Replying to Krzysztof Antczak:
Oh, and i'm testing it under trac 0.13-dev, some css styling results, looks a little bit different here.
Ticket comment: http://i.imm.io/pH2c.png
vs yours: ticket1.png:wiki:CodeReviewerPlugin
Hm, first comment looks totally different, why?