struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Benedict (JIRA)" <j...@apache.org>
Subject [jira] Updated: (STR-3020) AbstractCreateAction emits error unnecessarily
Date Tue, 27 Mar 2007 22:52:52 GMT

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

Paul Benedict updated STR-3020:
-------------------------------

    Fix Version/s: 1.4.0

> AbstractCreateAction emits error unnecessarily
> ----------------------------------------------
>
>                 Key: STR-3020
>                 URL: https://issues.apache.org/struts/browse/STR-3020
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.3.8
>            Reporter: ori
>            Priority: Minor
>             Fix For: 1.3.9, 1.4.0
>
>
> Some ActionConfigs specify a command class instead of an action class.
> The following code in in AbstractCreateAction will emit an error even though there's
a valid command class specified and no error should be reported to the application developer.
> AbstractCreateAction .java
> --------------
> ...
> 78:    if (type == null) {
> 79:            if ((actionConfig.getForward() == null)
> 80:                && (actionConfig.getInclude() == null)) {
> 81:                LOG.error("no type for " + actionConfig.getPath());
> 82:            }
> ...
> --------------

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


Mime
View raw message