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

The customer age is not correct in 'FO > Your account > GDPR - Personal data> PDF file' #29572

Closed
2 tasks done
nesrineabdmouleh opened this issue Sep 7, 2022 · 2 comments
Closed
2 tasks done
Labels
Bug Type: Bug Duplicate Resolution: issue closed because already reported Fixed Resolution: issue closed because fixed FO Category: Front Office GDPR Module: psgdpr Minor Severity: minor bug > https://build.prestashop.com/news/severity-classification

Comments

@nesrineabdmouleh
Copy link
Contributor

Prerequisites

Describe the bug and add screenshots

Customer age is not correct in 'FO > Your account > GDPR - Personal data> PDF file'
The default customer birthdate is 1970-01-15 => in the PDF file his age is 53 years old

Capture d’écran de 2022-09-07 15-45-16

Expected behavior

The default customer birthdate is 1970-01-15 => He should have 52 years old

Steps to reproduce

1 - Go to FO and connect with default customer
2 - Go to 'My account' page
3- Go to 'GDPR - Personal data' page
4- Click on 'GET MY DATA TO PDF'
5- Check the customer age

PrestaShop version(s) where the bug happened

8.0.x

PHP version(s) where the bug happened

7.3

If your bug is related to a module, specify its name and its version

No response

@nesrineabdmouleh nesrineabdmouleh added Bug Type: Bug Minor Severity: minor bug > https://build.prestashop.com/news/severity-classification FO Category: Front Office New New issue not yet processed by QA labels Sep 7, 2022
@florine2623
Copy link
Contributor

Hello @nesrineabdmouleh ,

It has been fixed by PrestaShop/psgdpr#177.

So I close your issue ^^

@florine2623 florine2623 added Duplicate Resolution: issue closed because already reported GDPR Module: psgdpr and removed New New issue not yet processed by QA labels Sep 7, 2022
@prestashop-issue-bot prestashop-issue-bot bot added the Fixed Resolution: issue closed because fixed label Sep 7, 2022
@florine2623
Copy link
Contributor

Duplicate of #29074

@florine2623 florine2623 marked this as a duplicate of #29074 Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Type: Bug Duplicate Resolution: issue closed because already reported Fixed Resolution: issue closed because fixed FO Category: Front Office GDPR Module: psgdpr Minor Severity: minor bug > https://build.prestashop.com/news/severity-classification
Projects
None yet
Development

No branches or pull requests

2 participants