Modify

Opened 5 years ago

Closed 5 years ago

#5756 closed defect (fixed)

Corrected Transformer.replace call for label magic

Reported by: rschwartz@… Owned by: obs
Priority: high Component: BlackMagicTicketTweaksPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

This isn't a serious issue it's more of a cleanup thing that happened to break another plugin. The re-label feature in BlackMagicTicketTweaksPlugin was replacing

<label for="field-tracfield">Trac Field</label>

with

My Custom Label

This broke CondFieldsPlugin which depends on the label[@for=""] XPath expression. I've attached a patch (hopefully it's correct, I don't do patches often!)

Attachments (2)

blackmagic.py.diff (577 bytes) - added by rschwartz@… 5 years ago.
blackmagic.py.2.diff (577 bytes) - added by rschwartz@… 5 years ago.
Fixed typo

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by rschwartz@…

Changed 5 years ago by rschwartz@…

Fixed typo

comment:1 Changed 5 years ago by obs

  • Owner changed from ixokai to obs
  • Priority changed from normal to high

comment:2 Changed 5 years ago by obs

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

Fixed in [7209]

Add Comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.