Skip to content

Commit 2e07c33

Browse files
authored
Merge pull request #1259 from WildMeOrg/1258-import-task-status
Set status to complete even if processing-detection, which is a new s…
2 parents 5d95141 + dfba8f9 commit 2e07c33

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/webapp/imports.jsp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,11 @@ try{
231231
else{iaStatusString="identification";}
232232
}
233233
String status=task.getStatus();
234+
//update for Wildbook 10.8+
235+
//legacy bulk imports stopped at "complete" for an import task status
236+
//10.8 added a subsequent "processing-detection" state, but for this page's
237+
//purposes, we want to just list that additional state as the legacy complete value
238+
if(status!=null && status.equals("processing-detection")) status="complete";
234239
235240
//let's build this Task's JSON
236241
JSONObject jobj = new JSONObject();

0 commit comments

Comments
 (0)