NAVADMC / ADSM

A simulation of disease spread in livestock populations. Includes detection and containment simulation.
Other
10 stars 5 forks source link

Related object does not exist #938

Closed missyschoenbaum closed 4 years ago

missyschoenbaum commented 5 years ago

I'm not sure if this is a problem or not. I'm testing on #455, and not having a known problem. However, the cmd is showing this: RelatedObjectDoesNotExist

BryanHurst commented 5 years ago

Just looking at the error and not looking at the code, I would guess it is probably making undesired results in the map image. It should be looked into. Probably just need an if statement to make sure there are unitstats or not.

ConradSelig commented 5 years ago

I'm not sure exactly how you got this, unitstats are created for each Unit when you run a simulation - it's actually one of the first things done. I've made a small fix that I believe might prevent this error from happening, let me know if you get it (or something else at the same point in your testing) again.

ConradSelig commented 5 years ago

I'm going to put this ticket back in the back-log as we are waiting to see if this error ever comes up again and we are not actively working on it or testing it. If enough time goes by and this ticket has no more activity the bug should be considered patched and the ticket closed.

missyschoenbaum commented 4 years ago

This is the same issue as #826. I have written known bug. I am unable to recreate, so that's the best we can do. Solution is to delete result and run again.