Comments (11)
I should've posted this comment here :)
I would support bumping to the latest 3.0.x -- that's 3.0.8, I think. Going to 3.1 would mean a bit more consultation, but 3.0.8 should be backwards-compatible with 3.0.1.
from pkp-lib.
PRs for review, and will be forward-ported once approved:
- OMP 3_3_0: pkp/omp#1630
- OMP 3_3_0 additional PR: pkp/omp#1644
- OMP 3_4_0: pkp/omp#1642
- OMP main: pkp/omp#1643
@bozana would you be able to review?
This PR updates the Onix schema files for the export plugin to version 3.0.2 - this is not the latest version, but adds fields needed to work on other enhancements to the export. This PR doesn't update Onix schema files in other parts of OMP.
I've done work to reduce validation errors in the export, but there are still some edge cases where export validation can fail if tax data is included. Users will be able to use the validation checkbox in these cases (#10132) until we add the needed tax fields later (#10105).
The logic for the <Territory>
nodes was adapted from this documentation (page 3).
from pkp-lib.
@kaitlinnewson, I merged the PR for stable-3_4_0. Could you port it to stable-3_4_0 and main?
from pkp-lib.
Due to the issue in #10173 (which I found when trying to go to 3.0.8), I'm planning to upgrade to 3.0.2 to get some of the changes we need in that version without having to untangle some bigger problems.
from pkp-lib.
@kaitlinnewson, when do we then plan to/when could we update to 3.0.8?
What do you mean with "This PR doesn't update Onix schema files in other parts of OMP." ? What does it mean for us?
Where did you find the 3.0.2 schemas?
Thanks a lot!
from pkp-lib.
Hi @kaitlinnewson, the PR looks good to me. I will wait for the answers above -- to understand it all better -- then we can merge...
Thanks a lot!
from pkp-lib.
The main reason for this update was to get the changes needed to work on #9925. So far it seems that we can do these upgrades as-needed (e.g. if there are new tags we need to export), unless there are community members who are requesting newer versions.
As I've been working with the Onix files I noticed we have several copies of them in OMP - for example, in omp-main
:
$ find . -name 'ONIX_BookProduct_CodeLists.xsd'
./locale/it/ONIX_BookProduct_CodeLists.xsd
./locale/ca/ONIX_BookProduct_CodeLists.xsd
./locale/es/ONIX_BookProduct_CodeLists.xsd
./locale/en/ONIX_BookProduct_CodeLists.xsd
./plugins/importexport/native/ONIX_BookProduct_CodeLists.xsd
./plugins/importexport/onix30/ONIX_BookProduct_CodeLists.xsd
I haven't looked into how they are used, but I'm assuming these are used to populate some of the metadata fields which are using Onix codelists, such as the publication format metadata. Perhaps we should update these separately if we want the versions to be consistent.
The schema files are provided by EDItEUR on their website. Each release has an issue number, and I got these from the Issue 25 schema files zip in order to have version 3.0.2.
from pkp-lib.
I would like to double check those other places to see if we would need to upgrade them as well... I would think that they should be the same -- from the first glance they all look to be the same version...
from pkp-lib.
Hmmm... I see those used in the native importexport plugin are different... So maybe we can let all plugins handle their own ONIX versions appropriately...
from pkp-lib.
@bozana I have forward-ported and updated the list above. I created an additional PR to 3_3_0 as I noticed an unrelated validation issue in my testing of the other branches that is now fixed in all PRs for this issue.
from pkp-lib.
All merged, thus closing...
from pkp-lib.
Related Issues (20)
- Correct possible dropping of notnull from locale columns on upgrade HOT 3
- Duplicated entry on the list of OAI identifiers HOT 1
- Error Database Duplicate Entry HOT 2
- Pressing "Enter" key does not activate "Save" button in some places
- OJS 3.4.0-5 PHP 8.3 site structure, scripts and css lost behind a reverse proxy HOT 1
- [OJS 3.3.0.13] Cannot updated reviewed file, AJAX error HOT 3
- Upgrade Citations plugin to target 3.5 main branch HOT 1
- Error on Submission Deletion Due to Missing Notification Class
- Add queue job unit tests for 3.5
- Add FieldPassword Vue component HOT 9
- csrf token for API calls without user session HOT 5
- check for egrep in convertApacheAccessLogFile fails although file is present at location HOT 4
- Move ORCID connect button to user Identity tab
- DOI XML export errors are discarded at the API level
- Recaptcha and ORCID button on user registration form prevent form submission
- Deleting authenticated ORCIDs should revoke tokens
- Implement ORCID brand guidelines in ORCID functionality
- Use preg_grep instead of egrep in ConvertApacheAccessLogFile
- Fix ConvertApacheAccessLogFile CLI tool HOT 1
- Add support for public commenting on posted/published content
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pkp-lib.