<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Mon Feb 12 07:35:29 CET 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Magnolia - Issue tracker</title>
    <link>https://jira.magnolia-cms.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-uk</language>    <build-info>
        <version>9.4.2</version>
        <build-number>940002</build-number>
        <build-date>19-01-2023</build-date>
    </build-info>


<item>
            <title>[MGNLSTK-1323] Double-byte character is not displayed correctly in teaser carousel item</title>
                <link>https://jira.magnolia-cms.com/browse/MGNLSTK-1323</link>
                <project id="10287" key="MGNLSTK">Magnolia Standard Templating Kit (closed)</project>
                    <description>&lt;p&gt;&amp;#8211; Repro Steps. &amp;#8211;&lt;br/&gt;
1. Edit Home Page.&lt;br/&gt;
2. Select Stage &amp;gt; Teaser Group &amp;gt; Teaser Items &amp;gt; Teaser Group - Carousel Item, then click edit icon.&lt;br/&gt;
3. Select teaser overwrite tab, then input Japanese text.&lt;/p&gt;

&lt;p&gt;&amp;#8211; Problem &amp;#8211;&lt;br/&gt;
Trimming for double byte character is wrong. Garbled character displayed in teaser.&lt;br/&gt;
abbreviateString method seems to be not support double byte characters.&lt;/p&gt;

&lt;p&gt;&amp;#8211; Workaround &amp;#8211;&lt;br/&gt;
1. edited /templating-kit/components/teasers/carouselItem&lt;br/&gt;
change the followings &lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;stkfn.abbreviateString(text, 370)&lt;/li&gt;
	&lt;li&gt;stkfn.abbreviateString(text, 330)&lt;br/&gt;
to&lt;br/&gt;
 text&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="35313">MGNLSTK-1323</key>
            <summary>Double-byte character is not displayed correctly in teaser carousel item</summary>
                <type id="1" iconUrl="https://jira.magnolia-cms.com/secure/viewavatar?size=xsmall&amp;avatarId=10883&amp;avatarType=issuetype">Bug</type>
                                            <priority id="6" iconUrl="https://jira.magnolia-cms.com/images/icons/priorities/neutral.gif">Neutral</priority>
                        <status id="6" iconUrl="https://jira.magnolia-cms.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="fgrilli">Federico Grilli</assignee>
                                    <reporter username="mosao">Masao Suda</reporter>
                        <labels>
                            <label>i18n</label>
                    </labels>
                <created>Tue, 17 Dec 2013 08:14:51 +0100</created>
                <updated>Tue, 28 Jan 2014 11:55:50 +0100</updated>
                            <resolved>Thu, 23 Jan 2014 17:41:32 +0100</resolved>
                                    <version>2.7</version>
                                    <fixVersion>2.7.2</fixVersion>
                                    <component>templates</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="76281" author="had" created="Fri, 20 Dec 2013 10:14:47 +0100"  >&lt;p&gt;Same is the problem also for Arabic and most likely Chinese.&lt;/p&gt;</comment>
                            <comment id="78267" author="fgrilli" created="Mon, 20 Jan 2014 13:56:50 +0100"  >&lt;p&gt;Hello, I tried to reproduce the issue by entering some Japanese text which is supposed to contain double-byte characters (found it on the internet and don&apos;t even know what it means &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.magnolia-cms.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;) but everything looks fine (see attached screenshot). Could you please provide some text causing the issue?&lt;/p&gt;</comment>
                            <comment id="78316" author="gjoseph" created="Tue, 21 Jan 2014 12:56:17 +0100"  >&lt;p&gt;Just a hunch, but this could be another manifestation of the different unicode forms used by different platforms, NFC and NFD respectively. See &lt;a href=&quot;http://wiki.magnolia-cms.com/display/DEV/Unicode+support+status&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://wiki.magnolia-cms.com/display/DEV/Unicode+support+status&lt;/a&gt; for some details.&lt;br/&gt;
(perhaps a quick way of checking that would be to compare and look at the output &lt;tt&gt;abbreviateString&lt;/tt&gt; of when passing an NFD and an NFC string (wiki page has a couple of samples))&lt;/p&gt;</comment>
                            <comment id="78376" author="mosao" created="Wed, 22 Jan 2014 09:49:30 +0100"  >&lt;p&gt;This problem has occured, when I enter the following (2 lines) text.&lt;/p&gt;

&lt;p&gt;&#25968;&#24180;&#21069;&#12395;&#38867;&#22269;&#12398;&#12475;&#12461;&#12517;&#12522;&#12486;&#12451;&#12505;&#12531;&#12481;&#12515;&#12540;&#20225;&#26989;&#12395;&#12424;&#12426;&#30330;&#26126;&#12373;&#12428;&#12383;&#12289;&#25991;&#23383;&#12434;&#19968;&#20999;&#20351;&#29992;&#12379;&#12378;&#12450;&#12452;&#12467;&#12531;&#12398;&#12415;&#12391;&#26412;&#20154;&#35469;&#35388;&#12434;&#12373;&#12379;&#12427;&#35469;&#35388;&#26041;&#24335;&#12391;&#12377;&#12290;&lt;br/&gt;
&#24467;&#26469;&#12398;&#35469;&#35388;&#26041;&#24335;&#12395;&#27604;&#12409;&#12390;&#12289;&#29305;&#12395;&#35223;&#12365;&#35211;&#32784;&#24615;&#12364;&#39640;&#12356;&#26041;&#24335;&#12395;&#12394;&#12387;&#12390;&#12356;&#12414;&#12377;&#12290;&lt;/p&gt;

