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

Dashboard should fail gracefully when data is not available

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 0.4
    • 0.4, 0.5
    • None
    • None

      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

              vnarah2 Gowtham Naraharisetty
              vnarah2 Gowtham Naraharisetty
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  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