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

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

This widget could not be displayed.

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.

This widget could not be displayed.

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

  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

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

'张伟' is my fullname;

'w' is my username.

Thank you for confirming.

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

Regards,

Shannon

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

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

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

upload finished,Thanks!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

565 views 7 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you