[CONTDIFF-2] NullPointerException When Trying to Use Diff on New Content Without Previous Version Created: 23/Nov/23 Updated: 28/Nov/23 Resolved: 28/Nov/23 |
|
| Status: | Closed |
| Project: | Content Diff module |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.1 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Cass Weber | Assignee: | Yen Lac Tue |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 0.25d | ||
| Original Estimate: | 0.25d | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Work Started: |
| Description |
|
[Some words/texts have been modified for clarity.] We have found that when a user tries to use the diff in new content (no previous version stored), the module gives a NullPointerException. You can fix it here: https://git.magnolia-cms.com/projects/INCUBATOR/repos/content-diff/browse/src/main/java/info/magnolia/content/diff/ContentDiffHandler.java#80 |