[MGNLIMG-134] STK image variations should be multi-site aware Created: 08/Jul/14 Updated: 19/May/22 Resolved: 19/May/22 |
|
| Status: | Closed |
| Project: | Imaging |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Edgar Vonk | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | multisite, stk | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Date of First Response: |
| Description |
|
As Richard has explained quite well in this forum post the STK imaging support is currently not multi-site aware. This causes issues related to security but in our case because of a complex Apache virtual host set-up for our multi-site Magnolia implementation it causes the image variations not to work at all. The problem is that the image variation URLs do not include the site name as all other resource URLs do. The image variations URLs look like: ${contextPath}/.imaging/${generatorName}/${workspace}/${imagePath}
but we need them to be: ${contextPath}/<sitename>/.imaging/${generatorName}/${workspace}/${imagePath}
Like Fabrice we will solve this issue by writing our own multi-site aware STKImagingSupport class. I think it would be good if the STK imaging support became multi-site aware to solve these issues? For completeness this is Richard's 2 cents about it from the forum:
|
| Comments |
| Comment by Roman Kovařík [ 19/May/22 ] |
|
Hello, This ticket is now marked as closed due to one of the following reasons:
If you are still facing a problem or consider this issue still relevant, please feel free to re-open the ticket and we will reach out to you. Thank you, |