TypeError: expected string or buffer on snippets.pt api.recent_items[0:5]

Bug #1731993 reported by Paul Everitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL4
Fix Released
Medium
Carlos de la Guardia

Bug Description

TypeError: expected string or buffer

 - Expression: "api.render_sidebar()"
 - Filename: /srv/osfkarl/production/111/karl/views/templates/community_layout.pt
 - Location: (45:53)

 - Source: ... tal:content="structure api.render_sidebar()">
                                          ^^^^^^^^^^^^^^^^^^^^
 - Expression: "api.recent_items[0:5]"
 - Filename: /srv/osfkarl/production/111/karl/views/templates/snippets.pt
 - Location: (472:59)

 - Source: ... tal:repeat="peopleinfo api.recent_items[0:5]">
                                          ^^^^^^^^^^^^^^^^^^^^^
 - Arguments: repeat: {...} (0)
               renderer_name: templates/community_sidebar.pt
               request: <Request - at 0x75d9898c>
               renderer_info: <RendererHelper - at 0x609d116c>
               api: <TemplateAPI - at 0x75d9844c>
               context: <WikiPage front_page at 0x8d02646cL>
               view: <NoneType - at 0xb76f23ccL>

Revision history for this message
Carlos de la Guardia (cguardia) wrote :

Found the problem and put in a fix.

Changed in karl4:
status: New → Fix Committed
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Did this make it into a release?

Changed in karl4:
milestone: 037 → 039
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

@cguardia Did this go into a release?

Changed in karl4:
milestone: 039 → 044
Changed in karl4:
milestone: 044 → 046
milestone: 046 → 044
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.