NoViewError exception when versions of NewsItems are compared

Bug #101299 reported by Guido Goldstein
16
Affects Status Importance Assigned to Milestone
SilvaNewsNetwork
Fix Released
Medium
Andy Altepeter

Bug Description

As said, versions of NewsItems can't be compared.
Last lines of traceback:
    * Module Products.PTProfiler.ProfilerPatch, line 25, in __patched_call__
    * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
      __traceback_info__: model.view_version('preview', version2)
    * Module Python expression "model.view_version('preview', version2)", line
1, in <expression>
    * Module Products.Silva.SilvaObject, line 330, in view_version

NoViewError: no preview view defined

Revision history for this message
Kit Blake (kitblake) wrote :

Giving this the Silva-midterm topic, as it's not part of the original Version
Management (for Silva Documents) project.

Changed in silva:
assignee: guido-infrae → aaltepet
Revision history for this message
Andy Altepeter (aaltepet) wrote :

As of SNN 2.5, both Agenda Items and Articles have preview views defined.
I've verified that the version compare feature works for both.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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