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

Subscriber unable to register a new site #709

Closed
HeatherBrooks opened this issue Mar 5, 2024 · 5 comments
Closed

Subscriber unable to register a new site #709

HeatherBrooks opened this issue Mar 5, 2024 · 5 comments

Comments

@HeatherBrooks
Copy link
Collaborator

HeatherBrooks commented Mar 5, 2024

@aufdenkampe @ptomasula Could this be related to last week's release? The screenshot shows an error message of "There are still some required fields that need to be filled out" but all unfilled fields are mark as optional.

https://www.envirodiy.org/topic/registering-a-new-site-on-mmw/#post-18358

*ptomasula: edit to fix hyperlink

@SRGDamia1
Copy link
Member

@ptomasula I tested this. While I was logged in as my usual user with admin privileges, I was able to create a new site only filling out required fields.

I then created a completely new non-admin user to test. When I was logged in as that user, I got a 500 error just clicking on the "My Sites" page so I couldn't even test creating a new site.

@ptomasula
Copy link
Member

ptomasula commented Mar 5, 2024

@SRGDamia1, I do not receive a 500 error when as a non admin user, so that might be a separate issue we need to look into.

I confirmed and reproduced this behavior. Likely resulting from a missing organization_id field on the form. There is supposed to be a dropdown that allows users to select with affiliated organization they want to deploy this site for, but that doesn't seem to appear for standard users. I'm look into the resolution for this now.

@SRGDamia1
Copy link
Member

@ptomasula I created a new issue for the My Sites page. I suspect it's related by my account being brand new, not just non-administrative.

ptomasula added a commit that referenced this issue Mar 5, 2024
Related issue #709
Users are supposed to have a dropdown of organizations they are affiliated with appears on this form. It looks like the template had a user is staff requirement, which prevented them from seeing and populating this required field.
@ptomasula
Copy link
Member

The fix for this should be live on production. Users will now see the missing dropdown that lets them select which organization to deploy the site for.
image

@HeatherBrooks
Copy link
Collaborator Author

Thank you, Paul! I will report back to the user on EnviroDIY.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants