Issue 955070
Created on 2004-05-17 03:13 by rouilj, last changed 2019-03-27 00:43 by rouilj.
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
user_id=1199574
I have put a quick patch against 0.7.11 that does this here:
http://www.mechanicalcat.net/tech/roundup/wiki/ExportCSVNames
|
msg3331 |
Author: [hidden] (briandorsey) |
Date: 2005-02-08 00:09 |
|
Logged In: YES
user_id=292730
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]) # <-
else:
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?
Thanks!
|
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:
http://www.roundup-tracker.org/cgi-bin/moin.cgi/ExportCSVNames
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:
https://bugs.launchpad.net/launchpad/+bug/237776
The Launchpad "Bug Watch Updater" bot send me an email today.
|
msg6443 |
Author: [hidden] (rouilj) |
Date: 2019-03-27 00:43 |
|
Closing. I claim this is addressed in hg5613:be99aa02c616.
|
|
Date |
User |
Action |
Args |
2019-03-27 00:43:57 | rouilj | set | versions:
+ devel |
2019-03-27 00:43:42 | rouilj | set | status: open -> fixed resolution: fixed messages:
+ msg6443 |
2018-10-11 01:40:45 | rouilj | set | keywords:
+ patch |
2016-06-28 07:39:54 | pefu | set | messages:
+ msg5676 |
2016-06-26 23:52:52 | rouilj | link | issue1985891 superseder |
2012-03-02 10:34:56 | pefu | set | nosy:
+ 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:14 | chichi | set | nosy:
+ chichi messages:
+ msg3885 |
2009-03-01 13:53:39 | ajaksu2 | set | messages:
+ msg3612 |
2009-02-20 02:03:25 | ajaksu2 | set | nosy:
+ ajaksu2 |
2004-05-17 03:13:36 | rouilj | create | |
|