Roundup Tracker - Issues


Author rouilj
Recipients anrounham14, ber, rouilj, tekberg
Date 2019-02-07.02:15:13
Message-id <>
There is another bug in ExportCSVNamesAction.

If there is an issue in your list that you don't have access to, the
current code will result in every csv element being reported
as [hidden].

Tom this may be the bug you ran into with custom objects. As soon as you
hit any
object that the user can't view everything is set to [hidden]. If the
first custom
item is not accessibly, you get a nice matrix of [hidden] even for
entries the user can

This little bit of code:

                  if not self.hasPermission(self.permissionType,
                        classname=request.classname, property=col):
                    represent[col] = repr_no_right(request.classname, col)

results in all the represent[col] set to repr_no_right on the first
inaccessible object/issue.

I have attached a file with two patches that applies to my copy of
file1532 that
fixes this by assigning the current representation to a new variable and
not changing represent[col].

The second patch in the file hides any object that the user doesn't have
access to.
Otherwise you get a row of [hidden] output for every field. It is meant
to mimic the
access check in the html so the row is not displayed in any way.
Date User Action Args
2019-02-07 02:15:14rouiljsetmessageid: <>
2019-02-07 02:15:14rouiljsetrecipients: + rouilj, ber, tekberg, anrounham14
2019-02-07 02:15:14rouiljlinkissue2550833 messages
2019-02-07 02:15:14rouiljcreate