Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#6514 closed defect (fixed)

Problems with 0.12dev

Reported by: Costache Catallin Owned by: Björn Harrtell
Priority: normal Component: GridModifyPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.12

Description (last modified by Ryan J Ollos)

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 Costache Catallin 7 years ago.
small fixes

Download all attachments as: .zip

Change History (8)

Changed 7 years ago by Costache Catallin

Attachment: patch added

small fixes

comment:1 Changed 7 years ago by anonymous

Owner: changed from Abbywinters.com WebDev to anonymous
Status: newassigned

comment:2 Changed 7 years ago by Björn Harrtell

Owner: changed from anonymous to Björn Harrtell
Status: assignednew

comment:3 Changed 7 years ago by Björn Harrtell

Resolution: fixed
Status: newclosed

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

comment:4 Changed 4 years ago by Ryan J Ollos

#10301 closed as a duplicate.

comment:5 Changed 4 years ago by Ryan J Ollos

Description: modified (diff)

comment:6 Changed 4 years ago by Ryan J Ollos

(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 Ryan J Ollos

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

Modify Ticket

Action
as closed The owner will remain Björn Harrtell.
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.