GSA / enterprise-data-inventory

The Enterprise Data Inventory is a CKAN based data management system for private and public data management
7 stars 5 forks source link

Two fields will not allow edits. #163

Open MikePulsiferDOL opened 9 years ago

MikePulsiferDOL commented 9 years ago

While editing a dataset, some legacy bad data was left behind when I clicked the update dataset button. I got error messages as I should have. I removed the bad data in two of the fields, but two others (Landing Page and Primary IT Investment UII) would not let me fix the errors.

kvuppala commented 9 years ago

@MikePulsiferDOL can you provide the dataset URL you are having issue with.

MikePulsiferDOL commented 9 years ago

https://inventory.data.gov/dataset/labor-certificates-processing-data

I'm trying to break apart the multiple items (datasets, really) that were improperly clumped together.

kvuppala commented 9 years ago

Landing page needs to be a one single URL, looks like this dataset has multiple with comma separated values, according to v1.1 schema https://project-open-data.cio.gov/v1.1/schema/#landingPage it has to be only one URL.

Primary IT Investment UII needs to be in a XXX-XXXXXXXXX format according to schema - https://project-open-data.cio.gov/v1.1/schema/#primaryITInvestmentUII or https://github.com/project-open-data/project-open-data.github.io/blob/master/v1.1/schema/dataset.json#L245-L254 , if no value you can leave it empty as its not mandatory.

Also noticed Data dictionary is giving an error while update, per the V 1.1 schema it needs to be URL or can be left empty.

After the above two corrections it should work fine.

MikePulsiferDOL commented 9 years ago

I know. I'm trying to fix that, but the app won't let me. For example, in Landing Page, I delete all but one of the URLs. I leave the field and go back and boom! ALL the URLs are back.

kvuppala commented 9 years ago

Did you try to update the dataset with the above three values fixed together? currently there is one limitation on the application where the if any UI error happens on the update page it prefills with the previously existing values in the field.

MikePulsiferDOL commented 9 years ago

Yep, I tried that. I'm starting to think that I need to delete it and recreate it.

MikePulsiferDOL commented 9 years ago

When I'm trying to create a new dataset, it's putting that list of URLs in the landing page field. I'm trying to give it JUST ONE and it won't let me without switching to a different browser and new user session.

kvuppala commented 9 years ago

@MikePulsiferDOL It is strange that we could not reproduce it, could you please confirm if you are able to successfully edit after switching the browser/user session ?