Forums

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

confluence page mention people failed,"xhtml.transformer.cannot.unmarshal.link.withName" and "Valida

Wei Zhang January 16, 2018

I mention myself (http://CONFLUENCE-SERVER-URL/display/~w)in confluence page editor,such as

张伟

when I save page,it's failed.

HTTP POST log 

http://CONFLUENCE-SERVER-URL/rest/tinymce/1/drafts

{
"statusCode": 400,
"data": {
"authorized": true,
"valid": false,
"errors": [
{
"message": {
"key": "xhtml.transformer.cannot.unmarshal.link.withName",
"args": [
"张伟"
]
}
}
],
"successful": false
},
"message": "Validation failure when converting format"
}

response:

Java Log

 https://pastebin.mozilla.org/9076062

2 answers

1 accepted

0 votes
Answer accepted
James Richards
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 27, 2018

Hi Team,

So as an update after working on this issue with Wei, turns out the issue is somehow related to the local browser as the @ mentions are cached locally on the browser.

So, in future if anyone sees this issue, try Ctrl+Shift+Del and delete all the browser data, or if you're confident, go to Developer Tools and clear the local storage.

Thanks,

James.

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 16, 2018

Hello Wei,

  • Does the same occur no matter which user you attempt to mention?
  • Can you save the page without the mention?
  • Does this occur on other pages as well? 
  • What version of Confluence are you running?

Thank you for your help!

Regards,

Shannon

Wei Zhang January 16, 2018
  1. It's only occur some user when i mention(there username is single character,such as 'w','y');
  2. I can save page whitout the mention;
  3. It's occur every page save failed;
  4. Atlassian Confluence 6.1.0
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 17, 2018

Wei,

Thank you. In your example, I assumed '张伟' to be the name you were mentioning, but it has 2 characters. In your last reply you said they're 1 character, but I'm not able to mention any users in my 6.6.0 instance with one character.

Could you try the recommendations from this article, however?

Resolution

There is no exact solution to this problem until the problematic entry is found and sanitized directly in the database or after a reindex.

The reindex methods are:

  1. Re-index Confluence in the UI
  2. Rebuild Index from Scratch
  3. In the example above, the index issue was specific to an user so we can run in the UI:
    1. Open this URL in your browser: <Confluence-URL>/admin/force-upgrade.action

    2. Select *userIndexingUpgradeTask* in the Upgrade task to run from the dropdown list.

    3. Choose Force Upgrade.

 Let me know if you have any questions.

Regards,

Shannon

Wei Zhang January 17, 2018

'张伟' is my fullname;

'w' is my username.

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 18, 2018

Thank you for confirming.

Please let me know how the resolution goes and if you have any trouble!

Regards,

Shannon

Wei Zhang February 26, 2018
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 26, 2018

Thank you, Wei.

I have created a support ticket for you, and you should get an email soon about that.

Could you please take a moment to upload your Support Zip file to the open case at the following URL?

One of my colleagues will then review your logs and let you know how to proceed.

Regards,

Shannon

Wei Zhang February 27, 2018
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 27, 2018

Thank you, Wei!

As soon as the issue is resolved, please feel free to share here what the problem was as a new answer in case it could help other users!

Regards,

Shannon

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 27, 2018

Wei,

I noticed you commented on the support ticket that the support zip is large. On the URL I gave you earlier, you can upload an attachment with no size limit, and it gets added to the ticket.

Can you please upload your attachment on CSP-223430 at the below URL?

Shannon

Wei Zhang February 27, 2018

upload finished,Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events