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

Move upgrade step 2418 after 2419 #2263

Merged
merged 1 commit into from
Feb 25, 2023
Merged

Move upgrade step 2418 after 2419 #2263

merged 1 commit into from
Feb 25, 2023

Conversation

ramonski
Copy link
Contributor

Description of the issue/feature this PR addresses

With PR #2262 the schema field ReportOption was removed and a new RenderInReport introduced.

If upgrade step 2418 was not yet run, the provided upgrade conversion step 2419 from #2262 wrote back the original values to the new RenderInReport field, which means that attachments of invalid/retracted analyses were rendered again in reports

Current behavior before PR

Attachments of non-valid analyses are rendered again in the report after 2419 was run

Desired behavior after PR is merged

Attachments of non-valid analyses are ignored in reports after 2420 is run

--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.

@xispa xispa merged commit 65b15ad into 2.x Feb 25, 2023
@xispa xispa deleted the fix-upgrade-step-2418 branch February 25, 2023 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants