You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2007/04/09 06:42:51 UTC

[jira] Resolved: (STR-3020) AbstractCreateAction emits error unnecessarily

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

Paul Benedict resolved STR-3020.
--------------------------------

    Resolution: Fixed

> 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
>
>
> 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.