Skip to content
This repository was archived by the owner on Feb 1, 2021. It is now read-only.
This repository was archived by the owner on Feb 1, 2021. It is now read-only.

Bug in pscleaner free module #63

Description

@hanicab

Describe the bug
When we click 'repair database' bouton, the module empties the table 'stock_mvt' and delete all existing columns in this table.

To Reproduce
Steps to reproduce the behavior:

  1. Add or edit a stock for some products ( to create some stock movments history )
  2. Go to pscleaner module
  3. Click on 'repair database'
  4. go to phpmyadmin and check the table 'stock_mvt'
  5. You will see that the table has become empty

Cause of problem:
I think because in prestashop 1.7.5.0 the table stock is always empty , so when the module try to compare id_stock in the both tables , it will delete all columns of the table 'stock_mvt'

Additionnal information
PrestaShop version: 1.7.5.0
PHP version: 7.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions