<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=condor" rel="nofollow">Condor</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-2076?redirect=false" rel="nofollow">SPR-2076</a></strong> and commented</p>
<p dir="auto">It would be nice if the HTML tags would contain support for message code resolving for the title, alt, accessKey and itemLabel attributes (just like the Struts HTML taglib).</p>
<p dir="auto">I suggest adding titleCode, altCode, accessKeyCode and itemLabelCode attributes to specify a message code instead of a value.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0 RC1</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="398070528" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/7255" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/7255/hovercard" href="https://github.com/spring-projects/spring-framework/issues/7255">#7255</a> form:label/ should have MessageSource support (<em><strong>"duplicates"</strong></em>)</li>
</ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=klr8" rel="nofollow">Erwin Vervaet</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9046?redirect=false" rel="nofollow">SPR-9046</a></strong> and commented</p>
<p dir="auto">When using <code class="notranslate">@ActiveProfiles</code> to activate certain profiles in a test that uses AnnotationConfigContextLoader to load a <code class="notranslate">@Configuration</code> context definition which imports XML application context definitions using <code class="notranslate">@ImportResource</code>, the active profiles are not considered when loading the XML context definition.</p>
<p dir="auto">See the attached files for a test reproducing the problem. This test fails with the following error:</p>
<p dir="auto">org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [test.ContextLoadingProblem$Bar] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {<code class="notranslate">@org</code>.springframework.beans.factory.annotation.Autowired(required=true)}</p>
<p dir="auto">Note that if you use XML throughout (i.e. import one XML context definition from another), the problem does not arise.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.1 GA</p>
<p dir="auto"><strong>Attachments:</strong></p>
<ul dir="auto">
<li><a href="https://jira.spring.io/secure/attachment/19325/bar-context.xml" rel="nofollow">bar-context.xml</a> (<em>613 bytes</em>)</li>
<li><a href="https://jira.spring.io/secure/attachment/19326/ContextLoadingProblem.java" rel="nofollow">ContextLoadingProblem.java</a> (<em>1.31 kB</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="398116450" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13632" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13632/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13632">#13632</a> <code class="notranslate">@ActiveProfiles</code> are not cascaded down to contexts loaded via <code class="notranslate">@ImportResource</code> (<em><strong>"duplicates"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398112653" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13040" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13040/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13040">#13040</a> AnnotatedBeanDefinitionReader's constructor should inherit Environment of supplied BeanDefinitionRegistry</li>
</ul>