Uploaded image for project: 'Cover Crop'
  1. Cover Crop
  2. CCROP-223

Dashboard should fail gracefully when data is not available

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 0.4, 0.5
    • Fix Version/s: 0.4
    • Component/s: None
    • Labels:
      None

      Description

      When data is not available for the run, the dashboard gives a blank page with the below error in the console:
      Uncaught (in promise) TypeError: Cannot read property 'data' of undefined

      This usually happens when the run does not have any C:N or Biomass data. Some of my runs hit this case. I think it is seen when we run the model for random/unacceptable dates, say planting in march and harvest in september or something

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              vnarah2 Vara Veera Gowtham Naraharisetty
              Reporter:
              vnarah2 Vara Veera Gowtham Naraharisetty
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Time Spent - 1 hour Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - 1 hour Remaining Estimate - 1 hour
                  1h

                    Tasks

                    Progress: 
                     0/0