Skip to content

Fix empty Links/Issues/Visualization after loading saved crawl#49

Open
liquidpurple wants to merge 1 commit intoPhialsBasement:mainfrom
liquidpurple:fix/load-session-missing-managers
Open

Fix empty Links/Issues/Visualization after loading saved crawl#49
liquidpurple wants to merge 1 commit intoPhialsBasement:mainfrom
liquidpurple:fix/load-session-missing-managers

Conversation

@liquidpurple
Copy link
Copy Markdown

link_manager and issue_detector are None on fresh Crawler instances — they're only initialized during start_crawl(). When load_crawl_into_session() runs, the existing if crawler.link_manager: guards silently skip data injection, so loading any saved crawl shows URLs but no links, issues, or visualization edges.

This fix initializes LinkManager and IssueDetector before injecting data if they don't already exist, and populates the discovered/visited URL sets so stats display correctly.

link_manager and issue_detector are None on fresh Crawler instances — they're only initialized during start_crawl(). When load_crawl_into_session() runs, the existing `if crawler.link_manager:` guards silently skip data injection, so loading any saved crawl shows URLs but no links, issues, or visualization edges.

This fix initializes LinkManager and IssueDetector before injecting data if they don't already exist, and populates the discovered/visited URL sets so stats display correctly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant