View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0035227 | mantisbt | markdown | public | 2025-01-11 08:04 | 2025-01-26 10:05 |
| Reporter | raspopov | Assigned To | community | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 2.27.0 | ||||
| Target Version | 2.28.0 | Fixed in Version | 2.28.0 | ||
| Summary | 0035227: MantisBT is not compatible with Parsedown 1.8 | ||||
| Description | It looks like the MantisCoreFormatting plugin should be updated a bit, because when using Parsedown 1.8 the following error is generated: SYSTEM WARNING | ||||
| Steps To Reproduce | Replace MantisBT | ||||
| Additional Information | PR: https://github.com/mantisbt/mantisbt/pull/2068 Another problem with Parsedown 1.8 is probably a bug in Parsedown... After figuring out how to run PHPUnit tests (and fixing them for the new version), I noticed that two PHPUnit tests failed:
Further investigation revealed that Parsedown commit eb55e42 removed the use of the | ||||
| Tags | No tags attached. | ||||
| related to | 0035217 | confirmed | PHP 8.4 deprecation warnings in Parsedown 1.7.4 |
|
Repeating my original comment from 0035217:0069650
For starters I suggest reporting this upstream, and see if they consider it a bug or not. |
|
|
I addressed the issue to Parsedown: https://github.com/erusev/parsedown/issues/898 |
|
|
Great, thank you |
|
|
All tests are going well now. We are now independent of Parsedown versions and patches. |
|
|
MantisBT: master 75113ccc 2025-01-06 09:41 Committer: dregad Details Diff |
Fix Undefined array key warning in Parsedown 1.8+ SYSTEM WARNING 'Undefined array key "name"' in '...plugins\MantisCoreFormatting\core\MantisMarkdown.php' line 152 Fixes 0035227 |
Affected Issues 0035227 |
|
| mod - plugins/MantisCoreFormatting/core/MantisMarkdown.php | Diff File | ||