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

Green index previewer needs better way to check if metadata is present

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Previewers

      It currently prints out the error:

      "Uncaught TypeError: Cannot read property 'Data' of undefined"

      For datasets that don't have that metadata on line 4:

      var count = Object.keys(data["Route and Green Index Extractor"]["Data"]["Routes"]).length;

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

                Created:
                Updated: