Roundup Tracker - Issues

Issue 2551413

classification
Broken MultiLink columns in CSV export
Type: crash Severity: major
Components: Web interface Versions: 2.5.0
process
Status: new
:
: : cmeerw
Priority: normal :

Created on 2025-12-13 23:37 by cmeerw, last changed 2025-12-13 23:37 by cmeerw.

Messages
msg8420 Author: [hidden] (cmeerw) Date: 2025-12-13 23:37
Attempting to include a MultiLink column (that's not "name") will result in a Traceback or 
incorrect data being exported.

At least this change (which removes a hardcoded "name") should be applied:

diff --git a/roundup/cgi/actions.py b/roundup/cgi/actions.py
index 7d12af4a..ef987f3e 100644
--- a/roundup/cgi/actions.py
+++ b/roundup/cgi/actions.py
@@ -1688,7 +1688,6 @@ class ExportCSVAction(Action):
             if isinstance(props[col], hyperdb.Multilink):
                 cname = props[col].classname
                 cclass = self.db.getclass(cname)
-                represent[col] = repr_list(cclass, 'name')
                 if not self.hasPermission(self.permissionType, classname=cname):
                     represent[col] = repr_no_right(cclass, 'name')
                 else:

To test: run the demo tracker, create an issue, and then attempt a CSV export, including 
the "messages" column.
History
Date User Action Args
2025-12-13 23:37:02cmeerwcreate