-
Bug
-
Resolution: Fixed
-
High
-
7.13.16, 7.19.8, 7.19.9, 8.2.2
-
1
-
Severity 2 - Major
-
5
-
The fix for this bug will be backported to our current Long Term Support releases if it passes our risk assessment.
We recognise the impact of this bug and plan to backport the fix to our Long Term Support releases. Once the exact fix version is known we will update this ticket. Not all code changes are suitable to be backported and this may still be rejected during our review process.
Issue Summary
Email notification is corrupt for a user mentioned within a table of a page
Steps to Reproduce
- Create a page
- Enter content (paste into source editor) (note the user mention in second row):
<table><tbody class=\"\"><tr class=\"\"><th><p><strong>Row1</strong></p></th><td><div class=\"content-wrapper\"><p> </p></div></td></tr><tr class=\"\"><th><p><strong>Row2</strong></p></th><td><div class=\"content-wrapper\"><p><ac:link><ri:user ri:userkey="fred-key" /></ac:link> </p></div></td></tr></tbody></table>
- Save page
Expected Results
Email notification sent with excerpt of page and mention
Actual Results
Full stack trace:
com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '<' (code 60) expected space, or '>' or \"/>\" at [row,col {unknown-source}]: [1,383]", "stack": "java.lang.RuntimeException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '<' (code 60) expected space, or '>' or \"/>\" at [row,col {unknown-source}]: [1,383] at org.codehaus.stax2.ri.evt.Stax2FilteredEventReader.hasNext(Stax2FilteredEventReader.java:60) at com.atlassian.confluence.content.render.xhtml.XmlFragmentBodyEventReader.hasNext(XmlFragmentBodyEventReader.java:33) at com.atlassian.confluence.content.render.xhtml.transformers.DefaultFragmentTransformer.transform(DefaultFragmentTransformer.java:116) at com.atlassian.confluence.plugins.hipchat.emoticons.marshalling.transformer.EmoticonTransformerBase.transform(EmoticonTransformerBase.java:61) at com.atlassian.confluence.plugins.hipchat.emoticons.marshalling.transformer.EmoticonTransformerStorageToView.transform(EmoticonTransformerStorageToView.java:43) at com.atlassian.confluence.content.render.xhtml.TransformerChain.transform(TransformerChain.java:33) at com.atlassian.confluence.content.render.xhtml.PluggableTransformerChain.transform(PluggableTransformerChain.java:39) at com.atlassian.confluence.content.render.xhtml.DefaultRenderer.renderWithoutMetrics(DefaultRenderer.java:189) at com.atlassian.confluence.content.render.xhtml.DefaultRenderer.renderWithResult(DefaultRenderer.java:150) at com.atlassian.confluence.content.render.xhtml.DefaultRenderer.render(DefaultRenderer.java:134) at com.atlassian.confluence.content.render.xhtml.DeviceTypeAwareRenderer.render(DeviceTypeAwareRenderer.java:55) at jdk.internal.reflect.GeneratedMethodAccessor3144.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) at jdk.proxy5/jdk.proxy5.$Proxy413.render(Unknown Source) at jdk.internal.reflect.GeneratedMethodAccessor3144.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:130) at jdk.proxy5/jdk.proxy5.$Proxy413.render(Unknown Source) at com.atlassian.confluence.plugins.mentions.NotificationServiceImpl.sendMentions(NotificationServiceImpl.java:95) at com.atlassian.confluence.plugins.mentions.ConfluenceMentionsEventListener.sendContentNotifications(ConfluenceMentionsEventListener.java:157) at com.atlassian.confluence.plugins.mentions.ConfluenceMentionsEventListener.sendNotificationsForUpdatedContent(ConfluenceMentionsEventListener.java:136) at com.atlassian.confluence.plugins.mentions.ConfluenceMentionsEventListener.pageUpdated(ConfluenceMentionsEventListener.java:86)
Workaround
N/A
- duplicates
-
CONFSERVER-57660 Email Notification for User Mention broken when specific characters are in the page body
-
- Closed
-
- mentioned in
-
Page Failed to load
Form Name |
---|
A fix for this issue is available in Confluence Server and Data Center 7.19.10.
Upgrade now or check out the Release Notes to see what other issues are resolved.