SemanticMediaWiki / Mermaid

Provides a parser function to generate diagrams and flowcharts with the help of the mermaid script language
https://www.mediawiki.org/wiki/Extension:Mermaid
Other
36 stars 22 forks source link

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 3 years ago

darenwelsh commented 3 years ago

Setup and configuration

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 commented 3 years ago

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

gesinn-it-gea commented 3 years ago

@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 commented 3 years ago

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 commented 3 years ago

https://github.com/mermaid-js/mermaid/issues/742