Ticket #7936 (closed defect: worksforme)

Opened 3 years ago

Last modified 7 months ago

Blocking / Blocked By ticket numbers are not links.

Reported by: vladshikhov@gmail.com Assigned to: coderanger
Priority: normal Component: MasterTicketsPlugin
Severity: normal Keywords:
Cc: vladshikhov@gmail.com Trac Release: 0.12

Description

I've installed TracMasterTickets?-3.0.1 (have Genshi-0.6 and Trac-0.12.1).

The Blocking/Blocked By ticket numbers in the ticket window are not links.

Attachments

trac.png (1.8 kB) - added by vladshikhov@gmai.com on 10/27/10 09:52:44.
Screenshot

Change History

10/27/10 09:52:44 changed by vladshikhov@gmai.com

  • attachment trac.png added.

Screenshot

10/27/10 13:41:50 changed by vladshikhov@gmai.com

  • type changed from defect to enhancement.

One should wait some time have plugin fully working. Please, fix it or document it in readme.

(follow-up: ↓ 3 ) 06/28/11 15:18:24 changed by anonymous

  • type changed from enhancement to defect.

I have exactly the same problem. It was working before I upgraded to 0.11.7 (from 0.11.2 I believe - I did a Debian upgrade from lenny to squeeze).

I did some digging and post_process_request is definitely returning the modified data variable with linkified IDs so I guess that it is something further up that is not displaying them as hyperlinks.

Changing to defect as it was working previously.

(in reply to: ↑ 2 ) 06/28/11 15:19:10 changed by anonymous

Replying to anonymous:

I have exactly the same problem.

(me again) Note I am using version 2.2 of the plugin.

08/31/11 16:27:28 changed by anonymous

Please try to replace in web_ui.py:

  • this
        FIELD_XPATH = 'div[@id="ticket"]/table[@class="properties"]/td[@headers="h_%s"]/text()'
    
  • with this
        FIELD_XPATH = '//div[@id="ticket"]/table[@class="properties"]//td[@headers="h_%s"]/text()'
    

Looks like the Genshi 'Transformator' has changed a bit.

09/26/11 21:41:39 changed by Mazda86

FYI - this fix worked fine for me. I'm using Trac 0.11.7 with version 2.1.3 of the plugin.

10/08/12 21:51:28 changed by rjollos

  • status changed from new to closed.
  • resolution set to worksforme.

The fix described in comment:4 has been applied to the 0.11 branch: 47a7aee54553fb718c376cfa9d7de4389a391e33 with the log message: Fix hyperlinks for dependent tickets (#7139, #4976).

Please reopen if you can reproduce with the latest revision of the plugin on either 0.11 or 0.12.


Add/Change #7936 (Blocking / Blocked By ticket numbers are not links.)




Change Properties
Action