You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2008/01/16 11:30:34 UTC

[jira] Reopened: (SLING-157) output of primitives using <%= %> in .esp does not work

     [ https://issues.apache.org/jira/browse/SLING-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz reopened SLING-157:
---------------------------------------

      Assignee:     (was: Felix Meschberger)

Reopening as I don't think the fix includes automated tests (and yes I volunteer to write them, just not right now ;-)

> output of primitives using <%= %> in .esp does not work
> -------------------------------------------------------
>
>                 Key: SLING-157
>                 URL: https://issues.apache.org/jira/browse/SLING-157
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>            Reporter: David Nuescheler
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> while trying to output a non string value using the <%= %> syntax I stumbled over an issue that
> somehow prevented the output without an error.
> so:
> <%= 1 %> 
> does not produce output, while
> <%= "1" %>
> works fine.
> a workaround for the application developer of course would be to convert the output to a string first, but i think
> it would be great to fix that, since people output counters and other non string variables frequently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.