无法在 Magento 1.7.0.2 上应用补丁 SUPEE-6788
-
29-09-2020 - |
题
我正在尝试在Magento v 1.7.0.2上应用Supee-6788补丁,这是系统上当前补丁的列表:
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
正如您所看到的,我相信我已经安装了所有必需的安全补丁(这些补丁是在此补丁之前发布的)
然而,当我尝试进行空运行时,我得到以下信息:(部分转储)
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]
等等。
我觉得这很奇怪。
有人可以帮忙吗?
解决方案
此补丁引入的新文件已经存在,只有一种解释:该补丁已经应用。
我不知道您从哪里获得已应用补丁的信息,但这是错误的。可能的原因是有人应用了补丁但没有提交 app/etc/applied.patches.list
到版本控制。