[TASK] Provide information about import action in TCEmain to hooks 15/10515/9
authorStefan Galinski <stefan.galinski@gmail.com>
Tue, 27 Nov 2012 01:31:50 +0000 (02:31 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Sat, 27 Jul 2013 11:47:27 +0000 (13:47 +0200)
commitc4abdecd3bb015c6d18662b931762103cc0dfedf
tree69fbfa2cf291283ca069257a7a278a7805b5a943
parent7f584d6c08aad4d7398a83fc6dc3073a878f32ec
[TASK] Provide information about import action in TCEmain to hooks

While importing T3D files the TCEmain currently fires the required
processing on records just as if the editor is generating the records. If
extensions hook into TCEmain, there is no way to differenciate this
situation from the regular editing mode - which might provide unexpected
results, i.e. wrong IRRE relations.

Solution is to provide a boolean to indicate that TCEmain has been called
during an import action which extensions could use to recognize this
situation.

Change-Id: I4fe429fb88f8ec24a7fda885f38ddfbdb4a642f5
Resolves: #36031
Releases: 4.5, 4.7, 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/10515
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/impexp/Classes/ImportExport.php