Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-58842

Copying large tables can lead to the loss of emoticons

    XMLWordPrintable

Details

    Description

      Issue Summary

      Copying large tables can lead to the loss of emoticons and replaces them with </br> tags. It seems as though there is some limit I'm unable to determine.

      Steps to Reproduce

      1. Use the storage format included in the comments
      2. Attempt to copy/pase any more than ~15 rows
      3. Notice all emoticons have disappeared

      Expected Results

      • Table is copied with all data

      Actual Results

      • Table is missing emoticons

      Notes

      • No errors found in the logs
      • Tried testing with TinyMCE online and it did not seem to have a problem with that much data
      • Unable to find a definite method to trigger this scenario. In my attemps to create my own tables with more data the copying seemed to work, bvut with this storage format it is reliably reproduced.
      • Tried removing all merged cells and any extra macros.

      This is the correct storage format of the table with emoticons:

      <td class="highlight-blue" colspan="1" data-highlight-colour="blue"><ac:emoticon ac:name="cross" /></td>
      <td class="highlight-blue" colspan="1" data-highlight-colour="blue"><ac:emoticon ac:name="cross" /></td>
      

      This is how it appears after pasting into another page with the missing data:

            <td class="highlight-blue" colspan="1" data-highlight-colour="blue">
              <br/>
            </td>
            <td class="highlight-blue" colspan="1" data-highlight-colour="blue">
              <br/>
            </td>
      

      Workaround

      Using the Confluene Source Editor you can copy the <table> </table> from there and paste using the Source Editor. Emoticons will display properly.

      Attachments

        1. EmoticonsDisplayed.png
          EmoticonsDisplayed.png
          47 kB
        2. MissingEmoticons.png
          MissingEmoticons.png
          105 kB
        3. viewpagestorage.txt
          263 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dmark@atlassian.com Danny (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: