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

document upload fails on very long filenames #2285

Closed
senoadiw opened this issue Sep 28, 2015 · 2 comments
Closed

document upload fails on very long filenames #2285

senoadiw opened this issue Sep 28, 2015 · 2 comments
Labels
feature A new feature to be added to the codebase
Milestone

Comments

@senoadiw
Copy link
Contributor

Hi all,

I tried uploading a document file with a very long name and got the following error log:

DataError: value too long for type character varying(100)

I think doc_file field should have max_length set to 255 like the file field in LayerFile => https://github.com/GeoNode/geonode/blob/master/geonode/layers/models.py#L268

Regards,

SN

@pjdufour pjdufour added bug feature A new feature to be added to the codebase and removed bug labels Sep 29, 2015
@capooti
Copy link
Member

capooti commented Sep 29, 2015

I agree with you and I think there is another issue with this, but cannot find it.
I think this case of schema change is allowed, should we change this before releasing 2.4?

@jj0hns0n
Copy link
Member

@capooti is this implemented? Moving to 2.7 in any case.

@jj0hns0n jj0hns0n modified the milestones: 2.7, 2.5 Aug 21, 2016
@afabiani afabiani removed the documents label Sep 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature to be added to the codebase
Projects
None yet
Development

No branches or pull requests

5 participants