It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

William Zhang Jan 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 Mar 27, 2018 • edited Apr 02, 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 Spaniol Atlassian Team Jan 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

William Zhang Jan 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 Spaniol Atlassian Team Jan 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

William Zhang Jan 17, 2018

'张伟' is my fullname;

'w' is my username.

Shannon Spaniol Atlassian Team Jan 18, 2018

Thank you for confirming.

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

Regards,

Shannon

Shannon Spaniol Atlassian Team Feb 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

William Zhang Feb 27, 2018
Shannon Spaniol Atlassian Team Feb 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 Spaniol Atlassian Team Feb 27, 2018 • edited

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

William Zhang Feb 27, 2018

upload finished,Thanks!

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

1,225 views 7 18
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you