Inconsistent renderer_info in system dict #106

Closed
paxvel opened this Issue Jan 22, 2011 · 1 comment

Projects

None yet

2 participants

@paxvel
paxvel commented Jan 22, 2011

pyramid.renderers.RendererHelper render_view method injects dict(name=self.name,package=self.package) as renderer_info into system dict, which breaks code expecting renderer_info implementing IRendererInfo.

Resulution: inject self instead, as render() method does.

@mcdonc
Member
mcdonc commented Jan 23, 2011
  • The render_view method of pyramid.renderers.RendererHelper passed
    an incorrect value into the renderer for renderer_info. It now passes
    an instance of RendererHelper instead of a dictionary, which is
    consistent with other usages. See
    https://github.com/Pylons/pyramid/issues#issue/106

Closed by 877904a

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment