findfilters_pairs error when silva layout is not installed

Bug #257628 reported by Wim Boucquaert
2
Affects Status Importance Assigned to Milestone
SilvaNewsNetwork
Fix Released
Undecided
Wim Boucquaert

Bug Description

Hi,

When using SilvaNews 2.6 with Silva 2.1 you get an error when SilvaLayout is not installed.

You get the following traceback:

  * Module Products.SilvaNews.NewsViewer, line 170, in get_items
  * Module Products.SilvaNews.NewsViewer, line 144, in _get_items_helper
  * Module Products.SilvaNews.NewsViewer, line 129, in verify_filters
  * Module Products.SilvaNews.NewsViewer, line 101, in findfilters
  * Module Products.SilvaNews.NewsViewer, line 115, in findfilters_pairs

AttributeError: getPhysicalPath

Revision history for this message
Wim Boucquaert (wim-boucquaert) wrote :

Andy, can you have look at this one. Tnx

description: updated
Changed in silva-news-network:
assignee: nobody → aaltepet
Changed in silva-news-network:
assignee: aaltepet → wim-boucquaert
Revision history for this message
Andy Altepeter (aaltepet) wrote :

Wim,

I've tried reproducing this many different ways, but have been unable to. Could you outline how to reproduce this? thx.

Revision history for this message
Wim Boucquaert (wim-boucquaert) wrote :

Hi Andy,

I wasn't able to reproduce it myself either, I'm gonna ask the person how he reproduced this error.

Revision history for this message
Andy Altepeter (aaltepet) wrote :

I ran into this problem tonight when working on the xmlexports for SNN. At some point, the parent became the zipfileexportadapter, rather than the silva publication. This, of course, isn't a zodb object, so it was failing.

I changed the code to use supervalues instead, and this seems to have solved the issue.

Changed in silva-news-network:
status: New → Fix Committed
Changed in silva-news-network:
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.