PKP Bugzilla – Bug 5500
OAI plugins do not appear to be loading
Last modified: 2010-06-16 15:12:47 PDT
OAI plugins do not appear to be loading. Querying ListMetadataFormats, for example, doesn't return any results. Probably related to recent plugin optimization changes. Test URL is e.g.:
the reason for this problem is that 'oaiMetadataFormats' is not listed as a plugin category in Application::getPluginCategories(). Adding the category seems to correct the issue.
I've not yet committed the patch, wanted to be sure that there wasn't a good reason for the category being missing from the method. Can you see any reason why getPluginCategories() should not return oaiMetadataFormats?
Created attachment 3111 [details]
adds the oai plug-in category
Yes, that category should be listed -- thanks for tracking it down!
BTW: This changes requires an upgrade so that the OAI plug-ins will be inserted into the versions table. The upgrade is idempotent and should execute without error even when it's been executed before.