[issue2551413] Broken MultiLink columns in CSV export
Christof Meerwald <[email protected]> Sat, 13 Dec 2025 23:37:02 +0000
| Newsgroups | gmane.comp.bug-tracking.roundup.devel |
|---|---|
| Message-ID | <[email protected]> |
New submission from Christof Meerwald:
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.
----------
components: Web interface
messages: 8420
nosy: cmeerw
priority: normal
severity: major
status: new
title: Broken MultiLink columns in CSV export
type: crash
versions: 2.5.0
_________________________________________________
Roundup tracker <[email protected]>
<https://issues.roundup-tracker.org/issue2551413>
_________________________________________________