Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

pasting a table row copies over the row above

Jon Jon September 23, 2021

When I copy and paste a table row, it pastes into the row above where the cursor is, copying over any existing content.   Is this a known bug? Is there a workaround?

 

v7.13.0

4 answers

0 votes
Jon Jon September 24, 2021

@Nam Ho   

I can get the bug to recur by:

  1. creating a table with multiple columns
  2. merging a cell spanning several rows
  3. putting a small table inside the merged cell
  4. adding some content to rows above
  5. adding a new row
  6. copying one of the rows with content
  7. trying to paste into the new empty row.

Not sure what part of is making it happen (for example whether you need the table within table) -- seems like a bug for the developers to troubleshoot (?)

Jon Jon September 24, 2021

works without the embedded table -- it's the merged cells that seem to cause the bug

Nam Ho
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 25, 2021

Hi @Jon Jon ,

I've created table like you said but still can't replicate the issue.

copy-row.gif

Could you send me HTML of your table ?

Which browser are you using?

Jon Jon September 26, 2021
<table class="confluenceTable"><colgroup><col><col></colgroup><tbody><tr><th class="confluenceTh"><br></th><th class="confluenceTh"><br></th></tr><tr><td class="confluenceTd"><br></td><td class="confluenceTd"><br></td></tr><tr><td class="confluenceTd">ASDFADS</td><td class="confluenceTd">ADSFADF</td></tr></tbody><colgroup><col><col></colgroup><tbody><tr><td class="confluenceTd">ASDFADS</td><td class="confluenceTd">ADSFADF</td></tr><tr><td class="confluenceTd"><br></td><td class="confluenceTd" rowspan="2"><br></td></tr><tr><td class="confluenceTd"><br></td></tr><tr><td class="confluenceTd"><br></td><td class="confluenceTd"><br></td></tr></tbody></table>

 

The <col><col> doesn't look right to me ... 

 

Chrome Version 93.0.4577.82 (Official Build) (64-bit)  -- Linux

Jon Jon September 26, 2021

tableBug.gif

Jon Jon September 26, 2021

User-installed apps: 


Issue Macro from Jira to Confluence
Prometheus Exporter For Confluence
Atlassian REST API Browser
Confluence Copy Space Plugin
Draw.io Confluence Plugin
Confluence Cloud Migration Assistant
Confluence Unknown Attachment Reconciliation Plugin
Redirection Plugin
Analytics for Confluence - Plugin
Announcement Banner for Confluence
Atlassian Troubleshooting and Support Tools
Basic Glossary
Bob Swift Atlassian Add-ons - Wiki Markup
Confluence Mobile Plugin
Confluence Source Editor
HideElements for Confluence
LaTeX and MathJax
Markdown Macro for Confluence
mermaid-plugin
Numbered Headings
PDF Macros for Confluence
RefinedToolkit for Confluence
ServiceRocket Utility Library
smartics Integration for Piwik
spectrum-api
SSO for Atlassian Data Center
System Plugin: Structure.Pages Helper
Tableau for Confluence - Pro
Team Calendars
Tracking Plugin
User Switcher for Confluence

Like Roberto Pupo likes this
Nam Ho
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 28, 2021

Hi @Jon Jon ,

Unfortunately I still can't reproduce your problem.

However I guess you can use this workaround: don't use copy/paste functionality of browser, please use button "Copy row" and "Paste row" on editor toolbar.

Please let me know if it works for you.

Screen Shot 2021-09-28 at 8.57.02 pm.png

Jon Jon September 28, 2021

Yes -- that works! Still a bit of a mystery -- will have to ask the admins if I can try it in safe mode to see if the bug still happens...

Nam Ho
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 28, 2021

I notice your table is inside a page layout. Try reproducing the issue without page layout to see if it still happens.

Jon Jon September 29, 2021

Hi @Nam Ho ,

Yes -- still happens without a layout. Also, I tried on our test instance, in safe mode -- still happens. 

Just to confirm, this is the Server (not Cloud) version 7.13.0

0 votes
Jon Jon September 23, 2021

Ah .. doesn't happen on a new page.   The table in question has been edited a fair bit, rows added, removed, merged, moved ...   So I guess it's corrupted somehow.  Is there any way to see the markup behind it ?

Jon Jon September 24, 2021

I used Confluence a long time ago -- looks like in the latest versions the markup gets converted to HTML and becomes no longer viewable/editable ?   Anyway, the rtf / HTML source looks ok to me (the right number of tags and closing tags).

The complexity of the table is in a section where the last cell in a row spans 7 rows, and that cell has another table inside it -- but the HTML for it all looks fine to me.  But the bug still recurs when copying and pasting a row above that section...

0 votes
Jon Jon September 23, 2021

Ah -- just tried a new page -- the problem doesn't recur.   The table in question has been edited a fair bit, rows added, merged, moved ... 

0 votes
Nam Ho
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 23, 2021

Hi @Jon Jon ,

Do you have a video recording what was happening?

Cheers.

Jon Jon September 23, 2021

no -- it's basically like this:

 

Table Row 1

Table Row 2

Table Row 3

Blank new row

 

If I copy table row 1 and put the cursor in in the first cell of blank new row, when I paste, instead of the copy appearing in the blank row, it overwrites the row above (row 3).

Nam Ho
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 23, 2021

hmm, strange, I can't reproduce it on 7.13.0

Could you describe in detail how you did it?

Do you use shortcut to copy/paste?

Is there any third party plugin installed on your Confluence instance?

Which browser do you use?

Are you always able to replicate the issue even on a blank new page?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events