mirror of
https://github.com/KelvinTegelaar/CIPP.git
synced 2026-04-25 08:16:01 +03:00
[GH-ISSUE #881] BUG: Exported User CSV Licenses All Listed as "[object Object]" #446
Labels
No labels
API
Feature
NotABug
NotABug
Planned
Sponsor Priority
Sponsor Priority
bug
documentation
duplicate
enhancement
needs more info
no-activity
no-priority
not-assigned
pull-request
react-conversion
react-conversion
roadmap
security
stale
unconfirmed-by-user
unconfirmed-by-user
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/CIPP#446
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ByteSizedITGuy on GitHub (Apr 13, 2022).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/881
Describe the bug
Under Identity Management > Administration > Users there are two buttons, one for PDF and one for CSV. When you hit the CSV report and open the downloaded file, the "assignedLicenses" column is just populated with "[object Object]"
Note: there is a separate column called "LicJoined" that seems to actually contain the licenses by name.
To Reproduce
Navigate to Identity Management > Administration > Users > select a tenant with users > click on "CSV" and open the file.
Screenshots
Desktop (please complete the following information):
Additional context
I suspect this is a legacy column that does not need to be included in that report any more. It's not really a major problem per se, as it seems to just insert an instance of "[object Object]" for each license the user has. For example, if a user has an E3 and a Project Plan 3 listed under the "LicJoined" column, they'll have "[object Object],[object Object]" under the assignedLicenses column.
@KelvinTegelaar commented on GitHub (Apr 14, 2022):
Corrected selected columns in all reports.