[MGNLREST-194] Endpoint returns default rendition for all image variation Created: 31/Oct/18 Updated: 13/Dec/18 Resolved: 29/Nov/18 |
|
| Status: | Closed |
| Project: | Magnolia REST Framework |
| Component/s: | None |
| Affects Version/s: | 2.1.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical |
| Reporter: | Michal Novak | Assignee: | Viet Nguyen |
| Resolution: | Not an issue | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 1d | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| 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)
|
||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||
| Date of First Response: | |||||||||||||
| Description |
|
Hello, I’m using rest delivery endpoint v2 for fetching the data from a content app. Locally it returns correct image variation for all the renditions, but on the Integration environment it returns the default variation for all the renditions. |
| Comments |
| Comment by Michal Novak [ 19/Nov/18 ] |
|
Hello, could someone take a look on this one please? We would like to release new blogs LM soon and this is quite an issue. Thank you very much. |
| Comment by Michal Novak [ 27/Nov/18 ] |
|
The issue can be seen here. Steps to reproduce:
Note: On the page, this is related only to blogs listing, which is actually a Vue.js app. (whole area with the search field, dropdown filtering menu and lists of the blogs. Hope this helps and thank you |
| Comment by Viet Nguyen [ 28/Nov/18 ] |
|
Hello mnovak, Looks like you lack of imaging config within your theme, please double check it and compare b/w your local and integration env. Hope this helps! |
| Comment by Michal Novak [ 28/Nov/18 ] |
|
Hello Viet, Also my site configuration sits in the site module, see here. The same configuration is used for local setup and for the Integration one. Also, as I’ve mentioned in the previous comment, assuming that the imaging module provides correct links when it is used via freemarker, the configuration is setup correctly. As you can see here But the data that I’m using for the blog posts listing are being fetched by a rest call and as you can see in the response all the links have default state. |
| Comment by Viet Nguyen [ 28/Nov/18 ] |
|
I'm still investigating on the issue since it's working on my local environment too. It worked for It is rendering pretty well on my local environment such as
Viet |
| Comment by Michal Novak [ 28/Nov/18 ] |
|
Just to better clarification. As it is said on the picture above. The issue is tied only to the area called "Blogs listing" which pulls the data from the rest endpoint and uses the information to show the thumbnails. Area above the blogs listing, a detail page of a post or a detail page of a bloger uses freemarker code and it displays images correctly. |
| Comment by Michal Novak [ 28/Nov/18 ] |
|
Yeah, go ahead with the restart. |
| Comment by Viet Nguyen [ 29/Nov/18 ] |
|
Restarting the instance didn't fix the issue. (image/renditions/450 section) |
| Comment by Viet Nguyen [ 29/Nov/18 ] |
|
Adding a theme to 'fallback' site seems fixing this issue, probably because your 'blog' site was not mapped properly so the request URL fallbacks to 'fallback' site. |
| Comment by Michal Novak [ 30/Nov/18 ] |
|
Ok, thank you for your time Viet |