Skip to content
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

Upgrade to 3.3.x can be interrupted due to non-conforming *_settings tables #9487

Closed
jonasraoni opened this issue Nov 4, 2023 · 0 comments · Fixed by pkp/ojs#4096, #9539, #9540, pkp/omp#1486 or pkp/ops#598
Assignees
Labels
Bug:1:Low A bug that does not have a severe consequence or affects a small number of users.
Milestone

Comments

@jonasraoni
Copy link
Contributor

jonasraoni commented Nov 4, 2023

Describe the bug
Due to the code at:
https://github.com/pkp/ojs/blob/a9f7c9abd67c94cdb0d3d0c7b0100d5eb74a7c0a/classes/migration/upgrade/OJSv3_3_0UpgradeMigration.inc.php#L101-L113

A non-conforming settings table (e.g. missing any of the setting_type/setting_name/'setting_value` columns), possibly created by a plugin/user, might fail the upgrade when it's near to its completion.

The offending entity in my use-case was a rt_settings table, inherited from an OJS 2.x installation.

What application are you using?
OJS 3.3

@jonasraoni jonasraoni added the Bug:1:Low A bug that does not have a severe consequence or affects a small number of users. label Nov 4, 2023
@jonasraoni jonasraoni self-assigned this Nov 4, 2023
jonasraoni added a commit to jonasraoni/ojs that referenced this issue Nov 4, 2023
@asmecher asmecher added this to the 3.3.0-17 milestone Nov 20, 2023
@jonasraoni jonasraoni modified the milestones: 3.3.0-17, 3.4.0-5 Nov 27, 2023
jonasraoni added a commit to jonasraoni/pkp-lib that referenced this issue Nov 27, 2023
jonasraoni added a commit to jonasraoni/ojs that referenced this issue Nov 27, 2023
jonasraoni added a commit to jonasraoni/pkp-lib that referenced this issue Nov 27, 2023
jonasraoni added a commit to jonasraoni/ojs that referenced this issue Nov 27, 2023
jonasraoni added a commit to jonasraoni/ops that referenced this issue Nov 27, 2023
jonasraoni added a commit to jonasraoni/omp that referenced this issue Nov 27, 2023
jonasraoni added a commit to jonasraoni/ojs that referenced this issue Jan 11, 2024
jonasraoni added a commit to jonasraoni/ojs that referenced this issue Jan 11, 2024
jonasraoni added a commit to jonasraoni/pkp-lib that referenced this issue Jan 11, 2024
jonasraoni added a commit to jonasraoni/pkp-lib that referenced this issue Jan 11, 2024
jonasraoni added a commit to jonasraoni/ojs that referenced this issue Jan 11, 2024
jonasraoni added a commit to jonasraoni/pkp-lib that referenced this issue Jan 11, 2024
jonasraoni added a commit to jonasraoni/pkp-lib that referenced this issue Jan 11, 2024
jonasraoni added a commit to jonasraoni/ojs that referenced this issue Jan 11, 2024
jonasraoni added a commit to jonasraoni/ops that referenced this issue Jan 11, 2024
jonasraoni added a commit to jonasraoni/ops that referenced this issue Jan 11, 2024
jonasraoni added a commit to jonasraoni/omp that referenced this issue Jan 11, 2024
jonasraoni added a commit to jonasraoni/omp that referenced this issue Jan 11, 2024
jonasraoni added a commit to jonasraoni/pkp-lib that referenced this issue Jan 11, 2024
jonasraoni added a commit to jonasraoni/pkp-lib that referenced this issue Jan 11, 2024
jonasraoni added a commit to jonasraoni/ojs that referenced this issue Jan 11, 2024
jonasraoni added a commit to pkp/ojs that referenced this issue Jan 11, 2024
…-migration-exception

pkp/pkp-lib#9487 Skipped non-conforming setting tables from failing the migration
jonasraoni added a commit that referenced this issue Jan 11, 2024
…-migration-exception

#9487 Skipped non-conforming setting tables from failing t…
jonasraoni added a commit that referenced this issue Jan 11, 2024
…on-exception

#9487 Skipped non-conforming setting tables from failing t…
jonasraoni added a commit to pkp/omp that referenced this issue Jan 11, 2024
…p-invalid-submission-files

pkp/pkp-lib#9487 Skipped non-conforming setting tables from failing t…
jonasraoni added a commit to pkp/ops that referenced this issue Jan 11, 2024
…-invalid-submission-files

pkp/pkp-lib#9487 Skipped non-conforming setting tables from failing t…
ipula pushed a commit to ipula/pkp-lib that referenced this issue Jan 11, 2024
ipula pushed a commit to ipula/pkp-lib that referenced this issue Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment