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

Autoupgrade - Autoupgrade from 8.0.5 to 9.0.0 - Fatal Error with "_PS_PRICE_DISPLAY_PRECISION_" #36153

Open
2 tasks done
AureRita opened this issue May 14, 2024 · 3 comments
Open
2 tasks done
Labels
8.0.x Branch Autoupgrade Module: autoupgrade Backlog SUE Added to the SUE backlog BO Category: Back Office Bug Type: Bug Major Severity: major bug > https://build.prestashop.com/news/severity-classification Module Module Ready Status: Issue is ready to be worked on Verified The issue has been reproduced

Comments

@AureRita
Copy link
Contributor

Prerequisites

Describe the bug and add attachments

When you want to upgrade from 8.0.5 to 9.0.0 (last develop version) with an autoupgrade from dev branch ( like autoupgrade#690 ) as you can see :

recording.202.webm

Expected behavior

I expect that I can go on my BO without Fatal Error

Steps to reproduce

  1. Install a fresh version of 8.0.5
  2. install autoupgrade from dev branch (like autoupgrade#690)
  3. Do an upgrade with a archive version to upgrade to develop
  4. At the end of the upgrade, clic on the dashboard
  5. You should Login into BO without Fatal Error

PrestaShop version(s) where the bug happened

8.0.5

PHP version(s) where the bug happened

8.1

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

autoupgrade v5.0.1 from dev branch

Your company or customer's name goes here (if applicable).

PS

@AureRita AureRita added Bug Type: Bug New New issue not yet processed by QA 8.0.x Branch BO Category: Back Office Autoupgrade Module: autoupgrade Module Module labels May 14, 2024
@gericfo gericfo added the Backlog SUE Added to the SUE backlog label May 15, 2024
@florine2623
Copy link
Contributor

florine2623 commented May 15, 2024

Hello @AureRita ,

I have reproduced your issue :

Undefined constant "_PS_PRICE_DISPLAY_PRECISION_"
Screenshot 2024-05-15 at 10 51 52

Screen.Recording.2024-05-15.at.10.51.06.mov

I have access to Dashboard page if a delete/rename the module dashtrends.
My module pages is not accessible, I have a blank page.

Thanks!

@florine2623 florine2623 added Ready Status: Issue is ready to be worked on Verified The issue has been reproduced and removed New New issue not yet processed by QA labels May 15, 2024
@florine2623 florine2623 changed the title Autoupgrade - Autoupgrade from 8.0.5 to 9.0.0 - Fatal Error with PS_Price_Display_Preicision Autoupgrade - Autoupgrade from 8.0.5 to 9.0.0 - Fatal Error with "_PS_PRICE_DISPLAY_PRECISION_" May 15, 2024
@florine2623 florine2623 added the Major Severity: major bug > https://build.prestashop.com/news/severity-classification label May 15, 2024
@Hlavtox
Copy link
Contributor

Hlavtox commented May 15, 2024

@florine2623 @AureRita Usage of this had been removed from the module and released - https://github.com/PrestaShop/dashtrends/releases/tag/v2.1.3

You need to investigate why you dont have dashtrends 2.1.3 after update.

@Quetzacoalt91
Copy link
Member

Need more investigation on this issue before closing it: The bug is likely to happen in the case where the module is manually installed. We can try reproducing it by uninstalling the module and reinstalling the old version by uploading a zip on the module manager.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.0.x Branch Autoupgrade Module: autoupgrade Backlog SUE Added to the SUE backlog BO Category: Back Office Bug Type: Bug Major Severity: major bug > https://build.prestashop.com/news/severity-classification Module Module Ready Status: Issue is ready to be worked on Verified The issue has been reproduced
Projects
None yet
Development

No branches or pull requests

5 participants