History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: STS-293
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Tim Fennell
Reporter: Jakub Korab
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Stripes

ActionResolver.PackageFilters does not handle white space gracefully

Created: 25/Oct/06 02:50 PM   Updated: 29/Oct/06 05:03 AM
Component/s: ActionBean Dispatching
Affects Version/s: Release 1.4.1
Fix Version/s: Release 1.4.2


 Description  « Hide
The ActionResolver.PackageFilters init-param for the StripesFilter does not handle white space. For example, the following value will result in only ActionBeans under id.me.somepackage being located:

<param-value>
id.me.somepackage,
id.me.someotherpackage
</param-value>
 
The following, on the other hand, locates ActionBeans in both id.me.somepackage and id.me.someotherpackage:

<param-value>
id.me.somepackage,id.me.someotherpackage
</param-value>


 All   Comments   Change History      Sort Order:
Tim Fennell [29/Oct/06 05:03 AM]
This is now fixed. It'll tolerate whitespace including new lines. I also checked anywhere else String.split() is being used (as it was here) and ensured they now use the same strategy to split things apart.