<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=jonchase" rel="nofollow">Jon Chase</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-3954?redirect=false" rel="nofollow">SPR-3954</a></strong> and commented</p>
<p dir="auto">Here's the forum thread that covers the bug: <a href="http://forum.springframework.org/showthread.php?t=44442" rel="nofollow">http://forum.springframework.org/showthread.php?t=44442</a></p>
<p dir="auto">Basically, when using the Spring MVC JSP forms taglib in FreeMarker templates, binding errors are not output by the &lt;form:errors /&gt; tag.  Other tags seem to work fine, however.</p>
<p dir="auto">I'll attach an example project that shows the issue.</p>
<p dir="auto">I've tried stepping through things in the debugger to see what's happening.  The error message is there, and it's being written to a buffer inside one of hte Spring custom tags (although I was kind of lost at that point:)), but it doesn't seem to make its way into the output.</p>
<p dir="auto">Interestingly, if I use the form:errorssome message&lt;/form:errors&gt; variation, the "some message" is printed out (although it's not possible to get the real errors, so this doesn't help much, just shows that the error is certainly "there").  Also, I can use the FreeMarker macors that come with Spring MVC (bind and showErrors) to display the error message.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0.6, 2.1 M4</p>
<p dir="auto"><strong>Attachments:</strong></p>
<ul dir="auto">
<li><a href="https://jira.spring.io/secure/attachment/12981/springjsp.zip" rel="nofollow">springjsp.zip</a> (<em>6.27 MB</em>)</li>
</ul>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398077603" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/8110" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/8110/hovercard" href="https://github.com/spring-projects/spring-framework/issues/8110">#8110</a> form:errors and form:option JSP tags don't render in FreeMarker templates (<em><strong>"duplicates"</strong></em>)</li>
</ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=david_syer" rel="nofollow">Dave Syer</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-8683?redirect=false" rel="nofollow">SPR-8683</a></strong> and commented</p>
<p dir="auto">AntPathMatcher.AntPatternComparator algorithm wrong for hierarchical matches,  Consider an incoming request</p>
<p dir="auto">GET /hotels/foo/rooms</p>
<p dir="auto">and two patterns that match</p>
<p dir="auto">1: /hotels/{hotel}/**<br>
2: /**</p>
<p dir="auto">Intuitively 1 is more specific than 2, so the comparator should return negative with compare(1,2) (i.e. 1&lt;2).  Unfortunately this is not the case because the comparator thinks that 2 is more specific because it has fewer matching points (wildcards + brackets).</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0.6</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398158936" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/15181" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/15181/hovercard" href="https://github.com/spring-projects/spring-framework/issues/15181">#15181</a> Assign lowest priority to "/<strong>" in AntPathMatcher (_</strong>"duplicates"**_)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398112406" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13002" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13002/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13002">#13002</a> AntPatternComparator prefers a less specific match when brackets occur</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398102244" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11407" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11407/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11407">#11407</a> RequestMapping with 3 PathVariable doesn't work</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398107712" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12245" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12245/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12245">#12245</a> Determination of the best pattern match to map a handler to an URL</li>
</ul>
<p dir="auto"><strong>Referenced from:</strong> commits <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-attic/spring-framework-issues/commit/876f756e062339a29b7e5591e9dd6b9fc9ed4c4c/hovercard" href="https://github.com/spring-attic/spring-framework-issues/commit/876f756e062339a29b7e5591e9dd6b9fc9ed4c4c">spring-attic/spring-framework-issues@<tt>876f756</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-attic/spring-framework-issues/commit/4332c1bb16ebae12602775a4d9780c75db12ea3e/hovercard" href="https://github.com/spring-attic/spring-framework-issues/commit/4332c1bb16ebae12602775a4d9780c75db12ea3e">spring-attic/spring-framework-issues@<tt>4332c1b</tt></a></p>
<p dir="auto">6 votes, 10 watchers</p>