|
PKP Bugzilla – Full Text Bug Listing |
| Summary: | Check and fix missing controlled vocab data for citation assistant | ||
|---|---|---|---|
| Product: | OJS | Reporter: | Alec Smecher <alec> |
| Component: | General | Assignee: | PKP Support <pkp-support> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | axfelix |
| Priority: | P3 | ||
| Version: | 2.3.7 | ||
| Hardware: | All | ||
| OS: | All | ||
| Version Reported In: | Also Affects: | ||
| Attachments: |
Calls the DB update script from pkp-lib to add controlled vocabulary entries for citation assistant on OJS install
DB update script for pkp-lib to add controlled vocabulary entries for citation assistant on OJS install |
||
|
Description
Alec Smecher
2011-08-10 09:39:30 PDT
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 |