Modify

Opened 8 years ago

Closed 7 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 7 years ago.
patch to work with 0.12
and-or-queries.diff (2.4 KB) - added by Jun Omae 7 years ago.

Download all attachments as: .zip

Change History (12)

Changed 7 years ago by scratcher

Attachment: 0.12.patch added

patch to work with 0.12

comment:1 Changed 7 years ago by scratcher

Severity: normalblocker

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 7 years ago by scratcher

Summary: Trac 0.12 Constraints Undefined[PATCH] Trac 0.12 Constraints Undefined

Changed 7 years ago by Jun Omae

Attachment: and-or-queries.diff added

comment:3 Changed 7 years ago by Jun Omae

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 Changed 7 years ago by Ryan J Ollos

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

comment:5 Changed 7 years ago by anonymous

Owner: changed from ashwin_phatak to CuriousCurmudgeon

comment:6 Changed 7 years ago by CuriousCurmudgeon

(In [7415]) refs #6012

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

comment:7 Changed 7 years ago by CuriousCurmudgeon

Status: newassigned

comment:8 in reply to:  4 ; Changed 7 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 7 years ago by Ryan J Ollos

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 7 years ago by CuriousCurmudgeon

Resolution: fixed
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain CuriousCurmudgeon.
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.