<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Mon Feb 12 10:19:15 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>[MGNLMIGRATION-327] Error parsing [ in javascript embeded in freemarker template</title>
                <link>https://jira.magnolia-cms.com/browse/MGNLMIGRATION-327</link>
                <project id="10574" key="MGNLMIGRATION">Migration 4.4 to 4.5 (closed)</project>
                    <description>&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;
The script attached causes an error &lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt; parsing

It ends with a EOF, line 109:29 missing EOF at &lt;span class=&quot;code-quote&quot;&gt;&apos;[&apos;&lt;/span&gt; 

line 47:2 no viable alternative at character &lt;span class=&quot;code-quote&quot;&gt;&apos;}&apos;&lt;/span&gt;
info.magnolia.migration.task.templates.TemplateErrorException: java.lang.RuntimeException: NoViableAltException(&lt;span class=&quot;code-quote&quot;&gt;&apos;}&apos;&lt;/span&gt;@[1:1: Tokens : ( TAG_OPEN | TAG_CLOSE | INTAG_OPEN | INTAG_CLOSE | TAGNAME | INTERPOLATION_OPEN | INTERPOLATION_CLOSE | INTAG_DATA | JAVACODE | FLATTEXT | EXPRESSION | SCRIPTLET_OPEN | SCRIPTLET_CLOSE );])
at info.magnolia.migration.task.templates.TemplateReader.migrateScript(TemplateReader.java:119)
at info.magnolia.migration.task.templates.TemplateReader.migrateScript(TemplateReader.java:83)
at info.magnolia.migration.task.templates.TemplateReader.main(TemplateReader.java:169)
Caused by: java.lang.RuntimeException: NoViableAltException(&lt;span class=&quot;code-quote&quot;&gt;&apos;}&apos;&lt;/span&gt;@[1:1: Tokens : ( TAG_OPEN | TAG_CLOSE | INTAG_OPEN | INTAG_CLOSE | TAGNAME | INTERPOLATION_OPEN | INTERPOLATION_CLOSE | INTAG_DATA | JAVACODE | FLATTEXT | EXPRESSION | SCRIPTLET_OPEN | SCRIPTLET_CLOSE );])
at info.magnolia.migration.task.templates.jsp.JspLexer.recover(JspLexer.java:39)
at org.antlr.runtime.Lexer.nextToken(Lexer.java:104)
at org.antlr.runtime.BufferedTokenStream.fetch(BufferedTokenStream.java:143)
at org.antlr.runtime.BufferedTokenStream.sync(BufferedTokenStream.java:137)
at org.antlr.runtime.CommonTokenStream.consume(CommonTokenStream.java:68)
at org.antlr.runtime.BaseRecognizer.match(BaseRecognizer.java:106)
at info.magnolia.migration.task.templates.jsp.JspParser.flattext(JspParser.java:968)
at info.magnolia.migration.task.templates.jsp.JspParser.document(JspParser.java:149)
at info.magnolia.migration.task.templates.TemplateReader.migrateScript(TemplateReader.java:108)
... 2 more
Caused by: NoViableAltException(&lt;span class=&quot;code-quote&quot;&gt;&apos;}&apos;&lt;/span&gt;@[1:1: Tokens : ( TAG_OPEN | TAG_CLOSE | INTAG_OPEN | INTAG_CLOSE | TAGNAME | INTERPOLATION_OPEN | INTERPOLATION_CLOSE | INTAG_DATA | JAVACODE | FLATTEXT | EXPRESSION | SCRIPTLET_OPEN | SCRIPTLET_CLOSE );])
at info.magnolia.migration.task.templates.jsp.JspLexer$DFA8.specialStateTransition(JspLexer.java:1644)
at org.antlr.runtime.DFA.predict(DFA.java:80)
at info.magnolia.migration.task.templates.jsp.JspLexer.mTokens(JspLexer.java:632)
at org.antlr.runtime.Lexer.nextToken(Lexer.java:85)
... 9 more
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="48896">MGNLMIGRATION-327</key>
            <summary>Error parsing [ in javascript embeded in freemarker template</summary>
                <type id="1" iconUrl="https://jira.magnolia-cms.com/secure/viewavatar?size=xsmall&amp;avatarId=10883&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.magnolia-cms.com/images/icons/priorities/critical.svg">Critical</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="1">Fixed</resolution>
                                        <assignee username="rsiska">Robert &#352;i&#353;ka</assignee>
                                    <reporter username="tmiyar">Teresa Miyar</reporter>
                        <labels>
                    </labels>
                <created>Mon, 16 Nov 2015 16:55:23 +0100</created>
                <updated>Fri, 15 Apr 2016 16:04:36 +0200</updated>
                            <resolved>Thu, 14 Jan 2016 11:18:22 +0100</resolved>
                                                    <fixVersion>1.2.10</fixVersion>
                                    <component>Template Script Migration</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                    <progress percentage="100">
                                    <originalProgress>
                                                    <row percentage="0" backgroundColor="#89afd7"/>
                                                    <row percentage="100" backgroundColor="transparent"/>
                                            </originalProgress>
                                                    <currentProgress>
                                                    <row percentage="100" backgroundColor="#51a825"/>
                                                    <row percentage="0" backgroundColor="#ec8e00"/>
                                            </currentProgress>
                            </progress>
                                    <aggregateprogress percentage="100">
                                    <originalProgress>
                                                    <row percentage="0" backgroundColor="#89afd7"/>
                                                    <row percentage="100" backgroundColor="transparent"/>
                                            </originalProgress>
                                                    <currentProgress>
                                                    <row percentage="100" backgroundColor="#51a825"/>
                                                    <row percentage="0" backgroundColor="#ec8e00"/>
                                            </currentProgress>
                            </aggregateprogress>
                                            <timeestimate seconds="0">0d</timeestimate>
                            <timespent seconds="120">2m</timespent>
                                <comments>
                            <comment id="117808" author="ajuran" created="Wed, 2 Dec 2015 08:53:46 +0100"  >&lt;p&gt;Elements &amp;lt;script&amp;gt;&amp;lt;/script&amp;gt; and their content is removed in migrated templates.&lt;/p&gt;</comment>
                            <comment id="118717" author="pmundt" created="Tue, 29 Dec 2015 11:27:47 +0100"  >&lt;ul&gt;
	&lt;li&gt;Module (reactor) doesn&apos;t build
	&lt;ul&gt;
		&lt;li&gt;Also see &lt;a href=&quot;https://jenkins.magnolia-cms.com/job/m_4-5-migration/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.magnolia-cms.com/job/m_4-5-migration/&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;Causes failure: 
&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;
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (&lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;-compile) on project magnolia-4-5-migration: Compilation failure: Compilation failure:
[ERROR] /&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt;/lib/jenkins/jobs/m_4-5-migration/workspace/magnolia-4-5-migration/target/clover/src/info/magnolia/migration/task/templates/freemarker/FreemarkerLexer.java:[1760,99] code too large &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;try&lt;/span&gt; statement
[ERROR] /&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt;/lib/jenkins/jobs/m_4-5-migration/workspace/magnolia-4-5-migration/target/clover/src/info/magnolia/migration/task/templates/freemarker/FreemarkerLexer.java:[1760,19] code too large
[ERROR] -&amp;gt; [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e &lt;span class=&quot;code-keyword&quot;&gt;switch&lt;/span&gt;.
[ERROR] Re-run Maven using the -X &lt;span class=&quot;code-keyword&quot;&gt;switch&lt;/span&gt; to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http:&lt;span class=&quot;code-comment&quot;&gt;//cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
&lt;/span&gt;[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn &amp;lt;goals&amp;gt; -rf :magnolia-4-5-migration
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;em&gt;How can this be QA&apos;d and closed if the build was not successful once since integration?&lt;/em&gt;&lt;/p&gt;</comment>
                            <comment id="119274" author="rsiska" created="Thu, 14 Jan 2016 11:18:22 +0100"  >&lt;p&gt;The issue with failing build is fixed in &lt;a href=&quot;https://jira.magnolia-cms.com/browse/MGNLMIGRATION-332&quot; title=&quot;Exclude machine-generated code from Clover instrumentation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MGNLMIGRATION-332&quot;&gt;&lt;del&gt;MGNLMIGRATION-332&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Closing this issue without changes.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10020">
                    <name>dependency</name>
                                            <outwardlinks description="depends upon">
                                        <issuelink>
            <issuekey id="49792">MGNLMIGRATION-332</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="31035" name="mainLM.ftl" size="54318" author="tmiyar" created="Mon, 16 Nov 2015 16:55:19 +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>magnolia-cms.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 Nov 2015 15:31:20 +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_10061" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comm is not jira-dev</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10071" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last participant</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>mgeljic</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_13136" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 5 weeks, 3 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10020" key="com.atlassian.jira.toolkit:attachments">
                        <customfieldname>Number of attachments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10150" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname>Number of comments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ajuran</customfieldvalue>
            <customfieldvalue>pmundt</customfieldvalue>
            <customfieldvalue>rsiska</customfieldvalue>
            <customfieldvalue>tmiyar</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i05k2u:w</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10244" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10245" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="148">Kromeriz 21</customfieldvalue>
    <customfieldvalue id="170">Kromeriz 26</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10242" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</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>