Modify

Opened 5 years ago

Closed 4 years ago

#6012 closed defect (fixed)

[PATCH] Trac 0.12 Constraints Undefined

Reported by: Zyzle Owned by: CuriousCurmudgeon
Priority: normal Component: BatchModifyPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.12

Description

After updating trac to 0.12(0.12dev-r8679) the plugin now causes the following error:

File "<snip>\trac\.egg-cache\batchmodify-0.2.0-py2.5.egg-tmp\batchmod\templates\batchmod.html", line 57, in <Expression u'iter(constraints.items())'>
  <py:for each="constraint_name, constraint in constraints.items()">

Attachments (2)

0.12.patch (2.0 KB) - added by scratcher 5 years ago.
patch to work with 0.12
and-or-queries.diff (2.4 KB) - added by jun66j5 5 years ago.

Download all attachments as: .zip

Change History (12)

Changed 5 years ago by scratcher

patch to work with 0.12

comment:1 Changed 5 years ago by scratcher

  • Severity changed from normal to blocker

I've removed several strings from Genshi template, I didn't figure out what do they for and also adapted for jquery 1.3.
But, at least now it "works for me". Patch is attached.

comment:2 Changed 5 years ago by scratcher

  • Summary changed from Trac 0.12 Constraints Undefined to [PATCH] Trac 0.12 Constraints Undefined

Changed 5 years ago by jun66j5

comment:3 Changed 5 years ago by jun66j5

Form item names have been changed in custom query, when Trac supports AND/OR queries in trac:r8612.
This problem are fixed by and-or-queries.diff.

cf. trac:#2647

comment:4 follow-up: Changed 4 years ago by rjollos

I'm willing to do some testing on 0.12dev after there is a working version on 0.11.x.

comment:5 Changed 4 years ago by anonymous

  • Owner changed from ashwin_phatak to CuriousCurmudgeon

comment:6 Changed 4 years ago by CuriousCurmudgeon

(In [7415]) refs #6012

  • Applied and-or-queries.diff. Thanks to jun66j5.

comment:7 Changed 4 years ago by CuriousCurmudgeon

  • Status changed from new to assigned

comment:8 in reply to: ↑ 4 ; follow-up: Changed 4 years ago by CuriousCurmudgeon

Replying to rjollos:

I'm willing to do some testing on 0.12dev after there is a working version on 0.11.x.

I would like to see some testing for 0.12dev if possible before making an official release of this. Are you available to do this?

comment:9 in reply to: ↑ 8 Changed 4 years ago by rjollos

Replying to CuriousCurmudgeon:

I would like to see some testing for 0.12dev if possible before making an official release of this. Are you available to do this?

I'd be happy to. I have 0.12dev setup on a virtual machine and have tested some other plugins in preparation for a migration to 0.12.0 when it is released.

You want to contact me when you are finished applying patches and doing the major work for 0.11?

comment:10 Changed 4 years ago by CuriousCurmudgeon

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

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 CuriousCurmudgeon. 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.