Domanda

Sto cercando di applicare la patch SUPEE-6788 su Magento V 1.7.0.2 Ecco un elenco delle cerotte correnti sul sistema:

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
.

Come puoi vedere credo di avere tutte le patch di sicurezza richieste installate (che sono state rilasciate prima di questo)

Tuttavia, quando provo a fare una corsa a secco, ottengo il folllowing: (Discarica parziale)

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] 
.

E così via.

Sembra molto strano per me.

qualcuno può aiutare?

È stato utile?

Soluzione

I nuovi file introdotti con questa patch già esistono e c'è solo una spiegazione: la patch è già stata applicata.

Non so da dove hai ottenuto le informazioni sulle patch già applicate, ma è sbagliato.Una possibile ragione è che qualcuno ha applicato la patch ma non ha commesso app/etc/applied.patches.list al controllo della versione.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange
scroll top