&lt;p&gt;I enter the above text into the Text field of Teaser OverWrite tab.&lt;br/&gt;
I verified this problem both of the Windows and Linux(AWS-EC2) Enviroment.&lt;/p&gt;

&lt;p&gt;EC2 Location is here - &lt;a href=&quot;http://54.238.240.14/index.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://54.238.240.14/index.html&lt;/a&gt; (please see 2nd teaser item).&lt;/p&gt;</comment>
                            <comment id="78397" author="fgrilli" created="Wed, 22 Jan 2014 12:49:56 +0100"  >&lt;p&gt;Hello and thanks for spotting this issue. I can confirm the text looks garbled also on a Mac OS X (10.8.5) and on different browsers(Safari, Chrome, FF). The character is different still it&apos;s messed up. &lt;/p&gt;</comment>
                            <comment id="78420" author="fgrilli" created="Wed, 22 Jan 2014 16:46:16 +0100"  >&lt;p&gt;I have to recant what I said before, in that I can&apos;t reproduce the issue locally on my dev machine (Mac OS X 10.8.5) where the magnolia webapp is served by Tomcat 7.0.47 via Eclipse with -Dfile.encoding=UTF-8. Of course, I saw the issue at &lt;a href=&quot;http://54.238.240.14/index.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://54.238.240.14/index.html&lt;/a&gt; and at our &lt;a href=&quot;http://demoauthor.magnolia-cms.com&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://demoauthor.magnolia-cms.com&lt;/a&gt; (which is served by a Tomcat 7.0.47 on an Ubuntu box iirc). I also wrote a small unit test to verify the output when trimming that string at the point where the problem arises on other systems but it runs fine. So I guess it&apos;s a platform issue and Greg&apos;s hypothesis seems to be correct.&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;  @Test
  &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; void testAbbreviateDoubleByteString() &lt;span class=&quot;code-keyword&quot;&gt;throws&lt;/span&gt; Exception {
        &lt;span class=&quot;code-comment&quot;&gt;// GIVEN
&lt;/span&gt;        &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; size = 46;
        &lt;span class=&quot;code-object&quot;&gt;String&lt;/span&gt; stringToCut = &lt;span class=&quot;code-quote&quot;&gt;&quot;&#25968;&#24180;&#21069;&#12395;&#38867;&#22269;&#12398;&#12475;&#12461;&#12517;&#12522;&#12486;&#12451;&#12505;&#12531;&#12481;&#12515;&#12540;&#20225;&#26989;&#12395;&#12424;&#12426;&#30330;&#26126;&#12373;&#12428;&#12383;&#12289;&#25991;&#23383;&#12434;&#19968;&#20999;&#20351;&#29992;&#12379;&#12378;&#12450;&#12452;&#12467;&#12531;&#12398;&#12415;&#12391;&#26412;&#20154;&#35469;&#35388;&#12434;&#12373;&#12379;&#12427;&#35469;&#35388;&#26041;&#24335;&#12391;&#12377;&#12290;\n&#24467;&#26469;&#12398;&#35469;&#35388;&#26041;&#24335;&#12395;&#27604;&#12409;&#12390;&#12289;&#29305;&#12395;&#35223;&#12365;&#35211;&#32784;&#24615;&#12364;&#39640;&#12356;&#26041;&#24335;&#12395;&#12394;&#12387;&#12390;&#12356;&#12414;&#12377;&#12290;&quot;&lt;/span&gt;;

        &lt;span class=&quot;code-comment&quot;&gt;// WHEN
&lt;/span&gt;        &lt;span class=&quot;code-object&quot;&gt;String&lt;/span&gt; res = stkTemplatingFunction.abbreviateString(stringToCut, size);

        &lt;span class=&quot;code-comment&quot;&gt;// THEN
&lt;/span&gt;        assertEquals(&lt;span class=&quot;code-quote&quot;&gt;&quot;&#25968;&#24180;&#21069;&#12395;&#38867;&#22269;&#12398;&#12475;&#12461;&#12517;&#12522;&#12486;&#12451;&#12505;&#12531;&#12481;&#12515;&#12540;&#20225;&#26989;&#12395;&#12424;&#12426;&#30330;&#26126;&#12373;&#12428;&#12383;&#12289;&#25991;&#23383;&#12434;&#19968;&#20999;&#20351;&#29992;&#12379;&#12378;&#12450;&#12452;&#12467;&#12531; ...&quot;&lt;/span&gt;, res);
    }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; </comment>
                            <comment id="78515" author="fgrilli" created="Thu, 23 Jan 2014 17:41:32 +0100"  >&lt;p&gt;I&apos;m not sure if the chosen resolution actually fits this case. I was tempted to use &quot;not an issue&quot; or &quot;cannot reproduce&quot; but both seemed somehow incorrect. I used &quot;won&apos;t fix&quot; because the issue seems not related to Magnolia code or configuration, so we can&apos;t fix it.&lt;br/&gt;
However, to sum it up, it looks like an encoding issue and it should be enough to ensure that the encoding used by both the platform and the servlet container is UTF-8. This should solve the problem of truncating a multi-byte character incorrectly thus displaying an invalid character instead.    &lt;/p&gt;</comment>
                            <comment id="78635" author="fgrilli" created="Mon, 27 Jan 2014 10:24:44 +0100"  >&lt;p&gt;@Masao Suda - Please, also take a look at &lt;a href=&quot;http://documentation.magnolia-cms.com/display/DOCS/Language&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://documentation.magnolia-cms.com/display/DOCS/Language&lt;/a&gt; to learn more about language support in Magnolia. &lt;/p&gt;</comment>
                            <comment id="78745" author="dlipp" created="Tue, 28 Jan 2014 11:36:58 +0100"  >&lt;p&gt;Note to avoid confusion: this is a won&apos;t fix - the associated commits are just beautifications (formatting changes) and additions in the tests to prove that it&apos;s working as expected already.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="22415" name="double-byte-japanese.png" size="27888" author="fgrilli" created="Mon, 20 Jan 2014 13:56:50 +0100"/>
                            <attachment id="21908" name="garbled-char-in-carouselItem.jpg" size="33497" author="mosao" created="Tue, 17 Dec 2013 08:14:51 +0100"/>
                            <attachment id="22449" name="&#12450;&#12471;&#12441;&#12515;&#12452;&#12523;&#26666;&#24335;&#20250;&#31038;_-_&#12507;&#12540;&#12512;.png" size="112684" author="fgrilli" created="Wed, 22 Jan 2014 12:49:56 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_14166" key="com.okapya.jira.checklist:checklist">
                        <customfieldname>Acceptance criteria</customfieldname>
                        <customfieldvalues>
                            
        <checklist>
        <![CDATA[
                            




                
                                    <div class="o-completion" style="display: flex; flex-shrink: 0;"><span  class="aui-lozenge aui-lozenge-complete" style="font-size: 12px; font-weight: normal; display: flex; flex-direction: row; align-items: center;" ><span style="padding-right: 4px; vertical-align: middle;"><svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg" fill="white"><path clip-rule="evenodd" d="m10.41037,3.42544l-7.86501,0c-0.72395,0 -1.31084,0.58688 -1.31084,1.31084l0,7.86508c0,0.7239 0.58689,1.3108 1.31084,1.3108l7.86501,0c0.724,0 1.3109,-0.5869 1.3109,-1.3108l0,-7.86508c0,-0.72396 -0.5869,-1.31084 -1.3109,-1.31084zm-7.86501,-0.65542c-1.08593,0 -1.96626,0.88032 -1.96626,1.96626l0,7.86508c0,1.0859 0.88033,1.9662 1.96626,1.9662l7.86501,0c1.086,0 1.9663,-0.8803 1.9663,-1.9662l0,-7.86508c0,-1.08594 -0.8803,-1.96626 -1.9663,-1.96626l-7.86501,0z" fill-rule="evenodd"/><path d="m5.09049,10.18526l-1.82767,-1.82766l-0.78479,0.78479l2.61246,2.61246l5.38758,-5.38754l-0.78483,-0.78479l-4.60275,4.60274z"/></svg></span><span>Empty</span></span></div>
                        ]]>
    </checklist>


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10111" key="com.atlassian.jira.toolkit:reporterdomain">
                        <customfieldname>Company</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>gmail.com</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10031" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 20 Dec 2013 10:14:47 +0100</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_12730" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_14151" key="com.atlassian.jira.toolkit:message">
                        <customfieldname>Docu info</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10246" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>MGNLUI-2558</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10061" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comm is not jira-dev</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10071" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last participant</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>mmuehlebach</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_13136" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 3 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10020" key="com.atlassian.jira.toolkit:attachments">
                        <customfieldname>Number of attachments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10150" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname>Number of comments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dlipp</customfieldvalue>
            <customfieldvalue>fgrilli</customfieldvalue>
            <customfieldvalue>had</customfieldvalue>
            <customfieldvalue>gjoseph</customfieldvalue>
            <customfieldvalue>mosao</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02mi7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10244" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>15386</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10220" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Release notes required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10490"><![CDATA[Yes]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14145" key="com.intenso.jira.issue-templates:issue-templates-customfield">
                        <customfieldname>Template</customfieldname>
                        <customfieldvalues>
                            


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_15131" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Time in Discovery</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>