Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-123773

Wrong comparison between Web Content versions when there are one or more tags img without attribute src

    Details

      Description

      Steps to reproduce:

      1. Create a new Structure with a text field with name textField1
      2. Create a new Template for the previous Structure like <img alt="Image" />${textField1.getData()}
      3. Create a new Web Content WC1 based off of the Structure created previously
      4. Modify the Web Content and create a new version
      5. Compare the two versions

      Expected result:

      • The differences between the two versions are shown

      Actual result:

      • The differences between the two versions are not shown
      • The following error is displayed in server logs:
        SystemId Unknown; Line #1; Column #4; java.lang.NullPointerException
        

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            daniel.couso Daniel Couso
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Engineering Assignee:
            Daniel Couso
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              12 weeks, 3 days ago

                Packages

                Version Package
                7.0.0 DXP FP97
                7.0.X
                7.1.10 DXP FP21
                7.1.X
                7.2.10 DXP FP10
                7.2.X
                7.3.X
                Master