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

Clearing the project slug causes whoops #2944

Closed
reckart opened this issue Apr 4, 2022 · 0 comments
Closed

Clearing the project slug causes whoops #2944

reckart opened this issue Apr 4, 2022 · 0 comments
Assignees
Labels
Milestone

Comments

@reckart
Copy link
Member

reckart commented Apr 4, 2022

Describe the bug
When clearing the URL slug field in the project settings and trying to save, the user is taken to a "whoops" page

To Reproduce
Steps to reproduce the behavior:

  1. Set URL slug field to nothing or a string containing spaces
  2. Click save
  3. See whoops

Expected behavior
If the field is empty, a default slug should be used (the placeholder even shows one). If a whitespace slug or invalid slug is entered, a proper error feedback message should be generate.

Please complete the following information:

  • Version and build ID: 23.0.1
@reckart reckart added 🐛Bug Something isn't working Module: Project Settings labels Apr 4, 2022
@reckart reckart added this to the 23.1 milestone Apr 4, 2022
@reckart reckart self-assigned this Apr 4, 2022
reckart added a commit that referenced this issue Apr 4, 2022
- Allow settings a blank slug on a Project entity so the logic in the project details panel to auto-set it can kick in
@reckart reckart closed this as completed Apr 4, 2022
reckart added a commit that referenced this issue Apr 5, 2022
* release/23.x:
  #2943 - Duplicate key error in active learning
  #2949 - Error when trying to lock documents via bulk change
  #2948 - Error when dependency layer has been deleted from project
  #2948 - Error when dependency layer has been deleted from project
  #2943 - Duplicate key error in active learning
  #2944 - Clearing the project slug causes whoops
  No issue. Fix warning about checkbox without markup id.
  #2946 - PDF editor resources missing from release
  #2946 - PDF editor resources missing from release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

1 participant