-
Notifications
You must be signed in to change notification settings - Fork 476
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
WorldMap: Dataset citations longer than 255 chars cause an error #3432
Comments
primary code changeFile to change: https://github.com/IQSS/shared-dataverse-information/blob/master/shared_dataverse_information/dataverse_info/models.py
steps after change is made and checked in:shared dataverse information
Geoconnect
WorldMap
Note 1: WorldMap should be updated before geoconnect on dev/prod Note 2: Checked the 3 codebases* that dataset_citation size doesn't appear on any validation forms, etc. e.g., the model size (currently 255) is used for any validation. * (shared_dataverse_information, geoconnect, worldmap) |
We discussed this issue at standup this morning and I floated the idea of doing the "partial fix" described above of truncating the citation on the WorldMap side. It sounds like we don't want this so it would be a waste of effort. I guess I'll leave this issue assigned to me for now because I'd like to see if I can add a failing test. Speaking of tests, I also added tests as part of #3489 but they are not automatically executed so they could start failing at any time. Since we're already using https://travis-ci.org/IQSS for Dataverse and Zelig, we should probably attempt to figure out how to add a Django app to Travis and run the tests automatically. I did a quick search for this but it seems somewhat involved: https://docs.travis-ci.com/user/languages/python/ |
I'm blocked on this issue because I can't get WorldMap installed so I'm unassigning myself. The error I'm seeing is at the |
…eanField() - Changed field in DataverseInfo: dataset_citation was CharField, now TextField IQSS/dataverse#3432
|
Code updated on 2/4 repositories. and 2/4 servers |
Last commit is a 1-liner for the dataverse codebase |
pull requested add to worldmap codebase: cga-harvard/geonode#228 |
Testing
|
Status:
|
It looks like IQSS/geoconnect#129 was already merged. cga-harvard/geonode#228 hasn't but looks fine. #3772 is small and looks good. I'm moving this to QA at https://waffle.io/IQSS/dataverse |
@kcondon will you let know when WorldMap code has been deployed for testing |
How to test (from comment above):
|
#3432 : WorldMap: Dataset citations longer than 255 chars cause an error
Problem
First impression
The text was updated successfully, but these errors were encountered: