From ddb65ec5d4d364af0d68f2a2d96d23cd8163ac5a Mon Sep 17 00:00:00 2001 From: Sergei Mikhailov Date: Wed, 1 Feb 2023 13:22:31 +0100 Subject: [PATCH 1/2] fix: allow skipping extra-time and severity on ACS calls --- src/Action/Tool/Ajax/AcsServiceClientAction.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Action/Tool/Ajax/AcsServiceClientAction.php b/src/Action/Tool/Ajax/AcsServiceClientAction.php index 13f8efc..bf59311 100644 --- a/src/Action/Tool/Ajax/AcsServiceClientAction.php +++ b/src/Action/Tool/Ajax/AcsServiceClientAction.php @@ -63,10 +63,10 @@ public function __invoke(Request $request): Response $request->get('acsSub'), $request->get('acsAction'), $date, - (int)$request->get('acsAttemptNumber'), + (int)$request->get('acsAttemptNumber') ?: 1, $request->get('acsIss'), - (int)$request->get('acsExtraTime'), - (float)$request->get('acsSeverity'), + $request->get('acsExtraTime') === '' ? null : (int)$request->get('acsExtraTime'), + $request->get('acsSeverity') === '' ? null : (float)$request->get('acsSeverity'), $request->get('acsReasonCode'), $request->get('acsReasonMessage') ); From b9e9a669657193b3f8b7bbe1ab6db9971cdbebbd Mon Sep 17 00:00:00 2001 From: Sergei Mikhailov Date: Wed, 1 Feb 2023 13:32:01 +0100 Subject: [PATCH 2/2] chore: bump a fix version --- config/services.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/services.yaml b/config/services.yaml index a9ab742..bd4d227 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -8,7 +8,7 @@ parameters: application_env: '%env(resolve:APP_ENV)%' application_api_key: '%env(resolve:APP_API_KEY)%' application_vendors: '%kernel.project_dir%/vendor/composer/installed.php' - application_version: '2.5.1' + application_version: '2.5.2' container.dumper.inline_factories: true cache.redis.namespace: '%env(default:cache.redis.namespace.default:REDIS_CACHE_NAMESPACE)%' cache.redis.namespace.default: 'devkit'