[solved] Agile_Hybrid template partially ignoring contextPath (e.g. http://${host}/mingle/*) #699
|
|
Using the agile-hybrid templates in Mingle 2.0.1, the links at the top of the screen ‘+Defect +Story +Task’ are fixed rather than relative, linking to: Other links do use the contextPath variable and correctly link to /mingle/* |
|
|
Hi Cameron These special headers are actually user controlled content i.e. the links are specified by the user at the project level and not dynamically created by Mingle. In the Agile Hybrid template these links are specified as: href="/projects/{{ project }}/cards/new?properties[Type]=Defect" which is a direct href to the root and so we would not expect them to work in the alternative context scenario you describe. You should be able fix this by appending /mingle to the links specified on the Special:HeaderActions wiki page.
I hope that helps. Thanks Suzie |
|
|
Thanks Suzie, that helps heaps! |
|
|
If you change the contextPath setting, for example when placing Apache in front of Mingle, make sure you invalidate the Page and Card Content Cache (in Advanced Project Admin) for each project. Wiki pages tend to get cached and you will likely find broken links unless you do this. |
