From 6a3be77ec09b0abff4d442bc051a48c1fc6da19a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Thu, 14 May 2026 12:41:32 +0200 Subject: [PATCH] Do not do double retrieval of parts, as this makes options passing difficult --- src/Controller/PartController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Controller/PartController.php b/src/Controller/PartController.php index 735a48f8..c4c0e526 100644 --- a/src/Controller/PartController.php +++ b/src/Controller/PartController.php @@ -328,10 +328,12 @@ final class PartController extends AbstractController //Force info providers to not use cache, when retrieving part details for creating a new part, because otherwise we might end up with outdated information $no_cache = $request->query->getBoolean('no_cache', false); $skip_delegation = $request->query->getBoolean('skip_delegation', false); + $submitted_page_token = $request->query->getString('submitted_page_token'); $dto = $infoRetriever->getDetails($providerKey, $providerId, [ InfoProviderInterface::OPTION_NO_CACHE => $no_cache, InfoProviderInterface::OPTION_SKIP_DELEGATION => $skip_delegation, + InfoProviderInterface::OPTION_SUBMITTED_PAGE_TOKEN => $submitted_page_token, ]); $new_part = $infoRetriever->dtoToPart($dto);