Message8420
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. |
|
| Date |
User |
Action |
Args |
| 2025-12-13 23:37:02 | cmeerw | set | recipients:
+ cmeerw |
| 2025-12-13 23:37:02 | cmeerw | set | messageid: <1765669022.58.0.529151768577.issue2551413@roundup-tracker.org> |
| 2025-12-13 23:37:02 | cmeerw | link | issue2551413 messages |
| 2025-12-13 23:37:02 | cmeerw | create | |
|