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

MAX_NAME_LENGTH is too short #742

Closed
wrpscott opened this issue Aug 14, 2018 · 1 comment
Closed

MAX_NAME_LENGTH is too short #742

wrpscott opened this issue Aug 14, 2018 · 1 comment

Comments

@wrpscott
Copy link
Contributor

An API call by the Micall watcher, micall.monitor.kive_watcher.find_kive_dataset(), to Kive failed with:
and error:
[WARNING]kiveapi._validate_response(): Error response 400 for https://kive-int.cfenet.ubc.ca/api/runs/: {"name":["Ensure this field has no more than 60 characters."]}

librarian.models.Dataset.name is a CharField of length constants.maxlengths.MAX_FILENAME_LENGTH
currently set to 60.
Given legitimate need for longer file names, we should increase this size.

@donkirkby
Copy link
Member

This is a duplicate of cfe-lab/MiCall#451. The problem is the run name, not the dataset name.

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

No branches or pull requests

2 participants