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

Error 500 fix for Admin Categories If description null (backport from develop) #36122

Merged
merged 1 commit into from May 15, 2024

Conversation

ShaiMagal
Copy link
Contributor

@ShaiMagal ShaiMagal commented May 9, 2024

Questions Answers
Branch? 8.1.x
Description? Error fix for stripslashes(): Argument #1 ($string) must be of type string, null given. The parameter is null after migration. Please can we use the if condition and check if it's not null? Because if it is null gives a 500 error. ORIGINAL IDEA BY @uguranium - we should backport it to 8.1.x branch, because it's very common problem, so 8.1. customers must benefit from this fix as well, not in develop, but now.
Type? bug fix
Category? BO
BC breaks? no
Deprecations? no
How to test?
UI Tests https://github.com/nicosomb/ga.tests.ui.pr/actions/runs/9032410643
Fixed issue or discussion?
Related PRs #30922
Sponsor company https://www.openservis.cz/

@prestonBot prestonBot added 8.1.x Branch Bug fix Type: Bug fix labels May 9, 2024
@ShaiMagal ShaiMagal changed the title Update AbstractCategoryDataFactory.php Error 500 fix for Admin Categories If description null (backport from develop) May 9, 2024
@ShaiMagal ShaiMagal marked this pull request as ready for review May 9, 2024 17:22
@ShaiMagal ShaiMagal requested a review from a team as a code owner May 9, 2024 17:22
@ShaiMagal ShaiMagal requested a review from Hlavtox May 9, 2024 17:22
@PrestaShop PrestaShop deleted a comment from prestonBot May 9, 2024
@Hlavtox Hlavtox added this to the 8.1.6 milestone May 10, 2024
@ps-jarvis ps-jarvis added the Waiting for QA Status: action required, waiting for test feedback label May 10, 2024
@matthieu-rolland matthieu-rolland modified the milestones: 8.1.6, 8.1.7 May 14, 2024
@paulnoelcholot
Copy link

paulnoelcholot commented May 15, 2024

Ping @PrestaShop/prestashop-core-developers : QA by dev please, it's to technical. Can be tested like #30922 I think.

Thanks in advance!

@paulnoelcholot paulnoelcholot added the Waiting for dev Status: action required, waiting for tech feedback label May 15, 2024
@kpodemski kpodemski removed Waiting for QA Status: action required, waiting for test feedback Waiting for dev Status: action required, waiting for tech feedback labels May 15, 2024
@kpodemski kpodemski merged commit 56d7ee0 into PrestaShop:8.1.x May 15, 2024
38 checks passed
@kpodemski
Copy link
Contributor

thank you @ShaiMagal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.1.x Branch Bug fix Type: Bug fix
Projects
Status: Waiting for PM/UX/Dev
Development

Successfully merging this pull request may close these issues.

None yet

9 participants