Can't claim Pluto to Eris Junction DragonKeyRewardBundle #2332

Closed
opened 2025-06-27 07:24:48 -07:00 by klownk · 0 comments

When trying to get reward for Orokin vault, I have parsing error:
2025-06-27T12:13:39:049 [0.1.0] debug: handling acquision of /Lotus/Types/Restoratives/Upgraded/DragonKeyRewardBundle 2025-06-27T12:13:39:049 [0.1.0] error: Error: keyword StoreItems/ not found in string /Lotus/Types/Restoratives/Upgraded/DragonKeyRewardBundle while processing /api/claimJunctionChallengeReward.php request at getSubstringFromKeyword (M:\WarframePrivateServer\SpaceNinjaServer\src\helpers\stringHelpers.ts:11:15) at getStoreItemCategory (M:\WarframePrivateServer\SpaceNinjaServer\src\services\purchaseService.ts:40:52) at handleStoreItemAcquisition (M:\WarframePrivateServer\SpaceNinjaServer\src\services\purchaseService.ts:372:51) at claimJunctionChallengeRewardController (M:\WarframePrivateServer\SpaceNinjaServer\src\controllers\api\claimJunctionChallengeRewardController.ts:24:46) at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

Apparently, this function assume that storeItem always contains "StoreItems/" string and it's not always the case:
export const getStoreItemCategory = (storeItem: string): string => { const storeItemString = getSubstringFromKeyword(storeItem, "StoreItems/"); const storeItemElements = storeItemString.split("/"); return storeItemElements[1]; };

When trying to get reward for Orokin vault, I have parsing error: `2025-06-27T12:13:39:049 [0.1.0] debug: handling acquision of /Lotus/Types/Restoratives/Upgraded/DragonKeyRewardBundle 2025-06-27T12:13:39:049 [0.1.0] error: Error: keyword StoreItems/ not found in string /Lotus/Types/Restoratives/Upgraded/DragonKeyRewardBundle while processing /api/claimJunctionChallengeReward.php request at getSubstringFromKeyword (M:\WarframePrivateServer\SpaceNinjaServer\src\helpers\stringHelpers.ts:11:15) at getStoreItemCategory (M:\WarframePrivateServer\SpaceNinjaServer\src\services\purchaseService.ts:40:52) at handleStoreItemAcquisition (M:\WarframePrivateServer\SpaceNinjaServer\src\services\purchaseService.ts:372:51) at claimJunctionChallengeRewardController (M:\WarframePrivateServer\SpaceNinjaServer\src\controllers\api\claimJunctionChallengeRewardController.ts:24:46) at process.processTicksAndRejections (node:internal/process/task_queues:105:5)` Apparently, this function assume that storeItem always contains "StoreItems/" string and it's not always the case: `export const getStoreItemCategory = (storeItem: string): string => { const storeItemString = getSubstringFromKeyword(storeItem, "StoreItems/"); const storeItemElements = storeItemString.split("/"); return storeItemElements[1]; };`
Sainan added the
bug
label 2025-06-27 08:09:29 -07:00
Sainan added
missing data
and removed
bug
labels 2025-06-27 08:10:32 -07:00
Sainan self-assigned this 2025-06-27 08:11:24 -07:00
Sainan added the
pr'd for
label 2025-06-27 13:34:12 -07:00
Sainan removed their assignment 2025-06-27 13:34:28 -07:00
Sainan referenced this issue from a commit 2025-06-27 15:16:24 -07:00
Sign in to join this conversation.
No description provided.