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] Closed: (STR-1808) Warn if an Action path string appears twice in configuration
Date Wed, 04 Jul 2007 05:03:26 GMT

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

Paul Benedict closed STR-1808.
------------------------------

    Resolution: Fixed

> Warn if an Action path string appears twice in configuration
> ------------------------------------------------------------
>
>                 Key: STR-1808
>                 URL: https://issues.apache.org/struts/browse/STR-1808
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.0 Final
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Ralf Hauser
>            Priority: Minor
>             Fix For: 1.3.5
>
>
> By copy and paste error, I had a path twice.
> Luckily the class for the second one wasn't available yet, so, eventually, it
> failed. But it took me a long time to figure out that this was the case because
> I looked at the first occurrence and there everything appeared to be fine.
> Suggestion: When parsing struts-config.xml, abort or at least warn in debug mode
> when a path is ambigous!
> The error I got, that didn't really lead me to the double problem was.
> HTTP Status 500 - No action instance for path /doubleString could be created
> type Status report
> message No action instance for path /doubleString could be created
> description The server encountered an internal error (No action instance for
> path /doubleString could be created) that prevented it from fulfilling this request.

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