You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Robert Zeigler (JIRA)" <ji...@apache.org> on 2011/09/14 23:44:09 UTC

[jira] [Created] (TAP5-1652) template expansion no longer trims whitespace off the right side of the expansion

template expansion no longer trims whitespace off the right side of the expansion
---------------------------------------------------------------------------------

                 Key: TAP5-1652
                 URL: https://issues.apache.org/jira/browse/TAP5-1652
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.3
            Reporter: Robert Zeigler


Recent changes to the parsing of expansions to support maps in expansions has led to whitespace not being properly trimmed off expansions, so:

${foo } will be interpreted as the path "foo " rather than "foo", ${message:bar } will fail to find the correct key (because the key should be "bar", but it "bar "), etc.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (TAP5-1652) template expansion no longer trims whitespace off the right side of the expansion

Posted by "Robert Zeigler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Zeigler reassigned TAP5-1652:
------------------------------------

    Assignee: Robert Zeigler

> template expansion no longer trims whitespace off the right side of the expansion
> ---------------------------------------------------------------------------------
>
>                 Key: TAP5-1652
>                 URL: https://issues.apache.org/jira/browse/TAP5-1652
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3
>            Reporter: Robert Zeigler
>            Assignee: Robert Zeigler
>
> Recent changes to the parsing of expansions to support maps in expansions has led to whitespace not being properly trimmed off expansions, so:
> ${foo } will be interpreted as the path "foo " rather than "foo", ${message:bar } will fail to find the correct key (because the key should be "bar", but it "bar "), etc.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (TAP5-1652) template expansion no longer trims whitespace off the right side of the expansion

Posted by "Robert Zeigler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Zeigler reassigned TAP5-1652:
------------------------------------

    Assignee: Robert Zeigler

> template expansion no longer trims whitespace off the right side of the expansion
> ---------------------------------------------------------------------------------
>
>                 Key: TAP5-1652
>                 URL: https://issues.apache.org/jira/browse/TAP5-1652
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3
>            Reporter: Robert Zeigler
>            Assignee: Robert Zeigler
>
> Recent changes to the parsing of expansions to support maps in expansions has led to whitespace not being properly trimmed off expansions, so:
> ${foo } will be interpreted as the path "foo " rather than "foo", ${message:bar } will fail to find the correct key (because the key should be "bar", but it "bar "), etc.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (TAP5-1652) template expansion no longer trims whitespace off the right side of the expansion

Posted by "Robert Zeigler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Zeigler closed TAP5-1652.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 5.3

> template expansion no longer trims whitespace off the right side of the expansion
> ---------------------------------------------------------------------------------
>
>                 Key: TAP5-1652
>                 URL: https://issues.apache.org/jira/browse/TAP5-1652
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3
>            Reporter: Robert Zeigler
>            Assignee: Robert Zeigler
>             Fix For: 5.3
>
>
> Recent changes to the parsing of expansions to support maps in expansions has led to whitespace not being properly trimmed off expansions, so:
> ${foo } will be interpreted as the path "foo " rather than "foo", ${message:bar } will fail to find the correct key (because the key should be "bar", but it "bar "), etc.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (TAP5-1652) template expansion no longer trims whitespace off the right side of the expansion

Posted by "Robert Zeigler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Zeigler closed TAP5-1652.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 5.3

> template expansion no longer trims whitespace off the right side of the expansion
> ---------------------------------------------------------------------------------
>
>                 Key: TAP5-1652
>                 URL: https://issues.apache.org/jira/browse/TAP5-1652
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3
>            Reporter: Robert Zeigler
>            Assignee: Robert Zeigler
>             Fix For: 5.3
>
>
> Recent changes to the parsing of expansions to support maps in expansions has led to whitespace not being properly trimmed off expansions, so:
> ${foo } will be interpreted as the path "foo " rather than "foo", ${message:bar } will fail to find the correct key (because the key should be "bar", but it "bar "), etc.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1652) template expansion no longer trims whitespace off the right side of the expansion

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13106540#comment-13106540 ] 

Hudson commented on TAP5-1652:
------------------------------

Integrated in tapestry-trunk-freestyle #524 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/524/])
    TAP5-1652: template expansion no longer trims whitespace off the right side of the expansion
TAP5-1633: Hardcoded value for "Dismiss All" in AlertManager

robertdzeigler : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1171593
Files : 
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Alerts.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/SaxTemplateParser.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/Alerts.properties
* /tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/t5-alerts.js
* /tapestry/tapestry5/trunk/tapestry-core/src/test/app1/MapExpressionInExpansions.tml
* /tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/AlertsTests.groovy
* /tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/TemplateParserImplTest.java
* /tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/AlertsDemo.tml
* /tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry5/internal/services/expansions_with_whitespace.tml


> template expansion no longer trims whitespace off the right side of the expansion
> ---------------------------------------------------------------------------------
>
>                 Key: TAP5-1652
>                 URL: https://issues.apache.org/jira/browse/TAP5-1652
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3
>            Reporter: Robert Zeigler
>            Assignee: Robert Zeigler
>
> Recent changes to the parsing of expansions to support maps in expansions has led to whitespace not being properly trimmed off expansions, so:
> ${foo } will be interpreted as the path "foo " rather than "foo", ${message:bar } will fail to find the correct key (because the key should be "bar", but it "bar "), etc.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1652) template expansion no longer trims whitespace off the right side of the expansion

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13106540#comment-13106540 ] 

Hudson commented on TAP5-1652:
------------------------------

Integrated in tapestry-trunk-freestyle #524 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/524/])
    TAP5-1652: template expansion no longer trims whitespace off the right side of the expansion
TAP5-1633: Hardcoded value for "Dismiss All" in AlertManager

robertdzeigler : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1171593
Files : 
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Alerts.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/SaxTemplateParser.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/components/Alerts.properties
* /tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/t5-alerts.js
* /tapestry/tapestry5/trunk/tapestry-core/src/test/app1/MapExpressionInExpansions.tml
* /tapestry/tapestry5/trunk/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/AlertsTests.groovy
* /tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/TemplateParserImplTest.java
* /tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/AlertsDemo.tml
* /tapestry/tapestry5/trunk/tapestry-core/src/test/resources/org/apache/tapestry5/internal/services/expansions_with_whitespace.tml


> template expansion no longer trims whitespace off the right side of the expansion
> ---------------------------------------------------------------------------------
>
>                 Key: TAP5-1652
>                 URL: https://issues.apache.org/jira/browse/TAP5-1652
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3
>            Reporter: Robert Zeigler
>            Assignee: Robert Zeigler
>
> Recent changes to the parsing of expansions to support maps in expansions has led to whitespace not being properly trimmed off expansions, so:
> ${foo } will be interpreted as the path "foo " rather than "foo", ${message:bar } will fail to find the correct key (because the key should be "bar", but it "bar "), etc.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira