Version19.260.3

This commit is contained in:
acanas 2020-08-29 19:24:23 +02:00
parent cfde9b3ae9
commit 50a420b047
2 changed files with 7 additions and 6 deletions

View File

@ -5337,11 +5337,8 @@ int swad__answerMatchQuestion (struct soap *soap,
Match.MchCod = (long) matchCode;
/***** Set default output *****/
/*
> 0 if the answer was saved
= 0 if the answer was not saved because the match is in pause or in another question
< 0 on error
*/
/* <= 0 on error
> 0 on sucess */
answerMatchQuestionOut->matchCode = -1;
/***** Check web service key *****/
@ -5396,6 +5393,9 @@ int swad__answerMatchQuestion (struct soap *soap,
Mch_StoreQuestionAnswer (&Match,QstInd,&UsrAnswer);
}
/***** Set success output *****/
answerMatchQuestionOut->matchCode = Match.MchCod;
return SOAP_OK;
}

View File

@ -555,7 +555,7 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 19.260.2 (2020-08-28)"
#define Log_PLATFORM_VERSION "SWAD 19.260.3 (2020-08-30)"
#define CSS_FILE "swad19.253.css"
#define JS_FILE "swad19.254.js"
/*
@ -573,6 +573,7 @@ TODO: Que al generar un examen s
TODO: Create module swad_test_result
"sudo apt install webp" en Ubuntu, y "yum install libwebp libwebp-tools" en CentOS, para decodificar imágenes Web/ug reportado por Javier Fernández Baldomero.
Version 19.260.3: Aug 30, 2020 Fixed bug in API function answerMatchQuestion. Reported by Sergio Díaz Rueda. (304010 lines)
Version 19.260.2: Aug 28, 2020 Fixed bugs in API functions related to games and matches. Reported by Sergio Díaz Rueda. (304010 lines)
Version 19.260.1: Aug 26, 2020 Fixed bugs in API functions related to games and matches. Reported by Sergio Díaz Rueda. (304027 lines)
Version 19.260: Aug 23, 2020 New API function getAvailableRoles. (304009 lines)