|Anonymous | Login | Signup for a new account||09-27-2020 22:45 PDT|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0003723||[Resin]||block||always||10-19-09 19:34||01-07-10 11:21|
|Summary||0003723: @Named("name") doesn't put bean in scope collection|
@ApplicationScoped @Named("foo") should put the bean in the servlet context attributes as "foo", but it doesn't seem to be there. This works on 4.0.0.
Last tested on trunk 2009-10-19.
|That 4.0 behavior was nonstandard. The @ApplicationScoped beans are stored with the same lifecycle as the ServletContext, but they are not stored in ServletContext attributes.|
|Reopened because it's not being put in EL.|
|Is this with a @Stateless or @Session bean? The EJB beans now need a META-INF/ejb-jar.xml to trigger EJB scanning. The ejb-jar.xml can be empty. It's just a marker like beans.xml.|
Checked with @ApplicationScoped, @Stateless bean and @Named and the bean is properly registered with Java Injection.
|10-19-09 19:34||voodude||New Issue|
|11-04-09 19:02||ferg||Note Added: 0004281|
|11-04-09 19:02||ferg||Assigned To||=> ferg|
|11-04-09 19:02||ferg||Status||new => resolved|
|11-04-09 19:02||ferg||Resolution||open => no change required|
|11-04-09 19:03||ferg||Status||resolved => closed|
|11-04-09 19:03||ferg||Fixed in Version||=> 4.0.2|
|11-05-09 08:52||ferg||Note Added: 0004283|
|11-05-09 08:52||ferg||Status||closed => assigned|
|11-09-09 14:08||ferg||Note Added: 0004292|
|12-16-09 09:43||skot||Issue Monitored: skot|
|01-07-10 11:21||ferg||Note Added: 0004371|
|01-07-10 11:21||ferg||Status||assigned => closed|
|01-07-10 11:21||ferg||Resolution||no change required => fixed|
|01-07-10 11:21||ferg||Fixed in Version||4.0.2 => 4.0.3|
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
37 total queries executed.|
30 unique queries executed.