FAI-CIVL / FAI-Airscore

AirScore - online paragliding / hanggliding GAP-based scoring software.
https://airscore.cc/
GNU General Public License v3.0
13 stars 17 forks source link

imported fsdb & then scored - no results #173

Closed kuaka closed 3 years ago

kuaka commented 3 years ago

If a comp is imported from fsdb, then tracks uploaded and scored no results display. Seems that the link to results is ext_comp_result/ and no results are displayed. page says "calculating results.." and hangs.

biuti commented 3 years ago

My test flow was:

Everything worked as expected apart:

kuaka commented 3 years ago
* Imported Forbes 2018 fsdb file

* activated tasks and comp results

* results displayed in ext_competition page

what do you mean by "activated tasks and comp results" ? I only see the convert option.

biuti commented 3 years ago

All task and comp results are imported as non active. To be displayed they need to be activated. I guess we could add a "Import and Activate" checkbox in import fsdb modal.

image

kuaka commented 3 years ago

Do you mean published?

biuti commented 3 years ago

yes published. They are active or not in database.

kuaka commented 3 years ago

this issue can be closed as it is fixed. However, if the below proceedure were to be done from a fresh install of airscore (i.e. no data folder) I believe it would cause an error. See #123

My test flow was:

* Imported Forbes 2018 fsdb file

* activated tasks and comp results

* results displayed in ext_competition page

* converted comp to airscore

* imported tracks and scored task 1

* activated task results and comp results

* results are displayed in competition page

Everything worked as expected apart:

* have to change task result page for ext comp as task_result has links to map that obviously fails