Modify

Opened 15 years ago

Closed 15 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@… 15 years ago.
blackmagic.py.2.diff (577 bytes) - added by rschwartz@… 15 years ago.
Fixed typo

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by rschwartz@…

Attachment: blackmagic.py.diff added

Changed 15 years ago by rschwartz@…

Attachment: blackmagic.py.2.diff added

Fixed typo

comment:1 Changed 15 years ago by obs

Owner: changed from Stephen Hansen to obs
Priority: normalhigh

comment:2 Changed 15 years ago by obs

Resolution: fixed
Status: newclosed

Fixed in [7209]

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain obs.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.