{"record":{"id":"871a158918ea1e61","repo":"Leantime/leantime","slug":"group-not-found-for-key","errorCode":null,"errorMessage":"Group not found for key:","messagePattern":"Group not found for key:","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"app/Domain/Widgets/Templates/partials/myToDosLoadMore.blade.php","lineNumber":88,"sourceCode":"\n            // Find existing group's sortable container\n            const existingGroup = document.querySelector(`[id*=\"ticketBox1-${groupKey}-\"] .sortable-list`);\n\n            if (existingGroup) {\n                // Append task to existing group\n                existingGroup.insertAdjacentHTML('beforeend', taskContent);\n\n                // Update counter\n                const counter = document.querySelector(`#task-count-${groupKey}`);\n                if (counter) {\n                    const currentText = counter.textContent;\n                    const currentCount = parseInt(currentText.match(/\\d+/)[0]) || 0;\n                    counter.textContent = `(${currentCount + 1})`;\n                }\n            } else {\n                // Group doesn't exist yet - this shouldn't happen with global pagination,\n                // but if it does, we could create a new group here\n                console.warn('Group not found for key:', groupKey);\n            }\n        });\n\n        if (additionalTasks.length > 0) {\n            // Re-initialize nested sortable for new content\n            jQuery('.sortable-list').nestedSortable();\n\n            // Re-initialize interactive elements\n            leantime.ticketsController.initMilestoneDropdown();\n            leantime.ticketsController.initStatusDropdown();\n            leantime.ticketsController.initDueDateTimePickers();\n\n            // Re-initialize add task buttons\n            initAddTaskBtns();\n        }\n    });\n</script>\n","sourceCodeStart":70,"sourceCodeEnd":106,"githubUrl":"https://github.com/Leantime/leantime/blob/9a9f49f1008f4782b30f6723c54228f4f992e636/app/Domain/Widgets/Templates/partials/myToDosLoadMore.blade.php#L70-L106","documentation":"Error \"Group not found for key:\" thrown in Leantime/leantime.","triggerScenarios":"Thrown at app/Domain/Widgets/Templates/partials/myToDosLoadMore.blade.php:88 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"9a9f49f1008f4782b30f6723c54228f4f992e636","analyzedAt":"2026-08-21T02:37:38.966Z","schemaVersion":2},"datasetVersion":"2026-08-21T03:17:12.404Z"}