[BUGFIX] Request update broken for select fields

For select-type fields displayed as two side-by-side selectors
which are registered as "requestUpdate" fields, the form submission
happens before the value is copied to the left-hand selector.
The form is thus saved without value.

Full description in the bug report, which also contains a
test extension and steps to reproduce.

Resolves: #58755
Releases: 6.2
Change-Id: Ie94def723537202287655c650cee7dfa09815f4f
Reviewed-on: https://review.typo3.org/30044
Reviewed-by: Peter Foerger
Reviewed-by: Fabien Udriot
Tested-by: Fabien Udriot
Reviewed-by: Tomas Norre Mikkelsen
Reviewed-by: Lorenz Ulrich
Tested-by: Lorenz Ulrich
Reviewed-by: Markus Klein
Tested-by: Markus Klein
[BUGFIX] Canonicalize path before checking existence

ResourceFactory fails to detect files in symlinked
scenarios, because the path is not canonicalized before
file existence is checked.

Solution is to canonicalize it and check then.

Resolves: #59303
Releases: 6.2
Change-Id: I4fd763f7076e909f2163af79ed2b7f8642da8ed7
Reviewed-on: https://review.typo3.org/30532
Reviewed-by: Markus Klein
Tested-by: Markus Klein
[BUGFIX] Fix wrong JS function name in RTE

RTE feature "userlinks" generates a wrong JS function
name due to the automatic replacement during the
namespace conversion.

Revert this line to use the correct JS function name.

Resolves: #59302
Releases: 6.2, 6.1, 6.0
Change-Id: Ia6b51e7e1b1dfa0e618106f4f039bd0774464a97
Reviewed-on: https://review.typo3.org/30531
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] ElementBrowser: correct link attributes

This is a regression fix for #55983, which introduced
additional urlencoding for title, class, ...

Remove the encoding again.

Resolves: #59199
Releases: 6.2
Change-Id: I28650676f4ae0b74256a770af12054750027cbfa
Reviewed-on: https://review.typo3.org/30483
Reviewed-by: Markus Bucher
Tested-by: Markus Bucher
Reviewed-by: Tymoteusz Motylewski
Tested-by: Tymoteusz Motylewski
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] Use created folder object for adding images in impexp

A folder to be created could change the name by sanitizing. So
the name of the created folder could differ from the requested
name. For adding the image the returned folder object should be
used.

To avoid that sanitized ones should be created over and over again
a mapping is buffered.

Resolves: #58682
Releases: 6.2
Change-Id: Ia3443c36c6dda8531c8791c221d2a835b25b10b2
Reviewed-on: https://review.typo3.org/29984
Reviewed-by: Bernd Niehues
Tested-by: Bernd Niehues
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[TASK] Check and use current file hash and size on export

On creating exports the file hash and size is used from the
sys_file table. Since this could be not up-to-date in real live
projects, those files fail to be imported.

To prevent this, use the correct data for the export and show
an error to the user.

Resolves: #58761
Releases: 6.2
Change-Id: I7aacc6f00c52bc01c753af4ee32202a9219c02a1
Reviewed-on: https://review.typo3.org/30061
Reviewed-by: Bernd Niehues
Tested-by: Bernd Niehues
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] DataHandler::log() must not return NULL

Ensure the DataHandler::log() function does return integers
in all cases as denoted in the doc header.

Resolves: #59185
Releases: 6.2, 6.1, 6.0
Change-Id: I2a6aa0415b7cc19f10b4a290e43bd20065e6c9e1
Reviewed-on: https://review.typo3.org/30479
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] Old TYPO3 logo still in use in ext:workspaces

Replace old logo with the new logo.

Resolves: #59321
Releases: 6.2
Change-Id: I1b4386e0ee614096b4033f00d9fe9136d11a63c7
Reviewed-on: https://review.typo3.org/30548
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] List module pagination broken

A wrong formula is used to calculate the pointer
for the pages.
This patch also introduces a central function for
calculating the pointer to a page.

Resolves: #55320
Releases: 6.2
Change-Id: Ia4eec61f4f87b52d0d5e940e542998f9f82aa140
Reviewed-on: https://review.typo3.org/29949
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Tested-by: Tymoteusz Motylewski
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] Show file instead of file_reference info

The irre elements of FAL items have an info icon which shows
some details info about the file_reference. But this is not
the info an editor is looking for he wants the file info.

This patch changes the link behind the info icon for FAL items
so it shows the file info.

