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

When using SMW query with format=gantt, a colon in the "task" value for a page in the results will prevent the chart from being generated #65

Open
darenwelsh opened this issue Mar 30, 2021 · 4 comments
Labels

Comments

@darenwelsh
Copy link
Member

Setup and configuration

  • Mermaid version: 2.1.1
  • MediaWiki version: 1.31.12 (ef13e11)
  • PHP version: 7.2.34 (apache2handler)
  • Database system (MySQL, PostgresQL, etc.) and version: 5.5.68-MariaDB

Issue

I noticed today that a Gantt chart was not rendering. It had worked for months. I finally isolated the culprit to a wiki page that had a colon ":" as part of the value for the SMW property "Title" (not PAGENAME, just a property value). This page did not have the colon character for a long time and then just recently someone decided to change it that way. When I changed this value to not include the colon character, everything worked fine again.

@kghbln kghbln added the bug label Mar 30, 2021
@kghbln
Copy link
Member

kghbln commented Mar 30, 2021

Thanks for reporting. @gesinn-it FYI: I believe you are intensely using this format.

@gesinn-it-gea
Copy link
Member

@kghbln no, we are mainly using Mermaid as part of SRF/Gantt https://github.com/SemanticMediaWiki/SemanticResultFormats/tree/master/formats/Gantt. @darenwelsh can you try to find out, if SRF/Gantt is also affected by this issue?

@darenwelsh
Copy link
Member Author

I don't understand how these are different. This seems exactly like what I'm doing. https://www.semantic-mediawiki.org/wiki/Help:Gantt_format

@gesinn-it-gea
Copy link
Member

mermaid-js/mermaid#742

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants