Uploaded image for project: 'Clowder'
  1. Clowder
  2. CATS-645

Don't store extractor_id="Other" for previews that don't have extractor_id defined

XMLWordPrintableJSON

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • API

      The code stores Some("Other") for each preview created without specifying the extractor_id. This takes up unnecessary space and creates confusion. The field models.Preview.extractor_id is already an Option[String], so we can just switch to None.

      https://opensource.ncsa.illinois.edu/bitbucket/projects/CATS/repos/clowder/browse/app/api/Files.scala#544

              Unassigned Unassigned
              lmarini Luigi Marini
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: