Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Author user related columns missing from CSV export #3998

Closed
tuxpiper opened this issue Jul 8, 2020 · 2 comments
Closed

Author user related columns missing from CSV export #3998

tuxpiper opened this issue Jul 8, 2020 · 2 comments
Labels
Milestone

Comments

@tuxpiper
Copy link
Member

tuxpiper commented Jul 8, 2020

Describe the bug
When exporting deployments posts, the resulting CSV doesn't contain all the information about the author of the post.

Where was the bug observed
Any current deployment

To Reproduce
Steps to reproduce the behavior:

  1. Ensure you've got Web / Mobile app posts in the deployment, reported by registered users.
  2. Produce CSV export
  3. The posts authors names and / or emails are missing.

Expected behavior
The CSV should contain any/some/all of these:

  • authors names
  • authors email
  • authors role (?)

Is there a workaround? What is it.
n/a

Screenshots
n/a

URL / Environment where this happened
n/a

If the bug is datasource related (e.g. SMS or Targeted SMS), please specify the configuration details (e.g. Frontline + Clickatell, etc):
n/a

Desktop Hardware Details (please complete the following information):
n/a

Smartphone Hardware Details (please complete the following information):
n/a

Additional context
To clarify, the CSV does contain Contact and Contact ID columns, but those are only relevant for posts received via a SMS, email or twitter datasource. This issue is referring to posts created by submission from the Web, Mobile App or some other party via the REST API.

It looks like this could be solved by adding the relevant fields here: https://github.com/ushahidi/platform/blob/develop/src/App/Repository/Form/AttributeRepository.php#L296

Aha! Link: https://ushahiditeam.aha.io/features/PROD-98

@tuxpiper tuxpiper added Bug consider for upcoming cycle Shortlist of items to consider as on deck for next cycle or two. PM uses this sparingly. labels Jul 8, 2020
@tuxpiper tuxpiper changed the title "User" column missing from CSV export Author user related columns missing from CSV export Jul 8, 2020
@rowasc
Copy link
Contributor

rowasc commented Jul 8, 2020

ah. User ID and Email should be sufficient, but role may actually be useful to determine issues so I think we could add it.
The main reason for user_id here is that it may help identify info if someone changes their email, I think?

@rowasc rowasc added this to the Parking Lot milestone Sep 4, 2020
@tuxpiper tuxpiper modified the milestones: Backlog, v5.1.1 Jun 18, 2021
@tuxpiper tuxpiper reopened this Jun 21, 2021
@tuxpiper tuxpiper modified the milestones: v5.1.1, v5.1.2 Jul 12, 2021
@CeciliaHinga
Copy link
Contributor

Related issue #4152

@tuxpiper tuxpiper removed the consider for upcoming cycle Shortlist of items to consider as on deck for next cycle or two. PM uses this sparingly. label Sep 3, 2021
@tuxpiper tuxpiper modified the milestones: v5.1.2, Backlog Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants