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

Description field allows more characters entered than is stored #3743

Closed
netniV opened this issue Aug 8, 2020 · 1 comment
Closed

Description field allows more characters entered than is stored #3743

netniV opened this issue Aug 8, 2020 · 1 comment
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@netniV
Copy link
Member

netniV commented Aug 8, 2020

Describe the bug

If you modify a device, such as Localhost, and give it a seriously long description by repeated pasting ' extremely' to fill the maximum length, then change the last two to be ' long description', the long description part will not be saved.

Expected behavior

All the description should be saved by ensuring that length of database meets length of field

@netniV netniV added bug Undesired behaviour unverified Some days we don't have a clue labels Aug 8, 2020
@TheWitness TheWitness added this to the 1.2.15 milestone Aug 26, 2020
@TheWitness
Copy link
Member

This problem is actually larger than you may think. We should have a project in the 1.3.x timeline that audit's the forms for the column descriptions, or we should deprecate "max_length" and just set it to the database column size. Easier said than done I imagine.

@TheWitness TheWitness removed the unverified Some days we don't have a clue label Aug 26, 2020
TheWitness added a commit that referenced this issue Aug 26, 2020
Description field allows more characters entered than is stored
@TheWitness TheWitness added the resolved A fixed issue label Aug 26, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Nov 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

2 participants