Bugs item #870541, was opened at 2004-01-04 22:46 Message generated for change (Settings changed) made by cooperfbi You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=870541&group_id=22866
Category: Nukes Group: CVS HEAD >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Dan Higgins (dan_higgins1) Assigned to: Julien Viet (cooperfbi) Summary: Nukes not evaluting ${config:minAge} correctly Initial Comment: The file ../modules/user/module.html has the following code which is not working properly: ... ${user.WelcomeTo} ${config:siteName} ${user.Registration} ... ${user.MustBe_1} ${config:minAge} ${user.MustBe_2} ... The checkage page shows " ..18 or over, or have parental permission to register here." The number 18 is currently hardcoded in Resource_en_US.properties file. The minAge attribute has a value set in the core mbean but is not parsed correctly. ---------------------------------------------------------------------- Comment By: Dan Higgins (dan_higgins1) Date: 2004-01-05 22:56 Message: Logged In: YES user_id=464007 The bug is in the create method of the CoreModule.java file. The current code is only returning objects that are of type String. minAge is a number and therefore null is being returned. Below is a listing of the previous code and a potential fix. //return (value instanceof String) ? (String) value : null; return (value != null) ? String.valueOf(value) : null; ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=870541&group_id=22866 ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development