[MGNLWORKFLOW-353] Incorrect displaying of changes when comparing versions Created: 21/Jun/17 Updated: 27/Jun/17 Resolved: 26/Jun/17 |
|
| Status: | Closed |
| Project: | Magnolia Workflow Module |
| Component/s: | Base |
| Affects Version/s: | 5.6.3 |
| Fix Version/s: | 5.6.4 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Ervin Vystup | Assignee: | Federico Grilli |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 1d | ||
| 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
|
||||||||||||
| Sprint: | Basel 101, Basel 102 | ||||||||||||
| Story Points: | 3 | ||||||||||||
| Description |
|
Steps to reproduce:
Expected: Actual: After a bit of investigation the problem seems to be at info.magnolia.module.workflow.action.WorkItemLocalizedDiffAction#getLocation #61 et seq. The diff URL is built there always starting from the last version and comparing it with the previous one. No matter how many versions you have in there the last two are compared. Solution consists in comparing the version created with a given publication request with its previous version, if one exists. |