[PAGES-417] Cannot open a page when changing the page template to Travel Home Created: 26/Mar/21 Updated: 26/Aug/22 |
|
| Status: | Open |
| Project: | Magnolia pages module |
| Component/s: | None |
| Affects Version/s: | 6.2.6 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Canh Nguyen | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | maintenance | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 20m | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| 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: |
[X]*
Steps to reproduce, expected, and actual results filled
[X]*
Affected version filled
|
| Date of First Response: | |
| Epic Link: | AuthorX Maintenance |
| Team: |
| Description |
Steps to reproduce
Expected resultsCan open the new page Actual resultsThe page's displayed error 500 WorkaroundDelete the page and recreate and choose Travel Home from the beginning. Development notesSeems to happen on dx-core only, two people confirmed the issue, one could not reproduce it Looking closer at the exception stack trace it seems that we should fix our template at https://git.magnolia-cms.com/projects/MODULES/repos/demo-projects/browse/enterprise/magnolia-travel-demo-marketing-tags/src/main/resources/travel-demo-marketing-tags/templates/pages/areas/htmlHeader-marketing-tags.ftl#21 by handling a possible null value? See also Slack conversation https://magnolia-cms.slack.com/archives/CDF00BHMH/p1617029749034800?thread_ts=1616994005.033700&cid=CDF00BHMH |
| Comments |
| Comment by Canh Nguyen [ 26/Mar/21 ] |
|
I've also checked that Travel Standard template does not work if we update dx-core from an old version. Either selecting Travel Standard from the beginning or switching template, the page will display error 500. |
| Comment by Canh Nguyen [ 29/Mar/21 ] |
|
I've also checked clean install, lots of travel templates display error 500 after restart the server. |
| Comment by Federico Grilli [ 29/Mar/21 ] |
|
I can't reproduce either case (update from 5.7.9 or clean install). |