MSIN-4574 — Increment version code to 4.73.009 to reflect changes allowing ChronoTrack push without a bib number. Removed redundant checks for empty bib values in the ChronoTrack API synchronization functions to streamline participant classification and entry payload building.
This commit is contained in:
@ -893,9 +893,6 @@ function fxChronotrackApiSyncBuildEntryPayload(array $arrRow, array $arrRaceMap,
|
||||
}
|
||||
|
||||
$strBib = fxChronotrackApiSyncExtractBib($arrRow);
|
||||
if ($strBib === '') {
|
||||
return null;
|
||||
}
|
||||
|
||||
$arrEntry = array(
|
||||
'external_id' => (string)$intExternalId,
|
||||
|
||||
@ -217,15 +217,6 @@ function fxChronotrackApiSyncClassifyParticipants(array $tabParticipants, array
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($strBib === '') {
|
||||
$intBlockedNoBib++;
|
||||
$tabBlocked[] = array(
|
||||
'code' => 'no_bib',
|
||||
'message' => 'Dossard manquant — corriger dans MS1',
|
||||
) + $arrSummary;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!fxChronotrackApiSyncHasValidSex($arrRow['par_sexe'] ?? '')) {
|
||||
$intBlockedNoSex++;
|
||||
$strSexeMs1 = trim((string)($arrRow['par_sexe'] ?? ''));
|
||||
@ -311,14 +302,6 @@ function fxChronotrackApiSyncClassifyParticipants(array $tabParticipants, array
|
||||
) + $arrSummary;
|
||||
continue;
|
||||
}
|
||||
if ($strBib === '') {
|
||||
$intBlockedNoBib++;
|
||||
$tabBlocked[] = array(
|
||||
'code' => 'no_bib',
|
||||
'message' => 'Dossard manquant (équipe) — corriger dans MS1',
|
||||
) + $arrSummary;
|
||||
continue;
|
||||
}
|
||||
if (!fxChronotrackApiSyncHasValidSex($arrRep['par_sexe'] ?? '')) {
|
||||
$intBlockedNoSex++;
|
||||
$strSexeMs1 = trim((string)($arrRep['par_sexe'] ?? ''));
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
* Constantes *
|
||||
*
|
||||
**************/
|
||||
define('_VERSION_CODE', '4.73.008'); // MSIN-4520 — import dossard: match en-tête Bib + valeurs Excel brutes
|
||||
define('_VERSION_CODE', '4.73.009'); // MSIN-4574 — push ChronoTrack autorisé sans dossard
|
||||
define('_DATE_CODE', '2026-08-14');
|
||||
//MSIN-4290
|
||||
define('QR_SECRET_KEY', 'ms1_qr_2026_cle_secrete_longue_et_fixe');
|
||||
|
||||
Reference in New Issue
Block a user