Opened 7 years ago

Closed 6 years ago

Last modified 4 years ago

#6514 closed defect (fixed)

Problems with 0.12dev

Reported by: catacgc Owned by: bjornharrtell
Priority: normal Component: GridModifyPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.12

Description (last modified by rjollos)

When I used this plugin with trac multirepos 0.12dev and genshi 0.6dev it gave two problems.

  1. On the client side you try to find the chrome path of the trac installation by finding the gridmod.js script with a jquery css selector rule like $("script[src~="gridmod"]) which is incorrect because jquery documentation states that this matches gridmod as a separated word (separated by spaces). The fix is to use $("script[src*="gridmod"]).
  2. Trac 0.12dev gave an error when sending back the OK response from an ajax request because the Content-Length header was mandatory.

I have attached a patch with the small fixes that make it work properly on trac 0.12dev.

Attachments (1)

patch (1.1 KB) - added by catacgc 7 years ago.
small fixes

Download all attachments as: .zip

Change History (8)

Changed 7 years ago by catacgc

small fixes

comment:1 Changed 6 years ago by anonymous

  • Owner changed from abbywinterscom to anonymous
  • Status changed from new to assigned

comment:2 Changed 6 years ago by bjornharrtell

  • Owner changed from anonymous to bjornharrtell
  • Status changed from assigned to new

comment:3 Changed 6 years ago by bjornharrtell

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

(In [8322]) Fixed 0.12 showstoppers (closes #6514)

comment:4 Changed 4 years ago by rjollos

#10301 closed as a duplicate.

comment:5 Changed 4 years ago by rjollos

  • Description modified (diff)

comment:6 Changed 4 years ago by rjollos

(In [12227]) Refs #6514: Removed the 0.11 branch. The trunk is compatible with 0.11 and has many bug-fixes.

comment:7 Changed 4 years ago by rjollos

(In [12228]) Refs #6514:

  • Follow-on to [8322]. Refactored to use the more abstract send and send_error methods of the Request class.
  • The exception from the Ajax callback is now logged.
  • Replaced $ with jQuery in the global namespace, to avoid conflicts.

Add Comment

Modify Ticket

as closed The owner will remain bjornharrtell.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.