Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-15383

Investigate the possible solution for HTML Comparison view for tables

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Done
    • None
    • None
    • None
    • None
    • 3
    • Orion
    • Orion.Cycle1.Sprint3, Orion.Cycle2.Sprint1
    • Medium

    Description

      There are several scenarios that the Table comparison is not working as expected:

      Original table for Scenarios 1,2,3,4

      new new
      new new
      new  new

      Scenario 1:

      Create a new doc and Add a table(3x2) in Content part with rich text editor
      fill all the cells of the table
      Save and Publish
      Delete the content in the cell of first row - second column
      Save changes

      Expected: Diff view shows deleted content with red in the cell of first row - second column
      Actual: 3rd column added to the table and the deleted content is shown with red in that column while the cell in first row - second column has green like it is newly added.

      Scenario 2: 

      Create a new doc and Add a table(3x2) in Content part with rich text editor
      fill all the cells of  the table
      Save and Publish
      Copy the first row and paste it as second row (Still 3x2 table)
      Save changes

      Expected: Newly added row's content will be green 

       

      Scenario 3:

      Create a new doc and Add a table(3x2) in Content part with rich text editor
      fill all the cells of  the table
      Save and Publish
      Delete the 3rd row completely(2x2))
      Save changes

      Expected: 3rd row should be red
      Actual: there is no 3rd row, there are 2 new columns and deleted content is shown in the 2nd and 4th columns

       

       

      Scenario 4:

      Create a new doc and Add a table(3x2) in Content part with rich text editor
      fill all the cells of  the table
      Save and Publish
      Change the content in the cell(first row first column) (ex: change "nert" to "new")
      Save changes

      Expected: nertw
      Actual: First row first column is red, Third row second column green there is 3rd column with the word new

       

      Original table for Scenarios 5,6,7

      one two
      three four
      five six

       

      Scenario 5:

      Delete the content in 1x1(first row first column)

       

      Scenario 6:

      Delete the content in cell 1x1(first row first column)
      Save & publish
      Add content in cell 1x1

       

      Scenario 7:

      Delete row 2
      Save & Publish - diff view works fine
      Copy row 1 and add it as a second row between first and second row (3x2 table now)

       

      Original table for Scenario 8

      one two
      three four
      five six
      seven eight

      Scenario 8:

      Have a table 4x2
      Delete the content in cells 4x1 and 2x2

       

      Attachments

        Issue Links

          Activity

            People

              skuzey Sami Kuzey
              deniz.ergun Deniz Ergun
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: