zzyycc / bulk-loader

Automatically exported from code.google.com/p/bulk-loader
0 stars 0 forks source link

BulkLoader.registerNewType should lowercase atType parameter too #114

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a custom LoadingItem
2. Call BulkLoader.registerNewType with a string continaing Capital 
Letters in the 2nd parameter

You'll get a run time error Error #1007: Instantiation attempted on a non-
constructor.

This is because Loader.registerNewType doesn't cast to lowercase the 
atType parameter whilst BulkLoader.add does it while searching for the 
type class.

Original issue reported on code.google.com by ennevale...@virgilio.it on 26 Jan 2010 at 2:04

GoogleCodeExporter commented 8 years ago
Hi Enne.

Thank you for the detailed report. This is fixed in r316 (with a regression 
test as well).

Best regards

Original comment by debert on 29 Jan 2010 at 1:30