Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] 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
Reporter voodude View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.3 Product Version 4.0.2
  Product Build
Summary 0003723: @Named("name") doesn't put bean in scope collection
Description @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.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0004281)
ferg
11-04-09 19:02

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.
 
(0004283)
ferg
11-05-09 08:52

Reopened because it's not being put in EL.
 
(0004292)
ferg
11-09-09 14:08

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.
 
(0004371)
ferg
01-07-10 11:21

ejb/207-

Checked with @ApplicationScoped, @Stateless bean and @Named and the bean is properly registered with Java Injection.
 

- Issue History
Date Modified Username Field Change
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.
Powered by Mantis Bugtracker