From: Deborah P. <pi...@pc...> - 2009-03-05 22:16:11
|
Hi All, Recently, GusApplication.pm (ga) was modified and an argument, workflowstepid, was added to the argument list. Under some circumstances this will cause a plugin to fail with the following error message: FATAL: The plugin is declaring an argument named 'workflowstepid', but that argument was not present when the plugin was last registered. Here's an explanation: When plugins are first run in a database instance or when they are updated with a new svn version number, they are "registered" in the database and there are values stored in the core tables including the set of parameter names the plugins can take which are stored in core.algorithmparamkey table. These include parameters they inherit from ga. If you do an svn update of GUS,Gus/PluginMgr, or ga directly, ga will be updated and will have the new parameter, workflowstepid. If you then try to use a plugin that you have previously run (it was already registered and will not have workflowstepid as one of its core.algorithmparamkeys rows), the plugin will fail with the error given at the top of this mail. If the plugin has a new svn version number or you've never run it in that db instance, there will not be a problem. The plugin wil be registered with all the parameters including workflowstepid. Here's a work-around: If you do update ga and re-run a plugin that fails as described above, you can get around the problem. First, try to do an svn update of the plugin and if there is an update, build and you'll be able to run it. If the plugin isn't updated, edit it to have an inconsequential change (e.g. insert a blank line) and commit it to svn and build. Again, the problem will be solved. Debbie |