Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes issue 58 - redirects cause the visualization to break #73

Conversation

thomas-topway-it
Copy link
Contributor

fixes #58
see also #69

the problem seems caused by an inconsistency between connections.pages and pageInfoResponse.query.pages (the map displayTitles is filled with items from pageInfoResponse.query.pages but the latter does not contain the redirects (they are in a separated result key) so this line
page.displayTitle = displayTitles[page.title];

triggers an error.
A isRedirect attribute is therefore added to ApiConnectionsBuilder -> _buildPageMap and used for the tooltip as well ( NetworkData -> addPages )

@JeroenDeDauw JeroenDeDauw merged commit 4a833cb into ProfessionalWiki:master Dec 9, 2023
6 of 7 checks passed
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.

Redirects cause the visualization to break
2 participants