Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 314316

Summary: Add validation to check whether managed-properties reference managed bean with bigger scope
Product: [WebTools] Java Server Faces Reporter: Xiaonan Jiang <xiaonan_jiang>
Component: JSF ToolsAssignee: jsf inbox <jsf-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: raghunathan.srinivasan, yurykats
Version: unspecified   
Target Milestone: Future   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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