amend traceback during upgrade to include object affected

Bug #369420 reported by Andy Altepeter
4
Affects Status Importance Assigned to Milestone
Silva
Fix Released
Undecided
Unassigned

Bug Description

During the upgrade process, if the upgrade fails on an object, a traceback/error is raised which contains no information regarding the object that caused the failure, or which upgrader on the object failed.

The upgrade process should amend the traceback to include this information, in the same way that page templates, amend the traceback to include the local context/variables.

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

This is now working in both the 2.1 branch (which will be 2.1.4) and the Silva trunk (2.2). When an exception occurs in upgradeObject, or an upgraders upgrade method, the object, object_path, and upgrader will be printed in the traceback, like a page templates context is.l

Changed in silva:
milestone: none → 2.1.2
status: New → Fix Committed
Changed in silva:
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.