Resolves: #57302
Resolves: #57832
Releases: 6.2
Change-Id: I3c4b867ceb5bc05e1cb62525450102784793fadc
Reviewed-on: https://review.typo3.org/29651
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Sebastian Fischer
Tested-by: Nico de Haen
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] Show storage and folder of file/folder

To make it possible for an editor to find the real
location of a used file, the storage and folder are
added to the ElementInformation view of a file and folder.

Resolves: #57798
Releases: 6.2
Change-Id: I7c8104809bad49a6df1ec625cf3463a96526ede2
Reviewed-on: https://review.typo3.org/30558
Reviewed-by: Einar Gislason
Tested-by: Einar Gislason
Reviewed-by: Markus Klein
Tested-by: Markus Klein
[BUGFIX] Fix frontend unit tests if executed standalone

* Allow HTTP_HOST access for all unit tests
* Remove allow all in data provider

The latter implicitly caused a global allow, as PHPUint parses
all data providers before any test is run, thus setting globals there
will cause them to be preserved (and restored when backup globals is true).

Releases: 6.2, 6.1, 6.0
Resolves: #59343
Change-Id: I646294bb472027e22d6edc0622068698fe9a88fc
Reviewed-on: https://review.typo3.org/30560
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
Reviewed-by: Markus Klein
Tested-by: Markus Klein
[BUGFIX] Show content elements from hidden pages in preview

Content elements from hidden pages are no longer shown in previews.

Fix this by checking with a strong comparison in enableFields() whether
the $show_hidden parameter is set to the default value.

Fixes: #58148
Related: #57814
Releases: 6.2
Change-Id: I2e20db88a513adb1a4d7599591fd3affdb60f209
Reviewed-on: https://review.typo3.org/30212
Tested-by: Dirk Klimpel
Reviewed-by: Mario Rimann
Reviewed-by: David Hoeckele
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
[BUGFIX] Warning in SearchController

$this->sWArr is not defined SearchController.
Fix this to use the correct $this->searchWords variable.

Change-Id: Iba888f1a47dcc0952ffbbb1e3bb4413435c2a95e
Resolves: #59277
Releases: 6.2, 6.1
Reviewed-on: https://review.typo3.org/30512
Reviewed-by: Alexander Opitz
Reviewed-by: Christian Zenker
Tested-by: Christian Zenker
Reviewed-by: Markus Klein
Tested-by: Markus Klein
[BUGFIX] Illegal string offset 'uid' in TypoScriptFrontendController

Logoff sets user property to an empty string instead of NULL. This
leads to a PHP Warning in PHP 5.4

Change-Id: Ib0e1a31dbf2fd3fcbcf1e7afd972b53d60c3ab5d
Resolves: #59364
Releases: 6.2, 6.1
Reviewed-on: https://review.typo3.org/30588
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] Improve the formatting of help of the CommandController

This aligns the description of the command line options.

Resolves: #59372
Releases: 6.2
Change-Id: I474f8415d3ed62d583553f915edc3caa8189a803
Reviewed-on: https://review.typo3.org/30594
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Markus Klein
Tested-by: Markus Klein
[CLEANUP] Add missing PHP comments in class LogoView

Change-Id: I13d428c7b8a3964e8c376ad2c8d2a4af8c0059f1
Releases: 6.2
Resolves: #59374
Reviewed-on: https://review.typo3.org/30596
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] Show images in preview of page module

For custom content elements with image these are shown
as thumbs in the list module but not in the page module.

This patch also renders the images when present just
like the bodytext.

Resolves: #59375
Releases: 6.2
Change-Id: If39e8b22af6144e5d6990a741559bd7574ee5e09
Reviewed-on: https://review.typo3.org/30598
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] Disabled backend users shown for workspace stage change

On changing the stage of a workspace version, an accordant
dialog is shown with recipients to be informed about this
action. However, disabled backend users are shown in this
dialog as well.

Resolves: #54925
Releases: 6.2
Change-Id: Iefae9e35e9c680783769260e8c3e38180bde5703
Reviewed-on: https://review.typo3.org/26773
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] Admin panel extGetFeAdminValue() overrides are wrong

The current check does not properly consider the override values.
If a override is set, then its value has to be taken.
The current check only considered overrides which had
boolean value TRUE.

Resolves: #58339
Releases: 6.2, 6.1
Change-Id: Ib714432044c6a88fc92dcb8f36a4e37eb3412378
Reviewed-on: https://review.typo3.org/29730
Reviewed-by: Gerrit Mohrmann
Tested-by: Gerrit Mohrmann
Reviewed-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters