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

Occupancy descriptions are limited to 32 characters #1138

Open
BrittCorley opened this issue Aug 28, 2024 · 4 comments
Open

Occupancy descriptions are limited to 32 characters #1138

BrittCorley opened this issue Aug 28, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@BrittCorley
Copy link
Collaborator

The name fields in 1.4.3 allowed 32 characters and the description fields in 1.4.3 allowed 64. Currently, 2.0 is failing to import occupancies when the file has a description more than 32 characters. Sometimes nothing imports and sometimes it's a partial import. The import screen stays blank instead of showing what was brought in.

If we aren't able to change the importer to allow for 64 characters, can we please make the whole import fail and throw an error letting the user know what the issue is?

Attaching URS curves. both are exactly the same but with different max characters in the description.
length maybe max 37.txt
length maybe max 32.txt

@BrittCorley BrittCorley added the bug Something isn't working label Aug 28, 2024
@rnugent3
Copy link
Contributor

@Brennan1994 this is a problem with the importer project.

Of course we can have very many characters in the description. It is just that Bob's code is choking on the description length.

@rnugent3
Copy link
Contributor

Example of long description successfully saved to the HEC-FDA Version 2.0 study database:
image

@rnugent3
Copy link
Contributor

@BrittCorley can you please confirm that the files you provided import and export into and out of 1.4.3 successfully?

@BrittCorley
Copy link
Collaborator Author

yep they work
image
image

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

3 participants