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

Trim string entered in the course 'Name' field while cloning complete course structure #1029

Open
1 of 4 tasks
dujes opened this issue Nov 22, 2022 · 0 comments
Open
1 of 4 tasks
Labels
🚨 bug Something isn't working

Comments

@dujes
Copy link

dujes commented Nov 22, 2022

I'm submitting a...

  • Bug report
  • Regression (a behavior that used to work and stopped working in a new release)
  • Feature request
  • Documentation issue or request

Context

Issue is only reproducible while cloning course structure.
Issue is not reproducible when adding new course, or while renaming the existing course.

Precondition

At least one course should be created.

Steps to Reproduce

  1. Open the settings of a previously created course
  2. Expand Actions
  3. Click on the 'Clone" action --> 'Clone' modal will appear on the screen
  4. Enter {one char} (for example, one letter) + {space} in the 'Name' field (space can be added at the beginning or end)
  5. Observe

Expected Behavior

'The name field must be at least 2 characters' validation message should not disappear after entering one char + space in the 'Name' field.

Current Behavior

It's possible to clone course when {one char} + {space} is entered in the 'Name' field.

Screenshot 2022-11-24 at 10 34 34

Screenshot 2022-11-24 at 10 36 03

Screenshots

https://www.loom.com/share/99e3fc438d5d48359bb3d9f720942528

@dujes dujes changed the title Trim string entered in the course name field while cloning complete course structure Trim string entered in the course 'Name' field while cloning complete course structure Nov 24, 2022
@dujes dujes added the 🚨 bug Something isn't working label Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚨 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant