NHMDenmark / Mass-Digitizer

Common repo for the DaSSCo team
Apache License 2.0
1 stars 0 forks source link

Forward button when starting up app causes issue #387

Closed PipBrewer closed 11 months ago

PipBrewer commented 11 months ago

Issue

When start app up and before adding anything, if press forward, throws up an error message.

image

If get rid of the message, the app then crashes.

Explain the need, relevance.

Having such needless crashes interrupts a workflow and could be demotivating for the staff.

How to approach a solution

A similar thing occurred on going back to the first record AND then one step further back. It was an easy fix by having the function in model.py loadPrevious() return the empty record.

FedorSteeman commented 11 months ago

Got the same error, but fixed it during refactoring.