[ https://issues.apache.org/struts/browse/STR-1808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Benedict updated STR-1808:
-------------------------------
Fix Version/s: 1.4.0
> [config] warn about ambiguity if a path string appears twice in struts-config.xml was:
No action instance for path
> ------------------------------------------------------------------------------------------------------------------
>
> 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.4.0
>
>
> 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.
|