Impossible d'appliquer le patch SUPEE-6788 sur Magento 1.7.0.2
-
29-09-2020 - |
Question
J'essaie d'appliquer le patch Supee-6788 sur Magento V 1.7.0.2 Voici une liste des correctifs actuels sur le système:
2015-04-28 13:33:57 UTC | SUPEE-5345 | EE_1.12.0.2 | v1 | 2d36f61cf684ed26286b6d10307fcb99dd47ff02 | Thu Feb 5 19:39:01 2015 +0200 | v1.12.0.2..HEAD
2015-04-28 13:34:41 UTC | SUPEE-1533 | EE_1.12 | v1 | _ | n/a | SUPEE-1533_EE_1.12_v1.patch
2015-06-29 09:18:59 UTC | SUPEE-5994 | CE_1.6.0.0 | v1 | _ | n/a | SUPEE-5994_CE_1.6.0.0_v1.patch
2016-04-17 22:32:10 UTC | SUPEE-6285 | CE_1.7.0.2 | v1 | 84749c91e14543e1f96af30e86efdf29f4562c98 | Tue Jun 23 09:48:07 2015 +0300 | c6e6cee8eb..84749c91e1
Comme vous pouvez le voir, je pense avoir installé tous les correctifs de sécurité requis (qui ont été publiés avant celui-ci).
Cependant, lorsque j'essaie de faire un essai à sec, j'obtiens ce qui suit :(vidage partiel)
The next patch would create the file app/code/core/Mage/Admin/Model/Block.php,
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file app/code/core/Mage/Admin/Model/Resource/Block.php,
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file app/code/core/Mage/Admin/Model/Resource/Block/Collection.php,
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file app/code/core/Mage/Admin/Model/Resource/Variable.php,
which already exists! Assume -R? [n]
Apply anyway? [n]
Et ainsi de suite.
Cela me semble très étrange.
Quelqu'un peut-il m'aider ?
La solution
Les nouveaux fichiers introduits avec ce patch existent déjà et il n'y a qu'une seule explication :Le patch a déjà été appliqué.
Je ne sais pas d'où vous obtenez les informations sur les correctifs déjà appliqués, mais c'est faux.Une raison possible est que quelqu'un a appliqué le correctif mais ne l'a pas validé. app/etc/applied.patches.list
au contrôle de version.