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

Surveys: No way to create a new person record while linking a survey submission #2368

Open
richardolsson opened this issue Nov 22, 2024 · 1 comment
Assignees
Labels
🐜 bug Something isn't working 🚪 entry-level Good for newcomers 🐬 Medium Just a nice sized issue.

Comments

@richardolsson
Copy link
Member

Description

When someone submits a survey, we call that a "survey submission". Survey submissions are usually submitted by unauthenticated users, and for that reason Zetkin does not automatically link a survey submission to a person. An organizer must manually find the record that represents the person that submitted the survey, and link it to the submission.

When trying to link a survey submission, if there is no person record that matches, there is currently no way of creating a new record to be linked to the submission.

Steps to reproduce

  1. Go to https://app.dev.zetkin.org/organize/1/projects
  2. Find any survey that has received submissions
  3. Go to the submissions tab
  4. In the list, make sure there are unlinked submissions
  5. Double-click the cell where the missing link is
  6. Type "acbd1234" into the search field that opens

Expected Behaviour

No person should be found. In the popper there should be a button that allows the user to create a new person object to be linked to the submission.

Actual Behaviour

No person is found, but the popper is then just empty. There is no button to create a new person record.

Screenshots (if you have any)

image

@richardolsson richardolsson added 🐜 bug Something isn't working 🚪 entry-level Good for newcomers 🐬 Medium Just a nice sized issue. labels Nov 22, 2024
@ziggabyte ziggabyte changed the title No way to create a new person record while linking a survey submission Surveys: No way to create a new person record while linking a survey submission Nov 29, 2024
@katjam
Copy link
Contributor

katjam commented Dec 7, 2024

@richardolsson I can take a look at this. Please assign to me and I will let you know if I get stuck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐜 bug Something isn't working 🚪 entry-level Good for newcomers 🐬 Medium Just a nice sized issue.
Projects
None yet
Development

No branches or pull requests

2 participants