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

Adding a new exercise with a description longer than 2k fails silently #1552

Open
adrianlzt opened this issue Jan 16, 2024 · 3 comments
Open

Comments

@adrianlzt
Copy link

Steps to Reproduce

  1. Create an exercise with more than 2k chars
    image

  2. Click on Submit exercise

Expected results:
The UI should limit the number of chars.
Also, if that limit is excedeed, the UI should return the error and allow the user to correct and re-submit.

Actual results:
The exercise is not created (actually, the base exercise is created, but not the translation).

Error seen in the request to create the translation:

description: ["Ensure this field has no more than 2000 characters."]
@joaogdfaero
Copy link

joaogdfaero commented Jan 30, 2024

Could I work on this?

@rolandgeider
Copy link
Member

Sure @joaogdfaero go ahead!

@rolandgeider
Copy link
Member

(to make it clear, the upper limit should be 2000 characters)

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

No branches or pull requests

3 participants