-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal error when exporting submission with the Native XML #9414
Comments
@defstat, passing to you to consider for quality-of-life import/export issues. |
Regarding the |
I'am, maybe, stating something obvious here, but I want to clear that in my head mostly: I think that the
For the 1. above, the submission file should get the context's For the 2. above - a general comment: I am wondering what is the correct way to deal with that taking into account that the user that executes the process, thus the creation of the Technically adding one, non globally acceptable identifier (the OJS's id or even the username are not globally acceptable identifiers) is not sufficient to match the user. Maybe adding more data for the user (name, surname, ORCID, etc) may decrease the possibility of a wrong user matching, but it will increase the possibility of not matching the user to an existing one at the target installation. If we add the id of actual user that uses the import tool as There could be a mixed approach to that, namely add the found Generally I would advocate that always/consistently keeping the actual creator id of the "current" installation makes more sense to me, than "migrating" a user id or username from an installation to another one for "systemic data" such as the For the 3. above - If there is such a case, we might consider a "system user" "special" id that does not correspond to a real user - something equivalent to the |
As another user had the problem, I've just uploaded a fast-fix (the code was already expecting an empty uploader). |
Regarding the discussion: Then about the fix:
|
@jonasraoni thanks. I think this is already fixed in the codebase for Native Import/Export Plugin. Before closing this issue I will tag @bozana in order to see if another issue should be opened regarding the @bozana, @jonasraoni your thoughts on that? |
Describe the bug
When trying to export a submission file that doesn't have an
uploaderUserId
, the following error happens:This is related to #8493, and there are other places in the codebase that require attention.
In case this field didn't exist in the past (e.g. OJS 2.x) or if it's related to bugs, an alternative fix would be assign the admin user to the null cells on a next upgrade (3.5).
What application are you using?
OJS 3.4
The text was updated successfully, but these errors were encountered: