Uploaded image for project: 'DataWolf'
  1. DataWolf
  2. WOLF-203

Provenance endpoint should handle unexpected metadata.jsonld

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 4.0
    • Component/s: Core
    • Labels:

      Description

      When using the following example with bdfiddle, there is an error parsing the metadata.jsonld:

      http://browndog.ncsa.illinois.edu/examples/IMG_0997.jpg

      There is metadata that is not part of the extraction that is about the user doing the extraction that breaks the parser. If no extractor_id is found, just ignore the metadata. Additionally, the extractor_id string split expects all extractor id's to us a URI like "https://clowder.ncsa.illinois.edu/clowder/api/extractors/ncsa.cv.eyes" however, this is not true for some (e.g. ncsa.cv.caltech101), the extractor_id is simply "ncsa.cv.caltech101" so the datawolf tool finds no metadata.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              cnavarro Christopher Navarro
              Reporter:
              cnavarro Christopher Navarro
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 hours
                  3h
                  Remaining:
                  Remaining Estimate - 3 hours
                  3h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified

                    Tasks

                    Progress: 
                     0/0