[MGNLSTK-623] Review all places where links are generated in STK Created: 14/May/10 Updated: 23/Jan/13 Resolved: 07/Jun/10 |
|
| Status: | Closed |
| Project: | Magnolia Standard Templating Kit (closed) |
| Component/s: | base system, paragraphs |
| Affects Version/s: | 1.3 |
| Fix Version/s: | 1.3.1 |
| Type: | Task | Priority: | Major |
| Reporter: | Jan Haderka | Assignee: | Philipp Bärfuss |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Template: |
|
||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||
| Task DoR: |
Empty
|
||||||||||||
| Date of First Response: | |||||||||||||
| Description |
|
Quite few models in STK generate links to content directly instead of using LinkUtil/LinkManager. This is then cause of issues when URLs are altered by system (e.g. when using multisite support). |
| Comments |
| Comment by Jan Haderka [ 03/Jun/10 ] |
|
Reviewed all templates and associated models. Reviewed items listed below. stk.getAssetLink() => mgnl.createLink() || imaging.createLink() flash.model.link => stk.getAssetLink calendar.item.link => model.eventLink || model.dateEventLink eventOverview.model.prevLink => eventOverview.model.link.href searchResult.item.link => mgnl.createLink() image.link=>STK.getAsset().getLink() downloadLink.model.link => mgnl.createLink() externalLink.model.link => STKUtil.getExternalLink() internalLink.model.link => mgnl.createLink() pagination.pager.getPageLink() => parses current page link stageXL.model.teaserLink => AbstractTeaserModel.teaserLink carouselItem.teaserLink => AbstractTeaserModel.teaserLink downloadFile.model.teaserLink => AbstractTeaserModel.teaserLink Items in read are either questionable or wrong. |
| Comment by Philipp Bärfuss [ 07/Jun/10 ] |
|
We went through the use cases marked as read. New tickets will have to be added if we find more issues. |