[BUGFIX] Fix header thumbnail for new inserted records
authorHelmut Hummel <helmut.hummel@typo3.org>
Wed, 21 Nov 2012 09:24:16 +0000 (10:24 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Wed, 21 Nov 2012 22:47:37 +0000 (23:47 +0100)
commite561820fcc398a611ff20f0c22ce0450e50ffde2
tree34fb0f72bd323fb85d31dbe7834ba825e2f481b4
parent47cde0c2cc2321fa1924bd9df4407bd8cc89236e
[BUGFIX] Fix header thumbnail for new inserted records

The header thumbnail is not correctly rendered when
inserting new images because the code tries to fetch
the record which is not created yet.

Use the data of the temporary record instead, to be able to
correctly create the thumbnail in the header.

Fixes: #43189
Releases: 6.0

Change-Id: Ic75fd6c70c8c10777a762f585c4c4b3ec467fe75
Reviewed-on: http://review.typo3.org/16657
Tested-by: Anja Leichsenring
Reviewed-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/backend/Classes/Form/Element/InlineElement.php