#1546 Fix UndefinedError: 'MagicalC' object has no attribute 'announcements_table'

v1.0.0
closed
sf-2 (994)
General
nobody
2015-08-20
2011-02-22
No

https://sourceforge.net/p/lanex/discussion/

Module /var/local/allura/ForgeDiscussion/forgediscussion/templates/discussionforums/index.html:22 in block "content"
<<    {% if announcements %}
           <h3>Announcements</h3>
           {{c.announcements_table.display(value=announcements)}}
         {% endif %}
         {% set visible=0 %}
>>  {{c.announcements_table.display(value=announcements)}}
Module jinja2.environment:352 in getattr
<<          """
               try:
                   return getattr(obj, attribute)
               except AttributeError:
                   pass
>>  return getattr(obj, attribute)
UndefinedError: 'MagicalC' object has no attribute 'announcements_table'

Related

Tickets: #1549

Discussion

  • Paul Sokolovsky

    Paul Sokolovsky - 2011-02-22
    • assigned_to: Paul Sokolovsky
     
  • Paul Sokolovsky

    Paul Sokolovsky - 2011-02-22
    • status: open --> in-progress
     
  • Paul Sokolovsky

    Paul Sokolovsky - 2011-02-22

    Fix committed to dev, ticket closure is pending test addition.

     
  • Paul Sokolovsky

    Paul Sokolovsky - 2011-02-23
    • status: in-progress --> closed
     
  • Paul Sokolovsky

    Paul Sokolovsky - 2011-02-23

    Test will be handled in [#1549].

     

    Related

    Tickets: #1549


Log in to post a comment.