docker-library / docker-library/redmine
Cannot export png of GANTT with an issue containing in single quote
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 237
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Description
Hi
I think this problem may be related to issue #132
If I try to export as a png a Gantt containing an issue with a single quote, I get the following http 500 error:
Internal error
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.
If you are the Redmine administrator, check your log files for details about the error.
While looking at the logs, I can see the following error :
convert-im6.q16: non-conforming drawing primitive definition '' @ error/draw.c/RenderMVGContent/4301.
If I remove the single quote from the issue, I can export the gantt as a PNG.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Gantt PNG export with an issue containing a single quote, then inspect the administrator logs for the reported ImageMagick error. Trace the Gantt PNG export entry point and compare it with an issue name without an apostrophe; done means the export completes successfully in both cases.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100