Geometry parcel recalculating #381
Labels
No Label
backlog
bug
duplicate
enhancement
feature
help wanted
invalid
question
wontfix
bug
duplicate
enhancement
help wanted
in discussion
invalid
priority
1
priority
2
priority
3
priority
4
priority
5
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: IT-Naturschutz/konova#381
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Status quo
In case of errors on linked services, the parcel calculation might fail, leading to a never-ending spinner on the spatial reference box.
There should be some sort of recalculation being triggered somehow.
Improvement
Each time a client requests the parcels of a geometry using the
GeomParcelsView
, certain checks are done to differ between states like in-the-making or no-results. However, since the background process (in celery) can not be watched by the view class directly, we need to extent theGeometry
model in a way, that we can directly see whether the process of calculating is still running.If the process is "still running" but a certain time has passed, we can assume the process died in one or another way. In this case the
GeomParcelsView
shall trigger the calculation again.Merged in #384