PKP Bugzilla – Bug 6817
Check and fix missing controlled vocab data for citation assistant
Last modified: 2012-03-12 12:50:02 PDT
See http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&t=7814 for details.
Created attachment 3625 [details] Calls the DB update script from pkp-lib to add controlled vocabulary entries for citation assistant on OJS install pkp-lib fix attached separately (this doesn't seem ideal -- alec?)
Created attachment 3626 [details] DB update script for pkp-lib to add controlled vocabulary entries for citation assistant on OJS install
Need to run "php tools/dbXMLtoSQL.php -data execute lib/pkp/xml/controlledVocabMetadata.xml" to add database entries if OJS has already been installed -- the attached patches are only called on installation. **Not entirely sure of the difference between -data and -schema arguments for dbXMLtoSQL; this could use a look.
Alex, the -data option is correct in this case. (Note that the attached patches will still need to be applied first.) FYI, -schema is for XML docs with a <schema> root node; -data is for XML docs with a <data> root node.
Thanks. I'd gathered, just wanted a double-check. Glad that this in fact took me all of the five minutes I expected after putting it off so long...
Add missing controlled vocab data for citation assistant https://github.com/pkp/pkp-lib/commit/9106d10b3a6a09cb7c2d9e357561d399ff29f0da
Add missing controlled vocab data for citation assistant https://github.com/pkp/ojs/commit/be26170e478cb326593252a1fb05484786e8b40a