Share

JSF integration code for Spring

Tracker: Bugs

5 ManagedBeanDefinitionParser doesn't trim classname string - ID: 1289345
Last Update: Settings changed ( akuhrwahl )

In 3.0.0M2
ManagedBeanDefinitionParser.parseManagedBeanDefinition
doesn't trim whitespace of the classname read.

Line 284:
String beanClassName = DomUtils.getTextValue((Element)
element.getElementsByTagName(CLASS_ELEMENT).item(0));


Should add below it:
if (beanClassName != null) beanClassName =
beanClassName.trim();

(Took me needlessly long time to find out what was
wrong) Classname with extra spaces worked in 3.0.0M1
and JSF implementations can trim out the spaces as
well. I guess same could be done for scope but it seems
to work even without trimming.


Kalle Korhonen ( kaosko ) - 2005-09-13 04:37

5

Closed

Fixed

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2005-09-13 07:55
Sender: akuhrwahlProject Admin

Logged In: YES
user_id=1055325

fixed on head


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2005-12-19 15:38 akuhrwahl
resolution_id None 2005-12-19 15:38 akuhrwahl
close_date - 2005-12-19 15:38 akuhrwahl