Opened 12 years ago

Last modified 12 years ago

#300 closed defect (FIXED)

Exception in Atom feed view

Reported by: joar Owned by: nyergler
Priority: minor Milestone: 0.2.0
Component: programming Keywords:
Cc: Parent Tickets:

Description

Trying to access any Atom feed (e.g.
`http://mg.wandborg.se/u/joar/atom/ <http://mg.wandborg.se/u/joar/atom/>`_)
will raise an exception.

::

    ------------------------------------------------------------
    Error - <type 'exceptions.AttributeError'>: 'BaseResponse' object has no attribute 'vary'
    URL: http://mg.wandborg.se/u/joar/atom/
    File '/home/joar/mediagoblin/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/exceptions/errormiddleware.py', line 144 in __call__
      app_iter = self.application(environ, sr_checker)
    File '/home/joar/mediagoblin/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/urlmap.py', line 203 in __call__
      return app(environ, start_response)
    File '/home/joar/mediagoblin/lib/python2.7/site-packages/Beaker-1.6.1-py2.7.egg/beaker/middleware.py', line 155 in __call__
      return self.wrap_app(environ, session_start_response)
    File '/home/joar/mediagoblin/mediagoblin/app.py', line 175 in __call__
      m.process_response(request, response)
    File '/home/joar/mediagoblin/mediagoblin/middleware/csrf.py', line 101 in process_response
      response.vary = (response.vary or []) + ['Cookie']
    AttributeError: 'BaseResponse' object has no attribute 'vary'



Change History (4)

comment:1 by nyergler, 12 years ago

Owner: set to Nathan Yergler

comment:1 by nyergler, 12 years ago

Status: NewResolved
This is a duplicate of `#653 </issues/653>`_, resolved in merge
request 30.



comment:2 by Christopher Allan Webber, 12 years ago

Status: ResolvedClosed
Since I made the merge for `#643 </issues/643>`_, this is fixed
also.



comment:3 by Will Kahn-Greene, 12 years ago

The original url for this bug was http://bugs.foocorp.net/issues/648 .

Note: See TracTickets for help on using tickets.