Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314316 - Add validation to check whether managed-properties reference managed bean with bigger scope
Summary: Add validation to check whether managed-properties reference managed bean wit...
Status: NEW
Alias: None
Product: Java Server Faces
Classification: WebTools
Component: JSF Tools (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: Future   Edit
Assignee: jsf inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-25 13:45 EDT by Xiaonan Jiang CLA
Modified: 2010-05-25 14:50 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xiaonan Jiang CLA 2010-05-25 13:45:57 EDT
Build Identifier: wtp 3.2

According to JSF specification:
  
  It is an error for a managed bean created through this facility to have a property that points at an object stored in a scope with a (potentially) shorter life span. Specifically, this means, for an object created with the specified <managed-beanscope>, then <value> evaluations can only point at created objects with the specified managed bean scope:  
- none -- none                                                            
- application -- none, application                                        
- session -- none, application, session                                   
- request -- none, application, session, request      

But currently the JSF Application Configuration Validator still does not have this validation.


Reproducible: Always