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

Remove the deprecated method Tools::jsonDecode, Fix Reset & Bump to 1.4.1 #165

Merged
merged 4 commits into from
Apr 6, 2022

Conversation

Progi1984
Copy link
Member

Questions Answers
Description? Remove the deprecated method Tools::jsonDecode
Type? bug fix
BC breaks? no
Deprecations? no
Fixed ticket? Relative to PrestaShop/PrestaShop#27962
How to test? * Install the module (my PR)
* Reset the module (no problem anymore)
* Go to configure page (no problem anymore)
* Release Test

@Progi1984 Progi1984 requested a review from a team March 24, 2022 11:16
@Progi1984 Progi1984 added this to the 1.4.1 milestone Mar 24, 2022
@Progi1984 Progi1984 added the bug Something isn't working label Mar 24, 2022
@florine2623 florine2623 self-assigned this Mar 25, 2022
Copy link
Contributor

@florine2623 florine2623 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @Progi1984 ,

Thanks for the PR !
Tested upgrade to 1.4.1, install, configuration, reset, disable/enable, uninstall.

On PS develop branch (on branch 1.7.8.x it is OK), I get an error when I try to Get my data to PDF or CSV from my customer account 🚫 :

Screen.Recording.2022-03-29.at.11.05.35.mov

Could you check ?
Thanks!

Copy link

@MeKeyCool MeKeyCool left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not convinced by variables replacement. Looks harder to debug. (using variables invite to separate in smaller functions)
Not blocking for me :)
Good to remove Tools::jsonDecode

psgdpr.php Outdated Show resolved Hide resolved
psgdpr.php Outdated Show resolved Hide resolved
psgdpr.php Outdated Show resolved Hide resolved
psgdpr.php Outdated Show resolved Hide resolved
psgdpr.php Outdated Show resolved Hide resolved
Copy link
Contributor

@florine2623 florine2623 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @Progi1984 ,

Tested on 1.7.8.x and develop.
In BO, tested upgrade, reset, disable/enable on desktop and mobile, configuration of module.
Checked in FO in customer account "get your data" buttons and consent checkboxes.

LGTM, it is QA ✅

@kpodemski kpodemski merged commit 719cc58 into PrestaShop:dev Apr 6, 2022
@kpodemski
Copy link
Contributor

Thank you @Progi1984 @florine2623

@Progi1984 Progi1984 deleted the removeToolsJsonDecode branch April 6, 2022 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working QA ✔️
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants