tiles-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli (JIRA)" <j...@apache.org>
Subject [jira] Closed: (TILES-487) BaseLocaleUrlDefinitionDAO not stripping tab and newline chars from file resources
Date Sat, 21 Nov 2009 08:54:14 GMT

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

Antonio Petrelli closed TILES-487.
----------------------------------

    Resolution: Won't Fix

This is a Spring "bug" (or whatever) not a Tiles one.

> BaseLocaleUrlDefinitionDAO not stripping tab and newline chars from file resources
> ----------------------------------------------------------------------------------
>
>                 Key: TILES-487
>                 URL: https://issues.apache.org/struts/browse/TILES-487
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-core
>    Affects Versions: 2.1.3
>         Environment: Windows
>            Reporter: Travis Warren
>            Priority: Minor
>
> Seems to be a bug with BaseLocaleUrlDefinitionDAO used by TilesConfigurer when using
auto code formatting in IDE's such as eclipse.
> The following code has tab / new line characters that are not stripped off in the BaseLocaleUrlDefinitionDAO.identifySources
applicationContext.getResources(resources[i]) (line 188) call. 
> End result is that a FileNotFoundException is thrown (value is /WEB-INF/layouts/layouts.xml\n\t\t\t\t).
> <bean class="org.springframework.web.servlet.view.tiles2.TilesConfigurer"
> 		id="tilesConfigurer">
> 		<property name="definitions">
> 			<list>
> 				<value>/WEB-INF/layouts/layouts.xml
> 				</value>
> 				<!-- Scan views directory for Tiles configurations -->
> 				<value>/WEB-INF/views/**/views.xml
> 				</value>
> 			</list>
> 		</property>
> 	</bean>

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