Project

General

Profile

Actions

Task #92346

closed

Enable ext:impexp to include export presets in export

Added by Alexander Nitsche over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Import/Export (T3D)
Start date:
2020-09-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

Description

This task should improve the comfort of exporting and importing TYPO3 export presets along with the main export.

Status Quo

In order to export TYPO3 database and files and the export presets one currently has to

A) TYPO3 Source Instance

1) configure export (EXT:impexp)
2) save the export configuration as preset (EXT:impexp)
3) export (EXT:impexp)
4) export the presets separately (phpmyadmin et al)

and

B) TYPO3 Target Instance

5) import database and files in the new TYPO3 instance (EXT:impexp)
6) import the presets separately (phpmyadmin et al)

Quo Vadis

This should be reduced to

A) TYPO3 Source Instance

1) configure export including database table "tx_impexp_presets" (EXT:impexp)
2) save the export configuration as preset (EXT:impexp)
3) export (EXT:impexp)

and

B) TYPO3 Target Instance

4) import database and files including presets in the new TYPO3 instance (EXT:impexp)

Implementation

The export configuration presets are missing a TCA and thus are not listed as exportable table in EXT:impexp. Adding the TCA will provide it there. Side effects are that the export presets become visible and maintainable by admins in the Web->List module (pid=0). The presets currently contain these fields:

- title (preset title)
- public (preset usable by non-priviledged users?)
- user_uid (preset creator)
- item_uid (export page root)
- preset_data (full export configuration)

I would set title and public as editable and the other fields as read only.

Question

Are there any other (negative) side effects from adding a TCA for tx_impexp_presets?


Files

impexp_preset_export_1_include_tables.png (72.3 KB) impexp_preset_export_1_include_tables.png Alexander Nitsche, 2020-09-19 16:16
impexp_preset_export_2_save_preset.png (50.1 KB) impexp_preset_export_2_save_preset.png Alexander Nitsche, 2020-09-19 16:16
impexp_preset_export_3_include_presets.png (69.9 KB) impexp_preset_export_3_include_presets.png Alexander Nitsche, 2020-09-19 16:16
impexp_preset_export_4_list_preset_record.png (68.4 KB) impexp_preset_export_4_list_preset_record.png Alexander Nitsche, 2020-09-19 16:16
impexp_preset_export_5_show_preset_record.png (78.9 KB) impexp_preset_export_5_show_preset_record.png Alexander Nitsche, 2020-09-19 16:16
copyPreset.php (1.21 KB) copyPreset.php example script for duplicating an impexp preset Rémy DANIEL, 2020-10-02 23:04

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Story #85430: Improve usability of impexp and add documentationClosed2018-06-29

Actions
Related to TYPO3 Core - Bug #92985: Cannot show record history of pages anymore in TYPO3 v10.4.10Rejected2020-12-04

Actions
Actions

Also available in: Atom PDF