Cannot Edit a Comment Confluence 5

Evan Overby March 18, 2013

Just upgraded to Confluence 5.0.2 and now I am not able to edit a comment. There is no problem posting or deleting a comment.

When attempting to edit a comment, the editor comes up but you are not able to click in the body to start typing. You can hit any button on the editor toolbar, but no matter what you do no content is added.

I have checked permissions, tried different themes, and both IE and FF.

6 answers

1 vote
Martin Gregory June 6, 2014

Benu Gupta said:

I was able the resolve the edit comment issue in Confluence 5.1.5 by removing the javascript code from Custom HTML under Administration -> LOOK AND FEEL. Not sure if its the same issue for you as well.

That was the answer - I found custom code in there, deleted it and editing comments works.

Thanks!

1 vote
Septa Cahyadiputra
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 19, 2013

Hi Evan,

First and foremost, please ensure that all of your third party plugins are compatible with your current Confluence 5.0.2. Incompatible third party plugins could lead to many weird issues. Secondly please try to clear plugin cache and see how it goes.

Hope it helps.

Cheers,
Septa Cahyadiputra

Evan Overby March 21, 2013

I cleared the plugin cache and still no luck. Let me go through all my plugins tomorrow and make sure they are all compatible. There may have been some unknown ones. If so I'll disable them one by one and see if one of them is the culprit.

Evan Overby March 25, 2013

I checked and the plugins "should" be compatible. I also took out some custom HTML to show the newest comments on top:

<script> AJS.toInit(function(){ $comments = AJS.$('#page-comments'); $comments.children().each(function(i,li){$comments.prepend(li)}) });</script>

However I am still having no luck.

Septa Cahyadiputra
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 26, 2013

In order to further investigate this issue, I highly recommend you to create a support ticket on our support channel so we could review your logs privately. It would be hard for us to further investigate this issue if the following causes has been excluded without reviewing your logs:

  • Plugin cache corruption, resolve by clearing the plugin cache
  • Incompatible third party plugin, resolved by enabling plugin safe mode
  • Reverting back any customization to default

If you don't mind to attach your atlassian-confluence.log which is located in <CONF_HOME_Dir>/logs/ into this public channel, we can review it from here. If you don't want it to be available in public site pelase proceed to create a support ticket.

We would be more than happy to assist you trough it.

Cheers,
Septa Cahyadiputra

Evan Overby May 29, 2013

Just wanted to let everyone know that I also tried turning of safe mode and testing. I had the same result. I do have a ticket on this issue as well now.

0 votes
Don Willis
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 25, 2014

Try turning off the Atlassian Quick Edit plugin and see if you can edit comments after that.

Are there any javascript errors in your browser when you click in the editor?

If you right click the unclickable body and inspect element, how much does the HTML look like this?

&lt;iframe id="wysiwygTextarea_ifr" src='javascript:""' frameborder="0" allowtransparency="true" title="{#aria.rich_text_area}" tabindex="100" style="width: 100%; height: 150px; display: block;"&gt;

&lt;html style="overflow-y: hidden;"&gt;

&lt;head xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;base href="http://localhost:62014"&gt;&lt;meta http-equiv="X-UA-Compatible" content="IE=7"&gt;&lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;

… lots of links and styles …

&lt;/head&gt;

&lt;body id="tinymce" class="mceContentBody aui-theme-default wiki-content editor-comment" onload="window.parent.tinyMCE.get('wysiwygTextarea').onLoad.dispatch();" contenteditable="true" dir="ltr" style="overflow-y: hidden;"&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;&lt;/iframe&gt;

You mentioned IE and FF have you tried in chrome?

Martin Gregory June 5, 2014

Internet explorer:

IE version

Martin Gregory June 5, 2014

I have the same problem, Confluence 5.5.

When I right click on the unclickable body and do inspect element, it appears significantly different to yours. I have the wysiwygTextArea iframe, but the contents do not look similar:

element details

Martin Gregory June 5, 2014

... this is Chrome 35.0.1916.114 m on Windows 7

Benu Gupta June 5, 2014

I was able the resolve the edit comment issue in Confluence 5.1.5 by removing the javascript code from Custom HTML under Administration -> LOOK AND FEEL. Not sure if its the same issue for you as well.

0 votes
DD Yang March 25, 2014

I am using Confluence 5.1.2.

I noticed that only Admins can edit comments. Are users able to edit comments if they have 'add/remove' rights in a Space?

I would like to assign specific users the ability to do this. Does anyone know if this is possible?

Don Willis
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 25, 2014

In order to edit comments you need to have Administer permission at the Space level. Anybody can edit their own comments.

Martin Gregory June 5, 2014

This is not a permissions issue: Confluence is displaying the edit comment dialog, it just doesn't work (the dialog)

0 votes
Benu Gupta October 16, 2013

I am experiencing a similar issue with Confluence 5.1.5. Is there a resolution yet or a workaround?

0 votes
Evan Overby May 2, 2013

FYI, I put Confluence in safe mode and got the same result. So it is not a third party plugin causing the issue.

Here is my ticket number if anyone else has this issue and wants to track:

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events