Roundup Tracker - Issues

Issue 955070

Title: Have CSV download of issue list put name rather than ID
Type: rfe Severity: normal
Components: Interface Versions:
Status: open Resolution:
Dependencies: Superseder:
Assigned To: richard Nosy List: ajaksu2, briandorsey, chichi, clvigner, pefu, richard, rouilj
Priority: normal Keywords:

Created on 2004-05-17 03:13 by rouilj, last changed 2016-06-28 07:39 by pefu.

msg3329 Author: [hidden] (rouilj) Date: 2004-05-17 03:13
The CSV download capability is great, but it downloads 
information not as its displayed value in the interface, 
but as the underling id for the value. 

E.G. in the issue list, I see the priority as high,
but in the CSV output it is "2". I claim it should be high
as well in the CSV output.

-- rouilj
msg3330 Author: [hidden] (clvigner) Date: 2005-01-18 16:11
Logged In: YES 

I have put a quick patch against 0.7.11 that does this here:
msg3331 Author: [hidden] (briandorsey) Date: 2005-02-08 00:09
Logged In: YES 

I've installed and used clvigner's patch successfully. It
seems to work well for everything except the keyword property. 
msg3612 Author: [hidden] (ajaksu2) Date: 2009-03-01 13:53
Here's a modification that works with keywords and other Multilinks.

        def repr_link(cls,col):
            def f(x):
                print x, cls, col
                if x==None:
                    return ""
                elif isinstance(x, list): # <-
                    return str([cls.get(y,col) for y in x]) # <-
                    return str(cls.get(x,col))
            return f

        props = klass.getprops()

        for col in columns:
            represent[col] = str
            islink = isinstance(props[col], hyperdb.Link)
            ismultilink = isinstance(props[col], hyperdb.Multilink)
            if  islink or ismultilink:
                cn = props[col].classname
msg3885 Author: [hidden] (chichi) Date: 2009-09-28 10:04
Not knowing why the new modification does not work.
Could anyone enlighten me?

msg4508 Author: [hidden] (pefu) Date: 2012-03-02 10:34
Corrected a typo in Title:  This was about CSV (comma separated values)
download and not about CVS (concurrent versions system).

BTW: What happened to the patch mentioned in msg3330 over seven years
ago?  It is still in the Wiki here:
But I found nothing about it in the CHANGES.txt
msg5676 Author: [hidden] (pefu) Date: 2016-06-28 07:39
BTW: Downstream on Ubuntu Linux there is the following 
bug report in Launchpad:
The Launchpad "Bug Watch Updater" bot send me an email today.
Date User Action Args
2016-06-28 07:39:54pefusetmessages: + msg5676
2016-06-26 23:52:52rouiljlinkissue1985891 superseder
2012-03-02 10:34:56pefusetnosy: + pefu
messages: + msg4508
title: Have CVS download of issue list put name rather than ID -> Have CSV download of issue list put name rather than ID
2009-09-28 10:04:14chichisetnosy: + chichi
messages: + msg3885
2009-03-01 13:53:39ajaksu2setmessages: + msg3612
2009-02-20 02:03:25ajaksu2setnosy: + ajaksu2
2004-05-17 03:13:36rouiljcreate