[MAGNOLIA-5440] CLONE - VirtualURIMapping: fallback to path if uuid gets changed Created: 31/Oct/13 Updated: 01/Nov/13 Resolved: 01/Nov/13 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.1.2 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Jozef Chocholacek | Assignee: | Cheng Hu |
| 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 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: | |||||||||
| Epic Link: | Support | ||||||||
| Sprint: | 5.1.2 | ||||||||
| Description |
|
The module's virtualURIMapping node used to not be bootstrapped but autogenerated with random uuid by the module mechanism. VirtualURIManager caches the defined mappings and reloads them upon a change to any mapping's configuration. This is based on node uuids. If one does such change and doesn't activate the particular mapping but the whole virtualURIMapping node, the uuid at Public gets changed and the manager is not able to reload it as it expects the former uuid. This causes all the module's mappings to not be working and the only way to fix it is to restart the webapp so that the manager registers all the existing mappings from scratch. We should fallback to path in such case. |
| Comments |
| Comment by Jozef Chocholacek [ 31/Oct/13 ] |
|
Needs to be ported to 5.1.2 |
| Comment by Cheng Hu [ 01/Nov/13 ] |
|
Commit to 4.5.x branch has been ported to 5.1.x branch. Because the commit comment has the original The commit ID on the 5.1.x branch is: 6ecf5f56679a03759e39cd5a809466ca4b7d344a |