Additional line breaks added between tables while pasting text on Fixed width table

XMLWordPrintable

    • 2
    • Severity 3 - Minor

      Summary

      Additional line breaks added between tables while pasting text on fixed width table

      Environment

      Confluence 6.6.11
      Confluence 6.15.2
      Confluence 7.0.1

      Steps to Reproduce

      1. Turn Collaborative Editing OFF in Confluence
      2. Create a new page
      3. Insert a table and set it to Fixed width
      4. (optional) enlarge the cell's width
        The bug can still be replicated without this step but enlarging it can help easily identify the extra line break
      5. Insert another table below in the same page
        This can be either Fixed width or Responsive
      6. At this point, the storage format should look something like below:
        <table class="fixed-table">
          <colgroup>
            <col style="width: 200.0px;"/>
          </colgroup>
          <tbody>
            <tr>
              <th>
                <br/>
              </th>
            </tr>
          </tbody>
        </table>
        <table>
          <tbody>
            <tr>
              <th>
                <br/>
              </th>
            </tr>
          </tbody>
        </table>
        
      7. Copy any text and paste it into the upper table with Fixed width set

      Expected Results

      No extra line break will be added in between tables

      Actual Results

      Extra line breaks will be added randomly on every paste action
      line break between table.mp4
      Note that not every paste triggers the issue

      This can be further verified by spotting the extra lines in the Storage Format:

      <p>
        <br/>
      </p>
      

      Workaround

      • Enable Collaborative Editing; or
      • Manually remove the extra line breaks

      Information

      The main criteria for this bug to be replicated are:

      • Collaborative Editing must be turned OFF
      • There is more than 1 tables in the page and the table at the higher position needs to be set to Fixed width

      The bug can still be replicable regardless of the conditions below:

      • The number of Rows and Columns is irrelevant
      • Whether the table has Header row/column is irrelevant
      • Whether the text is copied from Confluence page itself or somewhere else without any format (eg: Notepad) is irrelevant

            Assignee:
            Unassigned
            Reporter:
            Damien Tan
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: