[jira] Created: (WW-3318) throwExceptionOnFailure=true doesn't detect undefined property burried in ONGL

View: New views
3 Messages — Rating Filter:   Alert me  

[jira] Created: (WW-3318) throwExceptionOnFailure=true doesn't detect undefined property burried in ONGL

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

throwExceptionOnFailure=true doesn't detect undefined property burried in ONGL
------------------------------------------------------------------------------

                 Key: WW-3318
                 URL: https://issues.apache.org/struts/browse/WW-3318
             Project: Struts 2
          Issue Type: Bug
          Components: Value Stack
    Affects Versions: 2.1.8
            Reporter: Andreas Krüger


Setup:

struts.el.throwExceptionOnFailure=true in struts.properties

In the value stack, there is no object which has any property "xxx"

The JSP has  <s:property value="xxx == null ? 'Not yet determined' : xxx" />

Expected behaviour: As the property xxx is not defined, this should throw an exception.

Behaviour seen: The string "Not yet determined" gets inserted into the HTML output as if nothing were wrong.

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


[jira] Updated: (WW-3318) throwExceptionOnFailure=true doesn't detect undefined property burried in OGNL

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Andreas Krüger updated WW-3318:
-------------------------------

    Summary: throwExceptionOnFailure=true doesn't detect undefined property burried in OGNL  (was: throwExceptionOnFailure=true doesn't detect undefined property burried in ONGL)

> throwExceptionOnFailure=true doesn't detect undefined property burried in OGNL
> ------------------------------------------------------------------------------
>
>                 Key: WW-3318
>                 URL: https://issues.apache.org/struts/browse/WW-3318
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Value Stack
>    Affects Versions: 2.1.8
>            Reporter: Andreas Krüger
>
> Setup:
> struts.el.throwExceptionOnFailure=true in struts.properties
> In the value stack, there is no object which has any property "xxx"
> The JSP has  <s:property value="xxx == null ? 'Not yet determined' : xxx" />
> Expected behaviour: As the property xxx is not defined, this should throw an exception.
> Behaviour seen: The string "Not yet determined" gets inserted into the HTML output as if nothing were wrong.

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


[jira] Updated: (WW-3318) throwExceptionOnFailure=true doesn't detect undefined property burried in OGNL

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Musachy Barroso updated WW-3318:
--------------------------------

    Fix Version/s: 2.2.0

> throwExceptionOnFailure=true doesn't detect undefined property burried in OGNL
> ------------------------------------------------------------------------------
>
>                 Key: WW-3318
>                 URL: https://issues.apache.org/struts/browse/WW-3318
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Value Stack
>    Affects Versions: 2.1.8
>            Reporter: Andreas Krüger
>             Fix For: 2.2.0
>
>
> Setup:
> struts.el.throwExceptionOnFailure=true in struts.properties
> In the value stack, there is no object which has any property "xxx"
> The JSP has  <s:property value="xxx == null ? 'Not yet determined' : xxx" />
> Expected behaviour: As the property xxx is not defined, this should throw an exception.
> Behaviour seen: The string "Not yet determined" gets inserted into the HTML output as if nothing were wrong.

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