Uploaded image for project: 'Content Diff module'
  1. Content Diff module
  2. CONTDIFF-2

NullPointerException When Trying to Use Diff on New Content Without Previous Version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.0.1
    • None
    • None

      [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

        Acceptance criteria

              yen.lactue Yen Lac Tue
              cweber Cass Weber
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started:

                  Estimated:
                  Original Estimate - 0.25d
                  0.25d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 0.25d
                  0.25d