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

can not save notes with control characters #80

Closed
jimbobcraig opened this issue Jul 11, 2021 · 1 comment
Closed

can not save notes with control characters #80

jimbobcraig opened this issue Jul 11, 2021 · 1 comment
Labels
api bug v0.4.x Issues planned in versions 0.4.x

Comments

@jimbobcraig
Copy link

Hello,

I'm not sure if I've pinned down the bug exactly, but I get an error if i put too much text into the Notes box before submitting a new workout/ride. Reducing the number of characters adds the workout without error.

Perhaps (my guess) is that the database field is limited (255?)

Solution: Increase the number of characters in stored notes (I find these handy) Alternativeley limit the data input to the permissable no of characters (ideally with a counter shown (as per sms))

@SamR1
Copy link
Owner

SamR1 commented Jul 11, 2021

Hi,

Thanks for the bug report.

The database field notes is limited to 500 characters as the input in the form (indeed this limitation is not displayed, I will add it).

Is the content copied and pasted? the error may be related to an invalid character.
(anyway I have to improve security related to inputs).

@SamR1 SamR1 added api bug client v0.4.x Issues planned in versions 0.4.x labels Jul 11, 2021
@SamR1 SamR1 changed the title Notes box on "Add workout" too big for database field? can not save notes with control characters Jul 14, 2021
@SamR1 SamR1 removed the client label Jul 14, 2021
@SamR1 SamR1 closed this as completed in 66b9c77 Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api bug v0.4.x Issues planned in versions 0.4.x
Projects
None yet
Development

No branches or pull requests

2 participants