inpsyde / wpml2mlp

Convert posts from an existing WPML multilingual site via WXR Export/Import for MultilingualPress
https://wordpress.org/plugins/wpml-to-multilingualpress/
GNU General Public License v2.0
10 stars 6 forks source link

Improve migration process #42

Closed derpixler closed 8 years ago

derpixler commented 8 years ago

What happens when the new MultiSite is different to the source?

Example: Pictures are loaded from the source by there `attachment_url ' and imported to WordPress with default sizes. Is on the source a Theme activated, which uses its own thumbnail formats and this is not installed or active on the target Thumbnails are not generated.

Question: Should wpml2mlp migrate not only the content but remember also to characteristics of the source, when differences block the import and provide instructions to the user?

Fact is: the real problem arises if the new multisite characteristics are not equal to the source. Users perform a export/import and expect that everything works as before. In some cases that will not work because the user forgot to set your systems equal. This affects not only that thumbnail example!


Was passiert eigentlich wenn die neu aufgesetzt Multisite sich von der Quelle unterscheidet?

Beispiel:​ Es werden Bilder anhand der `attachment_url’ von der Quelle geladen und nach WP-Standard Importiert. Hat die Quelle nun ein Theme, welches eigene thumbnail formate nutzt und ist dieses auf dem Ziel nicht installiert oder aktive werden Thumbnails nicht erzeugt.

Frage:​ Sollte wpml2mlp nicht nur die Inhalte migrieren sondern sich auch auf Eigenschaften der Quelle merken, Prüfen, bei Differenzen den Import blockieren und dem Benutzer Handlungsanweisungen geben?

Fakt ist: das eigentliche Problem entsteht denn wenn die neue Multisite installiert wird. Benutzer führen einen Export, einen Import durch und erwarten, dass alles wie gehabt funktioniert. Es wird Anwendungsfälle geben, bei den das nicht funktionieren wird, weil die Benutzer vergessen Ihre Systeme gleich einzustellen. Das betrifft nicht nur, dass Thumbnail Beipsiel!

derpixler commented 8 years ago

Bei einem Import werden Bild von der Quelle heruntergeladen und Thumbs / Formate neu generiert. see https://github.com/inpsyde/wpml2mlp/blob/2.0.0/inc/Import/Service/Importer/WpPostImporter.php#L277