Modify

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#13725 closed defect (fixed)

Context Error for Trac 1.4

Reported by: Oleg Vassin <oleg.vassin@…> Owned by: Ryan J Ollos
Priority: normal Component: SubcomponentsPlugin
Severity: normal Keywords: context
Cc: Frau Boonekamp Trac Release: 1.4

Description

  • .py

    old new from trac.wiki import format_to_html 
    11 from trac.mimeview.api import Context
     11from trac.web.chrome import web_context as get_context
    class ComponentsViewModule(Component): 
    60             description = format_to_html(self.env, Context.from_request(req),
     60            description = format_to_html(self.env, get_context(req),

Attachments (0)

Change History (8)

comment:1 Changed 2 years ago by Oleg Vassin <oleg.vassin@…>

Trac Release: 1.4

comment:2 Changed 2 years ago by Ryan J Ollos

Owner: set to Ryan J Ollos
Status: newaccepted

comment:3 Changed 2 years ago by Ryan J Ollos

In 17651:

TracSubcomponents 1.3.2dev: Replace use of Context

Refs #13725.

comment:4 Changed 2 years ago by Ryan J Ollos

Plugin uses a Genshi Transformer, which needs to be replaced with JavaScript code.

comment:5 Changed 2 years ago by Frau Boonekamp

Original maintainer here. I continue to maintain this plugin for Haiku's Trac instance. The current repository can be found on GitHub.

I don't know to what extend the two plugins differ at the moment, but the one on Github does support Trac 1.4 properly.

comment:6 Changed 2 years ago by Ryan J Ollos

Cc: Frau Boonekamp added

Thanks!

Looking at your change history and log:subcomponentsplugin, it looks like you pulled in [15656:15657]. The other significant change is [16410:16411]. The other changes since r15657 packaging issues, which I assume you've addressed.

We'll update the plugin page to direct to your GitHub repository.

Last edited 2 years ago by Ryan J Ollos (previous) (diff)

comment:7 Changed 2 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

comment:8 Changed 2 years ago by Ryan J Ollos

Also, please let me know if you might be interested in moving the plugin to the trac-hacks org on GitHub: https://github.com/trac-hacks

Modify Ticket

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