There are
3 updates
,
2 comments
.
Confluence
/
CONFLUENCE-255
Open
Unknown macro confluence_emoticon after migration from newer confluence versions
View issue
Β·
Add comment
3 updates
Changes by
Nikita Petrenko
on 02/Jul/24 08:30
Attachment:
error after migration.png
Attachment:
broken emoticons after migration.png
Attachment:
page with emoticons-EM-2024-07-02-09-23-40-656.xml.zip
2 comments
Nikita Petrenko
on 02/Jul/24 08:33
In Confluence 6.x the xml stores emoticons such:
{code:java}
<object class="BodyContent" package="com.atlassian.confluence.core">
<id name="id">766148614</id>
<property name="body"><![CDATA[<p>Flag as emoticon: <ac:emoticon ac:name="blue-star" ac:emoji-shortname=":flag_ua:" ac:emoji-id="1f1fa-1f1e6" ac:emoji-fallback="πΊπ¦" />. More flags: <ac:emoticon ac:name="blue-star" ac:emoji-shortname=":flag_white:" ac:emoji-id="1f3f3" ac:emoji-fallback="π³οΈ" /> <ac:emoticon ac:name="blue-star" ac:emoji-shortname=":flag_black:" ac:emoji-id="1f3f4" ac:emoji-fallback="π΄" /> <ac:emoticon ac:name="blue-star" ac:emoji-shortname=":checkered_flag:" ac:emoji-id="1f3c1" ac:emoji-fallback="π" /> <ac:emoticon ac:name="blue-star" ac:emoji-shortname=":triangular_flag_on_post:" ac:emoji-id="1f6a9" ac:emoji-fallback="π©" /> </p><p>More emojis <ac:emoticon ac:name="blue-star" ac:emoji-shortname=":v:" ac:emoji-id="270c" ac:emoji-fallback="βοΈ" /> <ac:emoticon ac:name="blue-star" ac:emoji-shortname=":x:" ac:emoji-id="274c" ac:emoji-fallback="β" /> </p>
{code}
In Confluence 8.5.6
{code:
java
xml
}
<object class="BodyContent" package="com.atlassian.confluence.core">
<id name="id">
163856
1048577
</id>
<property name="body"
><![CDATA[<p><
ac:emoticon ac:name="victory hand" ac:emoji-id="270c"
br
/> <
ac:emoticon ac:name="cross mark" ac:emoji-id="274c"
/
> <ac:emoticon ac:name="cross" /> </
p><p>
Clipboard
<ac:emoticon ac:name="
white flag
clipboard
"
ac:emoji-id="
1f3f3
1f4cb
" />
<
ac:emoticon ac:name="black flag" ac:emoji-id="1f3f4"
/
p
> <
ac:emoticon ac:name="chequered flag" ac:emoji-id="1f3c1" /
p
>
Thought balloon
<ac:emoticon
ac:name="
triangular flag
thought balloon
" ac:emoji-id="
1f6a9
1f4ad
" />
</p><p>
Check mark
button
<ac:emoticon ac:name="
flag: Ukraine
check mark button
" ac:emoji-id="
1f1fa-1f1e6
2705
"
/> </p>
<p
]]
><
br
/
property
>
</p>
{code}
That is what I have as source code of the page after migration from 8.5.6 (note that cancel icon is recognise after migration)
{code:
java
none
}
\\
Clipboard
{{confluence_emoticon ac:name="
victory hand
clipboard
" ac:emoji-id="
270c
1f4cb
"/}}
{{confluence_emoticon ac:name="cross mark" ac:emoji-id="274c"/}} βοΈ
Thought balloon
{{confluence_emoticon ac:name="
white flag
thought balloon
" ac:emoji-id="
1f3f3
1f4ad
"/}}
{{confluence_emoticon ac:name="black flag" ac:emoji-id="1f3f4"/}} {{confluence_emoticon ac:name="chequered flag" ac:emoji-id="1f3c1"/}} {{confluence_emoticon ac:name="triangular flag" ac:emoji-id="1f6a9"/}}
Check mark button
{{confluence_emoticon ac:name="
flag: Ukraine
check mark button
" ac:emoji-id="
1f1fa-1f1e6
2705
"/}}
{code}
Nikita Petrenko
on 02/Jul/24 08:39
In Confluence
6
7
.x the xml stores emoticons such:
{code:
java
xml
}
<object class="BodyContent" package="com.atlassian.confluence.core">
<id name="id">
766148614
770342941
</id>
<property name="body"><![CDATA[<p>
Flag as emoticon:
Clipboard
<ac:emoticon ac:name="blue-star" ac:emoji-shortname=":
flag_ua
clipboard
:" ac:emoji-id="
1f1fa-1f1e6
1f4cb
" ac:emoji-fallback="
πΊπ¦
π
" />
. More flags:
<
ac:emoticon ac:name="blue-star" ac:emoji-shortname=":flag_white:" ac:emoji-id="1f3f3" ac:emoji-fallback="π³οΈ"
/
p
> <
ac:emoticon ac:name="blue-star" ac:emoji-shortname=":flag_black:" ac:emoji-id="1f3f4" ac:emoji-fallback="π΄" /
p
>
Thought balloon
<ac:emoticon ac:name="blue-star" ac:emoji-shortname=":
checkered_flag
thought_balloon
:" ac:emoji-id="
1f3c1
1f4ad
" ac:emoji-fallback="
π
π
" /> <
ac:emoticon ac:name="blue-star" ac:emoji-shortname=":triangular_flag_on_post:" ac:emoji-id="1f6a9" ac:emoji-fallback="π©"
/
> </
p><p>
More emojis
Check mark button
<ac:emoticon ac:name="blue-star" ac:emoji-shortname=":
v
white_check_mark
:" ac:emoji-id="
270c
2705
" ac:emoji-fallback="
βοΈ
β
" /> <
ac:emoticon ac:name="blue-star" ac:emoji-shortname=":x:" ac:emoji-id="274c" ac:emoji-fallback="β"
/
p
>
]]>
</
p
property
>
{code}
In Confluence 8.5.6
{code:xml}
<object class="BodyContent" package="com.atlassian.confluence.core">
<id name="id">1048577</id>
<property name="body"
><![CDATA[<p><br /></p><p>Clipboard <ac:emoticon ac:name="clipboard"
ac:emoji-id="1f4cb" /> </p><p>Thought balloon <ac:emoticon
ac:name="thought balloon" ac:emoji-id="1f4ad" /></p><p>Check mark
button <ac:emoticon ac:name="check mark button" ac:emoji-id="2705"
/> </p>]]></property
>
{code}
That is what I have as source code of the page after migration from 8.5.6 (note that cancel icon is recognise after migration)
{code:none}
\\
Clipboard {{confluence_emoticon ac:name="clipboard" ac:emoji-id="1f4cb"/}}
Thought balloon {{confluence_emoticon ac:name="thought balloon" ac:emoji-id="1f4ad"/}}
Check mark button {{confluence_emoticon ac:name="check mark button" ac:emoji-id="2705"/}}
{code}
This message was sent by Atlassian Jira (v9.3.0#930000
-sha1:287aeb6
)
If image attachments aren't displayed, see
this article
.