Project: Birt
Bug 243394 Failed to load script function which defined in a java project
Reported: 2008-08-07 05:20:20 | Status: closed fixed

Description: I added a function which defined in a jar(java project) in my script function extension. After start my application I can't find this function and only see the Category. After investigation, this kind of function's category needn't to specify Factory Class, so we should not check it when parsing this function. Build number: 2.3.1.v20080807-0630 Steps to reproduce: 1, Create a script function extension 2, Add a function in a java project like org.eclipse.sample.Function 3, Export the project as a jar file and copy it in viewer plug-in scriptlib folder 4, Add this function in extension Expected result: The function should be listed under its category Actual result: In Expression builder, failed to load the function. Error log:

Files changed in fix:
core/org.eclipse.birt.core/src/org/eclipse/birt/core/script/functionservice/impl/FunctionProvider.java