From f3424c66b1c469ac347712ad25ab3a982f6c3e2e Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sat, 17 Nov 2018 07:52:50 +0100 Subject: [PATCH 1/3] VS project changes --- Project.njsproj | 68 ++----------------------------------------------- 1 file changed, 2 insertions(+), 66 deletions(-) diff --git a/Project.njsproj b/Project.njsproj index 55cc2656d..df482b062 100644 --- a/Project.njsproj +++ b/Project.njsproj @@ -13,7 +13,8 @@ 3ef11619-de26-4b8b-819d-a413df220b76 - server.js + + . @@ -30,17 +31,7 @@ true - - Code - - - Code - - - Code - - Code @@ -58,16 +49,9 @@ - - Code - - - - - Code @@ -77,18 +61,6 @@ Code - - Code - - - Code - - - Code - - - Code - Code @@ -114,9 +86,6 @@ Code - - Code - Code @@ -153,31 +122,12 @@ Code - - - Code - - - Code - - - Code - - - Code - Code - - Code - Code - - Code - Code @@ -200,10 +150,6 @@ Code - - Code - - @@ -223,26 +169,16 @@ - - - - - - - - - - From 329bc175823ea4e0507aad7387ae6561ede87c4f Mon Sep 17 00:00:00 2001 From: "mati108@gmail.com" <34651529+matbenitez@users.noreply.github.com> Date: Fri, 23 Nov 2018 09:09:07 -0300 Subject: [PATCH 2/3] This error will occur for new users as they first login. --- TopSpace/Login.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TopSpace/Login.js b/TopSpace/Login.js index 5fe5bae86..a94fd7871 100644 --- a/TopSpace/Login.js +++ b/TopSpace/Login.js @@ -203,7 +203,7 @@ function newLogin() { if (err.result !== GLOBAL.DEFAULT_OK_RESPONSE.result) { - console.log("Authentication Error. " + err.message); + console.log("Please make sure you create a new team!"); return; } From 8503076bf1721cf7f0edd5db0f0882924652387a Mon Sep 17 00:00:00 2001 From: "mati108@gmail.com" <34651529+matbenitez@users.noreply.github.com> Date: Fri, 23 Nov 2018 09:09:40 -0300 Subject: [PATCH 3/3] Fixing issue for cero competitions running. --- CompetitionStorage.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CompetitionStorage.js b/CompetitionStorage.js index 637efde9b..007d07253 100644 --- a/CompetitionStorage.js +++ b/CompetitionStorage.js @@ -145,6 +145,10 @@ function newCompetitionStorage(pName) { thisObject.competitorsSequences.push(fileSequences); + if (pCompetition.participants.length === 0) { //If there are no competitions, respond OK + callBackFunction(GLOBAL.DEFAULT_OK_RESPONSE); + } + } catch (err) { if (ERROR_LOG === true) { logger.write("[ERROR] initialize -> err = " + err); }