Packages/TYPO3.CMS.git
5 years ago[BUGFIX] Fetch RSA public key by Ajax before login 93/28893/5
Helmut Hummel [Wed, 26 Mar 2014 22:44:54 +0000 (23:44 +0100)]
[BUGFIX] Fetch RSA public key by Ajax before login

Currently public and private RSA keys are generated when rendering the
login form. This has several drawbacks.

It can lead to strange and hard to debug errors when a second request is
done in the same browser, which invalidates the key for the current
login form (#38660), opening a second login in a different tab
invalidates the key on the first tab and finally when the login form
stays open until the PHP session expires (parts of the private key are
stored in the PHP session), the key is also invalid for the form.

Solution is to create a new key pair on the fly when a user clicks the
submit button and fetch the public key via Ajax.

This change implements this for the backend login. Frontend login should
be tackled in a different patch.

Resolves: #37421
Releases: 6.2
Change-Id: I0cd9a049d892ee872436347153a0e1114b17585d
Reviewed-on: https://review.typo3.org/28893
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Do not reset Page Renderer on partial rendering 70/28770/6
Stefan Froemken [Tue, 25 Mar 2014 14:55:19 +0000 (15:55 +0100)]
[BUGFIX] Do not reset Page Renderer on partial rendering

Currently the Page Renderer is reset when calling
the render() method, even if only one part (header
or footer) is rendered, which causes a second call
to fail, when rendering another part.
This happens e.g in DocumentTemplate.php where
the render() method is called two times. Because of
the reset, the second call starts pageRenderer with
empty properties.

Solution is to only call reset if everything is rendered.

Resolves: #57294
Releases: 6.2
Change-Id: Ib4800e37ba0760617de71f9ca1181d1664463e33
Reviewed-on: https://review.typo3.org/28770
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] TceformsUpdateWizard: Throw exception if database query fails 93/29093/2
Markus Klein [Wed, 2 Apr 2014 15:57:59 +0000 (17:57 +0200)]
[TASK] TceformsUpdateWizard: Throw exception if database query fails

Inform the user, if the database SELECT query fails during the wizard.

Resolves: #57572
Releases: 6.2
Change-Id: I0908aff5d58d6d309b471c810d924f26fc1ca577
Reviewed-on: https://review.typo3.org/29093
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Steffen Müller
Tested-by: Steffen Müller
5 years ago[BUGFIX] FAL: Prevent invalid NULL value on metadata creation 28/29028/7
Markus Klein [Tue, 1 Apr 2014 14:11:40 +0000 (16:11 +0200)]
[BUGFIX] FAL: Prevent invalid NULL value on metadata creation

The cruser_id field is now guaranteed to be an integer.
This patch checks if a BE_USER is available and uses zero
otherwise.

Resolves: #57495
Related: #46020
Releases: 6.2
Change-Id: I8260604eb30ca32d2a5e079fa6f5b10a6d04714e
Reviewed-on: https://review.typo3.org/29028
Reviewed-by: Nicole Cordes
Reviewed-by: Jigal van Hemert
Reviewed-by: Frans Saris
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Marker missing for page.includeCSSLibs 97/28997/2
Markus Klein [Mon, 31 Mar 2014 19:44:52 +0000 (21:44 +0200)]
[BUGFIX] Marker missing for page.includeCSSLibs

The HTML templates are missing the marker for the
introduced page.includeCSSLibs TS feature in 6.2

Resolves: #57467
Releases: 6.2
Change-Id: I83d7c7f34fc83c4c699bad7edfaa03c6684497fe
Reviewed-on: https://review.typo3.org/28997
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[CLEANUP] Remove option "edit_wideDocument" 69/28769/4
Benjamin Mack [Tue, 25 Mar 2014 14:54:47 +0000 (15:54 +0100)]
[CLEANUP] Remove option "edit_wideDocument"

The historical option "wide document" can
be safely removed, as the wide screen options
from 10 years ago are default by now.

Resolves: #57295
Releases: 6.2
Change-Id: I0e5c81046733f4ddd10cc7d084f0ef7b952c3cb0
Reviewed-on: https://review.typo3.org/28769
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Simon Schaufelberger
Tested-by: Simon Schaufelberger
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[TASK] Readd search string in module "Configuration" 15/29015/3
Georg Ringer [Tue, 1 Apr 2014 09:54:19 +0000 (11:54 +0200)]
[TASK] Readd search string in module "Configuration"

The input field of the configuration module's search
is never populated with the search term.

Solution: move one line some lines up to get the value.

Releases: 6.2
Resolves: #57486
Change-Id: I7ff86e3336cb473df259c3aeb7d0c918fbc48bab
Reviewed-on: https://review.typo3.org/29015
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[BUGFIX] Use last result line of identify command 76/28076/2
Alexander Stehlik [Wed, 5 Mar 2014 13:48:07 +0000 (14:48 +0100)]
[BUGFIX] Use last result line of identify command

In GraphicalFunctions::imageMagickIdentify() the last line returned by
the executed command will be used as result.

This prevents the system from using possible error messages printed
before the actual result for further processing.

Resolves: #56574
Releases: 6.2
Change-Id: Ic179e0b68c7fa9a4f0f4b2342cb381c54fb740b9
Reviewed-on: https://review.typo3.org/28076
Reviewed-by: Xavier Perseguers
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Fix relative path calculations in EM 25/28825/2
Helmut Hummel [Wed, 26 Mar 2014 11:27:58 +0000 (12:27 +0100)]
[BUGFIX] Fix relative path calculations in EM

The extension manager often uses the extension
relative path to calculate paths to different files,
but does not take into account that this path
already has a trailing slash.

Remove excess slashes to avoid double slashes in paths.

Resolves: #57327
Related: #57312
Releases: 6.2
Change-Id: I60519d4d7075a615d0505bfc4cbb2b6ee1b0c222
Reviewed-on: https://review.typo3.org/28825
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Make Typo3DbQueryParser a Singleton 43/28843/3
Marc Bastian Heinrichs [Wed, 26 Mar 2014 14:53:35 +0000 (15:53 +0100)]
[BUGFIX] Make Typo3DbQueryParser a Singleton

Typo3DbQueryParser gets injected in Typo3DbBackend, thus
it has to be a Singleton.

Resolves: #57338
Releases: 6.2
Change-Id: I5b845ef280d23b6893d308bc9013ef965637a1ef
Reviewed-on: https://review.typo3.org/28843
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[BUGFIX] Make Extbase EnvironmentService a Singleton 42/29042/3
Marc Bastian Heinrichs [Tue, 1 Apr 2014 19:17:58 +0000 (21:17 +0200)]
[BUGFIX] Make Extbase EnvironmentService a Singleton

EnvironmentService is a service and gets injected in different
classes, thus it has to be a Singleton.

Resolves: #57518
Releases: 6.2, 6.1
Change-Id: Ia8a3b8882be27c0f45569af818964036f0a9b16d
Reviewed-on: https://review.typo3.org/29042
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[BUGFIX] Check if lock directory is writable 88/28988/3
Alexander Opitz [Mon, 31 Mar 2014 15:34:59 +0000 (17:34 +0200)]
[BUGFIX] Check if lock directory is writable

We should check if directory is writable. Else fopen in acquireLock
would only fail with error after waiting time. Also we do not aspect
write permission issue here.

Resolves: #57463
Releases: 6.2
Change-Id: Ia767a2355aecf1e816d4c130b151443e50e1a311
Reviewed-on: https://review.typo3.org/28988
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Backup of LocalConfiguration.php missing on update 80/28980/5
Nicole Cordes [Mon, 31 Mar 2014 14:01:11 +0000 (16:01 +0200)]
[BUGFIX] Backup of LocalConfiguration.php missing on update

If you update from a 6.x installation there should be a backup of the
old, unmodified LocalConfiguration.php as it's getting changed during
PackageStates.php extraction. This is prevented with commit e755bcd
as a check for the PackageStates.php file was introduced, which might
not be available at this point during upgrade.

Resolves: #57458
Releases: 6.2
Change-Id: Ic3634ab58e3e4112df5d8544cca9c42e8f1db91f
Reviewed-on: https://review.typo3.org/28980
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Remove the need of PackageStates.php in tests 21/29021/2
Helmut Hummel [Tue, 1 Apr 2014 12:15:32 +0000 (14:15 +0200)]
[BUGFIX] Remove the need of PackageStates.php in tests

Although there is code in the package manager tests
to mock a PackageStates.php file, it does not work
as the path to the file is hardcoded in the initialize
action.

Move the code for setting the path and creating
the package factory to the constructor
and move the mocking of the path before initializing
in the test.

Resolves: #57490
Releases: 6.2
Change-Id: I2ca29016de288017ec73ff36d0dbed1e2be0e67d
Reviewed-on: https://review.typo3.org/29021
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Thomas Maroschik
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Allow user defined locales to work with TSFE->sL() 85/25685/2
Reinhard Führicht [Tue, 26 Nov 2013 10:30:40 +0000 (11:30 +0100)]
[BUGFIX] Allow user defined locales to work with TSFE->sL()

TYPO3 uses a list of "known" languages defined in
TYPO3\CMS\Core\Localization\Locales.

This list can be extended by the user, but these changes
are not taken into account when using
$GLOBALS['TSFE']->sL() to fetch the translation.

Make TypoScriptFrontendController call the needed method
"initialize()" to make it work.

Resolves: #53973
Releases: 6.2, 6.1
Change-Id: I9fc80ba976bf796f272591ac741d8bf4e92cbeb3
Reviewed-on: https://review.typo3.org/25685
Reviewed-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[TASK] Web>Page Search: Remove duplicate CSS 72/28972/2
Felix Kopp [Mon, 31 Mar 2014 12:08:24 +0000 (14:08 +0200)]
[TASK] Web>Page Search: Remove duplicate CSS

Due to centralized standard styles for standard elements no
further special CSS definition is necessary.

Also removes an excessive closing bracket in CSS.

Resolves: #57451
Releases: 6.2
Change-Id: I54d1bacce4774a7cc6924870985cb747cc3b5a89
Reviewed-on: https://review.typo3.org/28972
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[TASK] Remove space in Page module notification 68/28968/3
Georg Ringer [Mon, 31 Mar 2014 09:05:05 +0000 (11:05 +0200)]
[TASK] Remove space in Page module notification

The page module's notification on sysfolders to switch to list view
got an extra line which can be removed.

Resolves: #57449
Releases: 6.2
Change-Id: I3c646b1f4a258924ca46652eae7c3f60391f52ac
Reviewed-on: https://review.typo3.org/28968
Reviewed-by: Felix Kopp
Tested-by: Felix Kopp
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[BUGFIX] Respect config.debug setting for displaying parsetime 09/28909/3
Georg Ringer [Thu, 27 Mar 2014 12:20:11 +0000 (13:20 +0100)]
[BUGFIX] Respect config.debug setting for displaying parsetime

2 possible information snippets can be outputted using
config.debug = 1 in TypoScript or [FE][debug]=1 in Install Tool.

- Parsetime
- Cached page generated time + expire date

TypoScript should override the general setting of the Install Tool
to make it possible to turn debugging of for specific PAGE objects.

This is especially needed if using e.g JSON output is invalid
having this information.

The change uses the same check as in index_ts where it works perfectly
fine.

Change-Id: I1520896476d97286627ab7f3b232b733dd3c50f7
Resolves: #57365
Releases: 6.2
Reviewed-on: https://review.typo3.org/28909
Reviewed-by: Helmut Hummel
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Enable backend login for Internet Explorer 8 users 29/28929/3
Nicole Cordes [Fri, 28 Mar 2014 11:48:58 +0000 (12:48 +0100)]
[BUGFIX] Enable backend login for Internet Explorer 8 users

Due to some mystical IE8 behavior the global TYPO3 object gets reset
if any "var" occurs in Javascript. It is not necessary if its called or
not but it seems IE8 creates a new object. This patch adds the global
initialization of the TYPO3 object by using window[] syntax.

Resolves: #56988
Releases: 6.2
Change-Id: I5ce246790d1e3a1e388f106d085c96dae4e4304e
Reviewed-on: https://review.typo3.org/28929
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[TASK] Cleanup ChangeLog from duplicate lines 52/28952/2
Ernesto Baschny [Sat, 29 Mar 2014 22:26:13 +0000 (23:26 +0100)]
[TASK] Cleanup ChangeLog from duplicate lines

Releases: 6.2
Change-Id: I360c4ce290735ea76fe48e003a47e867bf5cf85b
Reviewed-on: https://review.typo3.org/28952
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
5 years ago[BUGFIX] Extension update fails if needed by other extensions 83/28883/3
Nicole Cordes [Wed, 26 Mar 2014 20:17:13 +0000 (21:17 +0100)]
[BUGFIX] Extension update fails if needed by other extensions

On update process the extension which should be updated gets
uninstalled. This doesn't work if the extension is needed by other ones.
This patch removes the unload process before the update to make sure
system is working in the mean time.

Resolves: #57264
Releases: 6.2
Change-Id: I6f54cf8ba977e9c8038790ea3857ba6fff61a5f9
Reviewed-on: https://review.typo3.org/28883
Reviewed-by: Cedric Ziel
Tested-by: Cedric Ziel
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Update for sys_file_metadata returns SQL error 44/28944/3
Nicole Cordes [Fri, 28 Mar 2014 19:14:31 +0000 (20:14 +0100)]
[BUGFIX] Update for sys_file_metadata returns SQL error

Due to a missing space in front of the FROM part, the SQL statement
currently errors and the meta data for files can't be split up.

Resolves: #57420
Releases: 6.2
Change-Id: I58aa0e20621e3e0d44028774452267dc0746a148
Reviewed-on: https://review.typo3.org/28944
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
5 years ago[BUGFIX] CSC: file references not working with image compression 56/28856/3
Benjamin Mack [Wed, 26 Mar 2014 16:30:58 +0000 (17:30 +0100)]
[BUGFIX] CSC: file references not working with image compression

When using image compression with CSS styled content
all existing data in the $imgConf array is emptied.
If using a sys_file_reference, the file object
for resolving the file data does not consider
the option "treatIdAsReference" anymore as
it is unset as well.

How to reproduce: Add a file and select any image compression.
The wrong image is rendered, as the file UID is used
not the file reference UID.

If you have a sys_file UID 23, and a sys_file_reference ID 45
then the sys_file 45 is displayed instead of sys_file 23.

Releases: 6.2, 6.1
Resolves: #57346
Change-Id: Id503510b82df7bb4be9d236a1640322c92ffa5ec
Reviewed-on: https://review.typo3.org/28856
Reviewed-by: Tom Ruether
Tested-by: Tom Ruether
Reviewed-by: Wouter Wolters
Reviewed-by: Marc Bastian Heinrichs
Reviewed-by: Frans Saris
Tested-by: Frans Saris
5 years ago[BUGFIX] Check default salting method first 92/26692/5
Markus Klein [Wed, 8 Jan 2014 13:11:07 +0000 (14:11 +0100)]
[BUGFIX] Check default salting method first

Prioritise default salting hashing method when determining
the salting hashing method of a given salted hash.

Fixes rare cases when the method "isValidSaltedPW()" returns TRUE
for similar salting implementations.

Resolves: #54833
Releases: 6.2
Change-Id: I58eb214f171de9f285a7818edebd925eb8164888
Reviewed-on: https://review.typo3.org/26692
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Jigal van Hemert
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Add correctly escaped css selectors for js 22/28522/5
Daniel Alder [Wed, 19 Mar 2014 13:37:44 +0000 (14:37 +0100)]
[BUGFIX] Add correctly escaped css selectors for js

Because identifiers in css are using escaped entries, we
have to do another escaping for the javascript selectors.

Resolves: #56874
Releases: 6.2
Change-Id: Ie470def83409904963e8b6e89635a6734bc4088c
Reviewed-on: https://review.typo3.org/28522
Reviewed-by: Pascal Dürsteler
Tested-by: Pascal Dürsteler
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Install Tool-FAL metadata migration fails for big sets 80/28580/7
Krystian Szymukowicz [Thu, 20 Mar 2014 20:05:21 +0000 (21:05 +0100)]
[BUGFIX] Install Tool-FAL metadata migration fails for big sets

In install tool there is migration script that copy part of sys_file
into sys_file_metadata. For long data sets (tested with 20.000 sys_file)
this update scripts returns FAIL.

Inserting using
https://dev.mysql.com/doc/refman/5.1/de/insert-select.html
overcomes all problems.

Resolves: #57103
Releases: 6.2
Change-Id: I1d2b97565f52bdd168f50651f285023f153fb3be
Reviewed-on: https://review.typo3.org/28580
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Install tool update wizards show html tags in error message 60/28760/5
Frans Saris [Tue, 25 Mar 2014 12:53:34 +0000 (13:53 +0100)]
[BUGFIX] Install tool update wizards show html tags in error message

The RteFileLinksUpdateWizard, RteMagicImagesUpdateWizard
and TceformsUpdateWizard convert there error messages to
FlashMessages. But as the messages are now always wrapped in a
flashmessage tag in the template this isn't needed anymore.

Resolves: #57285
Releases: 6.2
Change-Id: Iada05effdc523d24726ec54c2ad017175be4451f
Reviewed-on: https://review.typo3.org/28760
Reviewed-by: Philipp Gampe
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Load adminPanel styles for FE editing 57/27557/6
Tim Lochmueller [Tue, 11 Feb 2014 19:42:01 +0000 (20:42 +0100)]
[BUGFIX] Load adminPanel styles for FE editing

This patch enables frontend editing even if the adminPanel is closed
(minimized). Before adminPanel AND editing tab have to be opened which
isn't really user-friendly.

Resolves: #55896
Releases: 6.2
Change-Id: I892fe72380c3ede326f3da708dd5d495667eb09e
Reviewed-on: https://review.typo3.org/27557
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Pascal Dürsteler
Tested-by: Pascal Dürsteler
Reviewed-by: Xavier Perseguers
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
5 years ago[BUGFIX] Check WorkspaceEnabled for MM field related table 83/28783/9
Sebastian Lechenbauer [Tue, 25 Mar 2014 16:55:21 +0000 (17:55 +0100)]
[BUGFIX] Check WorkspaceEnabled for MM field related table

If you try to edit a MM field associated to a table which doesn't use
versioning (t3ver_* fields are missing) you get a database error.
This patch adds a check if versioning for the table is enabled.

Resolves: #57291
Releases: 6.2
Change-Id: I3fc5dfeb77ce9a67a6e4494a3b2247c3007d0d25
Reviewed-on: https://review.typo3.org/28783
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
5 years ago[BUGFIX] Fix initial file import in EM 02/28802/2
Helmut Hummel [Tue, 25 Mar 2014 21:50:26 +0000 (22:50 +0100)]
[BUGFIX] Fix initial file import in EM

The path calculation of the source path contains
double slashes, which is an invalid path for
the isAllowedAbsPath check, thus no files
are copied.

Resolves: #57312
Releases: 6.2
Change-Id: I1840cfe580efbdbeedd94c8a7e5469b94e70fa30
Reviewed-on: https://review.typo3.org/28802
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Francois Suter
Tested-by: Francois Suter
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[BUGFIX] Run scheduler from cli fails on DBAL 05/28805/3
Andreas Fernandez [Wed, 26 Mar 2014 07:44:07 +0000 (08:44 +0100)]
[BUGFIX] Run scheduler from cli fails on DBAL

With activated DBAL, dispatching the scheduler from cli
currently fails. The SqlParser can't handle brackets
in an ON-clause, so remove them in the query.

Resolves: #57246
Releases: 6.2
Change-Id: I2efa92392d22c854dae925da9a2396ef08bae198
Reviewed-on: https://review.typo3.org/28805
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
5 years ago[TASK] Set TYPO3 version to 6.2.1-dev 88/28788/2
TYPO3 Release Team [Tue, 25 Mar 2014 17:42:36 +0000 (18:42 +0100)]
[TASK] Set TYPO3 version to 6.2.1-dev

Change-Id: Ic5b68b4261667d52e2b7d974b0e8515fa18bb1ce
Reviewed-on: https://review.typo3.org/28788
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
5 years ago[RELEASE] Release of TYPO3 6.2.0 87/28787/2 6.2.0 TYPO3_6-2-0
TYPO3 Release Team [Tue, 25 Mar 2014 17:42:06 +0000 (18:42 +0100)]
[RELEASE] Release of TYPO3 6.2.0

Change-Id: Id1a38d8e337a3cdddeb3789b605f4314f8ef4726
Reviewed-on: https://review.typo3.org/28787
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
5 years ago[TASK] Small adjustments to NEWS.md 84/28784/2
Ernesto Baschny [Tue, 25 Mar 2014 17:22:25 +0000 (18:22 +0100)]
[TASK] Small adjustments to NEWS.md

Releases: 6.2
Change-Id: If014e492906f8efd1b32fb9f3bbdac0c8392a706
Reviewed-on: https://review.typo3.org/28784
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
5 years ago[BUGFIX] GeneralUtility->copyDirectory does not fix permissions 72/28772/2
Benjamin Mack [Tue, 25 Mar 2014 15:05:38 +0000 (16:05 +0100)]
[BUGFIX] GeneralUtility->copyDirectory does not fix permissions

Instead of using TYPO3-internal functions
for creating directories and moving files,
default PHP functions are used. This creates
problems with permissions e.g. when
installing the introduction package.

Releases: 6.2
Resolves: #57298
Change-Id: Ifa5e92fd245db033dacbc3bcd15d487bd7af2101
Reviewed-on: https://review.typo3.org/28772
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
5 years ago[TASK] Remove wrong deprecation in extbase persistence 54/28754/2
Marc Bastian Heinrichs [Tue, 25 Mar 2014 11:54:59 +0000 (12:54 +0100)]
[TASK] Remove wrong deprecation in extbase persistence

A method was misleadingly deprecated in QueryInterface.
Also an additional hint was added to the other deprecated
methods.

Resolves: #57277
Releases: 6.2
Change-Id: If80c707f1f65637682d5592116aaecb1a1e5918e
Reviewed-on: https://review.typo3.org/28754
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Test typeof TBE_EDITOR for object not function 71/28771/2
Alexander Opitz [Tue, 25 Mar 2014 15:02:52 +0000 (16:02 +0100)]
[BUGFIX] Test typeof TBE_EDITOR for object not function

As TBE_EDITOR is defined as object in jsfunc.tbe_editors.js we should
change the check here. Otherwise no eval user functions will be called.

Resolves: #57296
Releases: 6.2, 6.1
Change-Id: Ie1b701dcbf465827bc336233c2523f4df1dde9ba
Reviewed-on: https://review.typo3.org/28771
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Alexander Stehlik
Tested-by: Alexander Stehlik
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
5 years ago[TASK] Fix a PHP warning in Clipboard 77/28777/2
Georg Ringer [Tue, 25 Mar 2014 15:38:48 +0000 (16:38 +0100)]
[TASK] Fix a PHP warning in Clipboard

Check if the key is available.

Resolves: #57300
Releases: 6.2
Change-Id: I99542a8c0516596b31342a7bce5daa58af4a6432
Reviewed-on: https://review.typo3.org/28777
Reviewed-by: Alexander Stehlik
Reviewed-by: Sebastian Fischer
Reviewed-by: Oliver Klee
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[BUGFIX] Wrong whitespace handling in RTE-enabled fields upgrade wizard 00/28600/4
Frans Saris [Fri, 21 Mar 2014 11:36:14 +0000 (12:36 +0100)]
[BUGFIX] Wrong whitespace handling in RTE-enabled fields upgrade wizard

The upgrade wizards searches for all filepaths in the RTE-enabled fields
as these are found in sys_refindex.ref_string. But in the RTE-enabled
fields spaces are replaced by %20 and in sys_refindex.ref_string not.

This patch replaces whitespaces with %20 in the regularExpression
used the find the occurrences of the filepath.

Resolves: #57143
Releases: 6.2
Change-Id: I6631b476defe7e3faa78914338fce70372ad1fb5
Reviewed-on: https://review.typo3.org/28600
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[TASK] Use alternative selector for many workspaces 20/21920/5
Oliver Hader [Fri, 19 Jul 2013 15:31:31 +0000 (17:31 +0200)]
[TASK] Use alternative selector for many workspaces

The toolbar of the workspace module visualizes each workspace
in a separate tab. On having many workspaces, the toolbar is
extended to multiple lines which actually reduces the available
viewport of the grid panel.

This change introduces a modified TabPanel that shrinks if the
available width is undershot. In this case an additional menu
is rendered to the right side of the panel to visualize the
remaining items in a vertical list.

Resolves: #49689
Releases: 6.2
Change-Id: I85c8b8134dfe27a4dc32c5d70a158cca41763c41
Reviewed-on: https://review.typo3.org/21920
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
5 years ago[TASK] Visualize nested data structures in workspace module 01/28701/5
Oliver Hader [Mon, 24 Mar 2014 13:39:56 +0000 (14:39 +0100)]
[TASK] Visualize nested data structures in workspace module

The current workspace module only has two levels (page and the
accordant records). Nested record sets like tt_content ->
sys_file_reference (any "text with image" content element) are
not recognized as dependent and need to be published separately.

The GridDataService is extended to determine the the accordant
nested record sets and provides additional data for parent and
child scenarios. The ExtJS view components are extended to take
care of nested record sets and to handle expand and collapse
events on these kind of record collections.

Resolves: #55349
Releases: 6.2
Change-Id: I93ca187c3997bf7f4cdadefd741be2541aef5ae4
Reviewed-on: https://review.typo3.org/28701
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
5 years ago[TASK] Refactor element dependency resolving 00/28700/6
Oliver Hader [Mon, 24 Mar 2014 13:29:27 +0000 (14:29 +0100)]
[TASK] Refactor element dependency resolving

Dependency element resolving of nested data structures currently
is used in CommandMap only. However the logic can be used for
other tasks as well, like e.g. showing nested structures in the
workspaces module. Callback methods are extracted to the new
ElementEntityProcessor to reduce further code duplication.

Resolves: #57231
Releases: 6.2
Change-Id: If588e2c644fb897f0ac5f7aaf4f341ce8ac5c232
Reviewed-on: https://review.typo3.org/28700
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
5 years ago[TASK] Follow-up: Typo3DbQueryParser must handle LowerCase 64/28764/3
Marc Bastian Heinrichs [Tue, 25 Mar 2014 13:38:27 +0000 (14:38 +0100)]
[TASK] Follow-up: Typo3DbQueryParser must handle LowerCase

Add a test for preparse query hash.

Resolves: #57263
Releases: 6.2
Change-Id: Ia524b65f5ef559822c62df1f53c0e78c4750f01e
Reviewed-on: https://review.typo3.org/28764
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[TASK] Remove deprecated methods/properties in Extbase 16/28716/4
Alexander Schnitzler [Mon, 24 Mar 2014 17:37:31 +0000 (18:37 +0100)]
[TASK] Remove deprecated methods/properties in Extbase

Releases: 6.2
Resolves: #57242
Resolves: #44327
Change-Id: I0cfd55e8bbaab690cc6b22b30e18972b0e8747c0
Reviewed-on: https://review.typo3.org/28716
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
Reviewed-by: Stefan Neufeind
Reviewed-by: Oliver Klee
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Clean MP parameter for rootline cache identifier 21/28521/5
Alexander Stehlik [Tue, 25 Mar 2014 09:47:29 +0000 (10:47 +0100)]
[BUGFIX] Clean MP parameter for rootline cache identifier

Any commas in the mount point parameter are replaced with underscores
to prevent caching errors in the RootlineUtility.

Resolves: #57073
Releases: 6.2
Change-Id: If1e135d0abbc08ebc11954d17f57ea037983ba10
Reviewed-on: https://review.typo3.org/28521
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Jost Baron
Tested-by: Jost Baron
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
5 years ago[BUGFIX] Wrong SignalSlot dispatch calls in ResourceStorage 43/28743/3
Frans Saris [Tue, 25 Mar 2014 09:49:03 +0000 (10:49 +0100)]
[BUGFIX] Wrong SignalSlot dispatch calls in ResourceStorage

The wrong classname is used and for emitPreFolderCopySignal(),
emitPostFolderCopySignal(), emitPreFolderMoveSignal() and
emitPostFolderMoveSignal() the $newName parameter is not
passed through

Resolves: #57273
Releases: 6.2
Change-Id: Iaf82820abe29b97da93f9583435b9264671e3a38
Reviewed-on: https://review.typo3.org/28743
Reviewed-by: Xavier Perseguers
Reviewed-by: Markus Klein
Reviewed-by: Steffen Ritter
Reviewed-by: Ernesto Baschny
Tested-by: Xavier Perseguers
Reviewed-by: Frans Saris
Tested-by: Frans Saris
5 years ago[BUGFIX] Extbase: Methods are inherited twice 45/28745/2
Markus Klein [Tue, 25 Mar 2014 10:17:50 +0000 (11:17 +0100)]
[BUGFIX] Extbase: Methods are inherited twice

Change #57031 introduced two methods in DomainObjectInterface,
which are already present in ObjectMonitoringInterface.

Undo that change.

Resolves: #57271
Releases: 6.2
Change-Id: I95852d8221a1b54c4d6a71c508666e0fb1080223
Reviewed-on: https://review.typo3.org/28745
Reviewed-by: Xavier Perseguers
Reviewed-by: Helmut Hummel
Tested-by: Markus Klein
Reviewed-by: Markus Klein
5 years ago[TASK] Show by default only 1 file upload field in elementbrowser 99/28699/2
Frans Saris [Mon, 24 Mar 2014 13:26:48 +0000 (14:26 +0100)]
[TASK] Show by default only 1 file upload field in elementbrowser

Since the input type=file now supports multiple file selection
and this is suppoterd by all modern browsers.
So showing only 1 filepicker by default is enough.

For users with older browser they can use the already existing
options.folderTree.uploadFieldsInLinkBrowser tsconfig to show
multiple fields.

This patch changes the hardcoded default value to 1.

Resolves: #57170
Releases: 6.2
Change-Id: Ia2dfcc3ae81dff66ba4c389a4b99b819186f63c0
Reviewed-on: https://review.typo3.org/28699
Reviewed-by: Philipp Gampe
Reviewed-by: Sebastian Fischer
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[TASK] Add first level cache for the query cache 44/28744/4
Marc Bastian Heinrichs [Tue, 25 Mar 2014 10:12:01 +0000 (11:12 +0100)]
[TASK] Add first level cache for the query cache

The Extbase query cache stresses the database by querying
the same cache identifier over and over again. This for example
doubles the amount of fired database queries for fetching related
objects at the moment.

Introduce a first level cache saving the cache entries during
runtime.

Resolves: #57275
Releases: 6.2
Change-Id: I964db7c9ab8b61a3d8ac6534a35dc65240398aa7
Reviewed-on: https://review.typo3.org/28744
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Philipp Gampe
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[BUGFIX] Fix Query unit test and two typehints 59/28759/3
Markus Klein [Tue, 25 Mar 2014 12:51:11 +0000 (13:51 +0100)]
[BUGFIX] Fix Query unit test and two typehints

Follows #57263

Fixes a change of interface in the unit test for Query.
Moreover two more places miss the new interface typehint.

Resolves: #57286
Releases: 6.2
Change-Id: I528656055782e22989b8fd7cc8a652d8de829663
Reviewed-on: https://review.typo3.org/28759
Reviewed-by: Felix Oertel
Tested-by: Felix Oertel
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Typo3DbQueryParser must handle LowerCase 35/28735/13
Markus Klein [Tue, 25 Mar 2014 00:29:05 +0000 (01:29 +0100)]
[BUGFIX] Typo3DbQueryParser must handle LowerCase

Resolves: #57263
Releases: 6.2
Change-Id: I89b5051a5fe1d6fc908428019115fcd4bc0d2b38
Reviewed-on: https://review.typo3.org/28735
Reviewed-by: Felix Oertel
Tested-by: Felix Oertel
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Fix problem with cache being cleared multiple time 23/25423/9
Jan-Erik Revsbech [Thu, 7 Nov 2013 13:00:47 +0000 (14:00 +0100)]
[BUGFIX] Fix problem with cache being cleared multiple time

When pages or records in general are changed using
the DataHandler, the pageCache is cleared for
each page multiple times. To fix this, the DataHandler
will collect which pages need clearing, and wait with
the actual clearing until all operations in
cmdMap or dataMap has been processed.
This way the cache is only cleared once for each page.

Resolves: #52235
Releases: 6.2
Change-Id: If1aa389991b801413eafa38d7d140f932bb321f2
Reviewed-on: https://review.typo3.org/25423
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Jigal van Hemert
Reviewed-by: Jan-Erik Revsbech
Tested-by: Jan-Erik Revsbech
Tested-by: Philipp Gampe
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
5 years ago[BUGFIX] getFolderStatus ajax also being called in Step Installer 39/28739/2
Wouter Wolters [Tue, 25 Mar 2014 07:36:28 +0000 (08:36 +0100)]
[BUGFIX] getFolderStatus ajax also being called in Step Installer

Resolves: #57262
Releases: 6.2
Change-Id: I190420ef696de819ebf3f06033ba7e97c639a92c
Reviewed-on: https://review.typo3.org/28739
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] ExtJS / normalize table > th 79/28679/3
Felix Kopp [Sun, 23 Mar 2014 21:13:45 +0000 (22:13 +0100)]
[BUGFIX] ExtJS / normalize table > th

Browsers center text in <th> but the header text should
be aligned to the left. This issue arose when ExtJS
normalize reset was removed. Simple explicit definition.

Resolves: #57211
Releases: 6.2
Change-Id: Ib235d9e9e2beabac01a62b10cedea08faacbd896
Reviewed-on: https://review.typo3.org/28679
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Set TYPO3 version to 6.2-dev 37/28737/2
TYPO3 Release Team [Tue, 25 Mar 2014 02:13:49 +0000 (03:13 +0100)]
[TASK] Set TYPO3 version to 6.2-dev

Change-Id: I581ca28ee926ad1891b33baa1c8d8f0e9f9df5a9
Reviewed-on: https://review.typo3.org/28737
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
5 years ago[RELEASE] Release of TYPO3 6.2.0rc2 36/28736/2 TYPO3_6-2-0rc2
TYPO3 Release Team [Tue, 25 Mar 2014 02:13:08 +0000 (03:13 +0100)]
[RELEASE] Release of TYPO3 6.2.0rc2

Change-Id: If247d1f182ecc1de823852bda435efd7e2e420f2
Reviewed-on: https://review.typo3.org/28736
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
5 years ago[CLEANUP] Extbase persistence classes 89/28489/35
Markus Klein [Fri, 21 Mar 2014 01:48:41 +0000 (02:48 +0100)]
[CLEANUP] Extbase persistence classes

The classes contain wrong type hints and miss a lot of
checks whether the correct object is present.

Resolves: #57031
Releases: 6.2
Change-Id: I3d03c838b05529daf0da444119dd7f8dba6d5b8a
Reviewed-on: https://review.typo3.org/28489
Reviewed-by: Felix Oertel
Tested-by: Felix Oertel
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Fix warning during extension installation 31/28731/3
Helmut Hummel [Mon, 24 Mar 2014 23:48:26 +0000 (00:48 +0100)]
[BUGFIX] Fix warning during extension installation

During unpacking of an extension in the installation
process it can happen that the extension data
contains folders in the file list.

These folders need to be removed from the list
in order to avoid warnings when trying to write
directories as files.

Also remove duplicates from folders before
creating them.

Besides fix some (non related) comparisons to
strict comparisons on the go.

Resolves: #57261
Releases: 6.2
Change-Id: Ib6821a0a438ebc9441b8fa2ee3fbd7869f23ec7f
Reviewed-on: https://review.typo3.org/28731
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
5 years ago[BUGFIX] Make extension update work again 30/28730/2
Helmut Hummel [Mon, 24 Mar 2014 23:42:15 +0000 (00:42 +0100)]
[BUGFIX] Make extension update work again

This is a regression fix. The regression was
introduced when fixing the dependency handling.

Resolves: #57260
Related: #57199
Releases: 6.2
Change-Id: I77bff766d0e4bd9d3ce74fa74db03d6b65223e67
Reviewed-on: https://review.typo3.org/28730
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[BUGFIX] Fix usage of preparedStatement object in $query->statement 26/28726/9
Marc Bastian Heinrichs [Mon, 24 Mar 2014 21:12:57 +0000 (22:12 +0100)]
[BUGFIX] Fix usage of preparedStatement object in $query->statement

This is a follow-up fix for the integration of preparedStatements in
Extbase. Due to a wrong comparison, an own preparedStatement object
used in $query->statement() would never be executed.

Resolves: #57254
Releases: 6.2
Change-Id: I3176339be309530b50ff89410affa386d7f6f8e8
Reviewed-on: https://review.typo3.org/28726
Reviewed-by: Felix Oertel
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[TASK] Add warning in Reports module if content adapter is active 24/28724/2
Jigal van Hemert [Mon, 24 Mar 2014 20:25:56 +0000 (21:25 +0100)]
[TASK] Add warning in Reports module if content adapter is active

The setting [FE][activateContentAdapter] has a large impact on
performance. A warning in the Reports module will encourage
integrators to adapt TypoScript to increase performance.

Resolves: #57249
Releases: 6.2
Change-Id: I935b86ba701d3b0dbac3b807a1ae9312bff223fc
Reviewed-on: https://review.typo3.org/28724
Reviewed-by: Wouter Wolters
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] FOLLOWUP Queries with NULL don't work 15/28715/6
Felix Oertel [Mon, 24 Mar 2014 17:33:35 +0000 (18:33 +0100)]
[BUGFIX] FOLLOWUP Queries with NULL don't work

In https://review.typo3.org/28592 we apparently did not
fix the whole problem. This followup will deal with
the edge-case of using a similar built statement, which
results in the same hash being generated from the
QueryParser.

Resolves: #57130
Related: #55167
Releases: 6.2
Change-Id: I02a478fcabb89d11054f8f0a3c800965edfd7844
Reviewed-on: https://review.typo3.org/28715
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Fix operator "in" for cached queries 95/28695/6
Marc Bastian Heinrichs [Mon, 24 Mar 2014 11:10:13 +0000 (12:10 +0100)]
[BUGFIX] Fix operator "in" for cached queries

This a follow up fix for the extbase query cache. On reusing an already
build query, it was missed to evaluate the multi valued operator and
provide it as array for resolving the parameter placeholders.

Resolves: #57104
Releases: 6.2
Change-Id: I06abbf5279ee05382a7ba314948f7d3f075d84e6
Reviewed-on: https://review.typo3.org/28695
Reviewed-by: Alexander Stehlik
Tested-by: Alexander Stehlik
Tested-by: Wouter Wolters
Reviewed-by: Felix Oertel
Tested-by: Felix Oertel
5 years ago[TASK] BasicFileUtility::init is not deprecated yet 74/28674/3
Ernesto Baschny [Sun, 23 Mar 2014 16:58:41 +0000 (17:58 +0100)]
[TASK] BasicFileUtility::init is not deprecated yet

Until we fully remove usage of BasicFileUtility throughout the core
(i.e. DataHandler, Import/Export module, ElementBrowser and others),
the core should not pollute the deprecation log with it.

We just individually deprecate methods which are not used anymore.
Methods which are still used in the core are marked as @deprecated
(to visualize this in the IDE) but they won't write to the
deprecation log yet.

Resolves: #57209
Releases: 6.2
Change-Id: I41d7f6c8b7c3c4df77791ce3e6f3f69140d1935d
Reviewed-on: https://review.typo3.org/28674
Reviewed-by: Xavier Perseguers
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Make section index from hidden headers work again 76/24876/9
Marc Bastian Heinrichs [Thu, 17 Oct 2013 17:42:53 +0000 (19:42 +0200)]
[TASK] Make section index from hidden headers work again

Before version 4.7 you could build up a section index with
links to content elements with hidden headers.
Since version 4.7 elements with a hidden header type are sorted
out for the section index, overriding the extra flag "sectionIndex",
which is especially integrated for this.

This patch adds a extra flag for menu configuration sectionIndex
named "includeHiddenHeaders" to make it possible to re-enable
the behaviour of versions before 4.7.

Resolves: #52928
Related: #31767
Documentation: #53699
Releases: 6.2
Change-Id: Iee7f20cfc317c2b624dfc440811c5edc0a367a1e
Reviewed-on: https://review.typo3.org/24876
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Reviewed-by: Sebastian Fischer
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
5 years ago[BUGFIX] Fix tests according to changes in #57199 22/28722/2
Helmut Hummel [Mon, 24 Mar 2014 19:09:18 +0000 (20:09 +0100)]
[BUGFIX] Fix tests according to changes in #57199

Unit tests have been forgotten to be adapted,
so fix them now to make travis happy again.

Also remove the superfluous constructor
in InstallUtility, as both dependencies
are injected anyway.

Resolves: #57247
Related: #57199
Releases: 6.2
Change-Id: I40c39705c2db546b38d94936feac2c8757eed8da
Reviewed-on: https://review.typo3.org/28722
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[TASK] Add single view for distributions in EM 77/28677/3
Benjamin Mack [Sun, 23 Mar 2014 21:04:10 +0000 (22:04 +0100)]
[TASK] Add single view for distributions in EM

In order to know what is going to be installed, the
distribution manager should display more information
about a single extension, also with a link to configure
the distribution, if possible.

Releases: 6.2
Resolves: #57212
Change-Id: Ia092ec7b2c5162b33f4fce614415de07ffa2ca47
Reviewed-on: https://review.typo3.org/28677
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[TASK] Add Link to wiki page for opcode cache 12/28712/5
Alexander Opitz [Mon, 24 Mar 2014 16:38:49 +0000 (17:38 +0100)]
[TASK] Add Link to wiki page for opcode cache

Add a link to http://wiki.typo3.org/Opcode_Cache in installers
system environment check messages.

Resolves: #56526
Releases: 6.2
Change-Id: If7314d52426729ce092e281697fbbd67bd6ae9d7
Reviewed-on: https://review.typo3.org/28712
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
5 years ago[BUGFIX] Fix extension installation process 60/28660/10
Helmut Hummel [Sun, 23 Mar 2014 14:19:13 +0000 (15:19 +0100)]
[BUGFIX] Fix extension installation process

The download queue is build recursively, but if an
extension is marked for download, it is added
to the queue before its dependencies have been
resolved, which leads to a wrong download and
installation order of extensions.

We also need to add dependency resolving when
marking an extension for installation to fix
the exact same problem when extensions already
reside in the system.

Lastly we must take care of flushed class loader
caches and trigger a rebuild to avoid fatals.
This is done by introducing a signal and registering
a method in package manager as slot that set the
packages for the class loader to trigger a rebuild
of the caches.

The parts of this patch that fix dependency handling
should be backported to older 6.x branches.

Resolves: #57199
Releases: 6.2
Change-Id: Iab343c544bfe2e3e19cbf4c05090eb4994df57b1
Reviewed-on: https://review.typo3.org/28660
Reviewed-by: Sebastian Fischer
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Queries with NULL don't work anymore 92/28592/8
Klaas Johan Kooistra [Fri, 21 Mar 2014 08:12:53 +0000 (09:12 +0100)]
[BUGFIX] Queries with NULL don't work anymore

See change: I517c0500cad75cae96fd739f2ff7222db80b42a5
At the end of the Typo3DbQueryParser::parseComparison() method the updated
operator for NULL values was no longer passed to the parseDynamicOperand,
generating = NULL instead of IS NULL.

Solved the issue by adding the operator parameter again.

Change-Id: I13c3cecf0bf4c95789032f31ead192b945794484
Resolves: #57130
Related: #55167
Releases: 6.2
Reviewed-on: https://review.typo3.org/28592
Reviewed-by: Markus Klein
Reviewed-by: Felix Oertel
Tested-by: Felix Oertel
5 years ago[BUGFIX] Don't access property if subject is scalar 86/28586/2
Helmut Hummel [Fri, 21 Mar 2014 07:19:48 +0000 (08:19 +0100)]
[BUGFIX] Don't access property if subject is scalar

Trying to access a property if the subject is
a string, causes the class loader to be triggered
as is_callable is invoked.

We can avoid that by checking if the subject
is an object or array. We can neglect that
is_scalar also returns false for resource types
as this will not really happen in practice.

Resolves: #56993
Releases: 6.2
Change-Id: I94754cd919acc857cd9a8b8e486080c0bf567112
Reviewed-on: https://review.typo3.org/28586
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Christian Weiske
Tested-by: Christian Weiske
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[TASK] Make show_rechis.php mod.php dispatched 05/28205/5
Nicole Cordes [Sun, 9 Mar 2014 22:33:42 +0000 (23:33 +0100)]
[TASK] Make show_rechis.php mod.php dispatched

The patch adds a new module for the record history view. All calls to
the show_rechis.php script are rewritten to use
BackendUtility::getModuleUrl() to ensure CSRF protection.

Resolves: #56632
Releases: 6.2
Change-Id: I2466c1b08afdd7d987ef38a29500f02641156c07
Reviewed-on: https://review.typo3.org/28205
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Typo in Extbase localization file 05/28705/2
Xavier Perseguers [Mon, 24 Mar 2014 15:40:19 +0000 (16:40 +0100)]
[BUGFIX] Typo in Extbase localization file

Fixes: #57238
Releases: 6.2, 6.1, 6.0
Change-Id: Icca7e1637387e2ad31a1368abcd59b1bd443255f
Reviewed-on: https://review.typo3.org/28705
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
5 years ago[FEATURE] Add complete opcode cache reset 20/28520/6
Alexander Opitz [Wed, 19 Mar 2014 10:22:38 +0000 (11:22 +0100)]
[FEATURE] Add complete opcode cache reset

This adds the possibility to reset the complete opcode cache in the
install tool. This functionality may be needed if you update extensions
not via EM and the cache does not stat the files.

Resolves: #56987
Releases: 6.2
Change-Id: I540a31a939fdc6305ad0aff9d39f7e424404925d
Reviewed-on: https://review.typo3.org/28520
Reviewed-by: Stefan Neufeind
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[TASK] Reduce JavaScript dependency in workspace module 32/28632/2
Oliver Hader [Sat, 22 Mar 2014 10:39:10 +0000 (11:39 +0100)]
[TASK] Reduce JavaScript dependency in workspace module

The workspace module in the backend has a check and dependency to
the page module in the top frame. To ease debugging of this
backend module in a separate browser process, this dependency is
encapsulated since JavaScript errors are thrown.

Resolves: #57176
Releases: 6.2
Change-Id: I79b4d79ad23d89a70014602d4a04360f709fcab5
Reviewed-on: https://review.typo3.org/28632
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
5 years ago[BUGFIX] IRRE bidirectional relation not highlighted 35/27235/5
Benjamin Kott [Sat, 1 Feb 2014 15:04:56 +0000 (16:04 +0100)]
[BUGFIX] IRRE bidirectional relation not highlighted

Currently the user is not able to recognize that he is working on
record relations. These records may be used in several places in
the system and the user should be aware of that specific behaviour.

In previous versions of TYPO3 there has been a wrapper which
highlighted input fields, but had no explanation. This was removed
later. To restore the functionality and make it understandable to the
user why he should edit the fields wisely, the wrapper has been replaced
by a flash message. This explains to the user what happens when the
record gets changed.

Resolves: #55553
Releases: 6.2
Change-Id: Ic8a41cdb251cfc8d0134e2b53927ff71ddd5e594
Reviewed-on: https://review.typo3.org/27235
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] ClassLoader exits early for invalid class names 53/28553/5
Helmut Hummel [Thu, 20 Mar 2014 08:36:14 +0000 (09:36 +0100)]
[BUGFIX] ClassLoader exits early for invalid class names

Instead of doing calculations if an invalid
class name could still be found and implementing
safeguards that our caching layer does not
fail with invalid identifiers, we exit early
if we find an invalid class name.

Maybe PHP will be smart enough at some point
not calling an autoloader at all if the class name
is invalid anyway so we could the remove this check.

By doing a comprehensive check upfront, we can
remove the safeguard code for the caching layer.

The performance impact of this change breaks down
to be lower than 1ms for a regular TYPO3 request.

Resolves: #57183
Releases: 6.2
Change-Id: Id38bea6b85fbfd280417adca325411410cd9fb63
Reviewed-on: https://review.typo3.org/28553
Reviewed-by: Thomas Maroschik
Reviewed-by: Sebastian Fischer
Reviewed-by: Alexander Stehlik
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
5 years ago[BUGFIX] Invalid argument supplied for foreach in ExtensionModelUtility 71/28671/4
Philipp Gampe [Sun, 23 Mar 2014 15:47:19 +0000 (16:47 +0100)]
[BUGFIX] Invalid argument supplied for foreach in ExtensionModelUtility

Dependecies might be given as empty string, e.g.
array (
'depends' =>
array (
'typo3' => '4.5.0-6.2.99',
),
'conflicts' => '',
'suggests' =>
array (
),
),

This is how the kickstarter used to generate it.

Resolves: #57207
Releases: 6.2
Change-Id: I314249f8883ee82fdfa9ee81aca7a526716ccade
Reviewed-on: https://review.typo3.org/28671
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Ernesto Baschny
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Unresolvable dependency if composer.json lacks version 83/28683/2
Claus Due [Sun, 23 Mar 2014 22:50:13 +0000 (23:50 +0100)]
[BUGFIX] Unresolvable dependency if composer.json lacks version

This change fixes a problem which occurs under these circumstances:

* Extension A depends on Extension B
* Extension B is currently installed
* Extension A is not currently installed
* Extension B has composer.json file
* Extension B composer.json file contains no "version" attribute
  or this attribute is empty.

When installing Extension A in this case, EM will fail with an
error saying "could not resolve dependency for xyz" which is a
bit too vague to be helpful. This change fixes this murky error
by throwing a much more specific error saying exactly that the
error stems from the composer.json file missing a "version" no.

Releases: 6.2
Resolves: #57216
Change-Id: I39ab18d6cf35b69600663524827422c732b813cf
Reviewed-on: https://review.typo3.org/28683
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[CLEANUP] Wrong phpdoc in EnableFileService 93/28693/2
Markus Klein [Mon, 24 Mar 2014 11:04:25 +0000 (12:04 +0100)]
[CLEANUP] Wrong phpdoc in EnableFileService

Fixing a wrong phpdoc comment in EnableFileService

Resolves: #57226
Releases: 6.2
Change-Id: I3531960084bd950f5803bc2212ac36037558cbe3
Reviewed-on: https://review.typo3.org/28693
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Use file name to check extension validity 97/28597/3
Christian Weiske [Fri, 21 Mar 2014 10:37:21 +0000 (11:37 +0100)]
[BUGFIX] Use file name to check extension validity

Instead of using a file's identifier, the file's name is used
to check if it has a valid file extension.

This allows FAL drivers to use non-file name related identifiers.

Change-Id: I5b870e06f60c9259951a5f20fd69660ab19c49c2
Resolves: #57141
Releases: 6.2
Reviewed-on: https://review.typo3.org/28597
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[TASK] Add ResourceStorage getEvaluatePermissions() 90/28690/5
Frans Saris [Mon, 24 Mar 2014 08:16:41 +0000 (09:16 +0100)]
[TASK] Add ResourceStorage getEvaluatePermissions()

#51326 introduced a setEvaluatePermissions() method
to enable/disable permission checking in the
ResourceStorage. But a getter is missing so there
is no way to get the current setting.
This is needed if you only want to disable the
checks temporary and you do not know what the
current state is.

This changes adds a getter for the evaluatePermissions
value so you can fetch the current value.

Resolves: #57220
Releases: 6.2
Change-Id: I3fd22c112fb1f251b85d23fd8fa553091e3e3fc4
Reviewed-on: https://review.typo3.org/28690
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Frans Saris
Tested-by: Frans Saris
5 years ago[TASK] Improve clipboard names 10/28610/3
Tymoteusz Motylewski [Fri, 21 Mar 2014 15:57:49 +0000 (16:57 +0100)]
[TASK] Improve clipboard names

Makes clipboard names more meaningful for editors.
It also makes "Normal" clipboard name translatable
and adds titles with additional description to the clipboard links.

Resolves: #57154
Releases: 6.2
Change-Id: I218a70648616eb1d2efca0006411af57c3cff96e
Reviewed-on: https://review.typo3.org/28610
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] Move update functionality to BackendUserSessionRepository 87/28487/9
Pascal Dürsteler [Tue, 18 Mar 2014 08:45:37 +0000 (09:45 +0100)]
[TASK] Move update functionality to BackendUserSessionRepository

As annotated in SwitchBackUserHook.php, the update method is moved
into the BackendUserSessionRepository file.

Resolves: #57012
Releases: 6.2
Change-Id: I5e127b8e71585e64bd99ae3175655b058162da83
Reviewed-on: https://review.typo3.org/28487
Reviewed-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Pascal Dürsteler
Tested-by: Pascal Dürsteler
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] preparseQuery wrongly computes cache hash of a query 56/28656/7
Xavier Perseguers [Sun, 23 Mar 2014 08:54:36 +0000 (09:54 +0100)]
[BUGFIX] preparseQuery wrongly computes cache hash of a query

preparseQuery only takes query's parameters to compute its hash but
not the operators used. As such, those two queries result into the
same cache hash:

SELECT * FROM fe_groups WHERE uid = :uid

SELECT * FROM fe_groups WHERE uid IN (:uid)

Fixes: #57173
Releases: 6.2
Change-Id: I6a65ba0be81da73f55c2e6a73f508728567064c3
Reviewed-on: https://review.typo3.org/28656
Reviewed-by: Felix Oertel
Tested-by: Felix Oertel
Reviewed-by: Markus Klein
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
5 years ago[TASK] Rename GeneralUtility in Documentation sysext 55/28655/4
Markus Klein [Sun, 23 Mar 2014 00:41:04 +0000 (01:41 +0100)]
[TASK] Rename GeneralUtility in Documentation sysext

Rename the GeneralUtility class in the Documentation sysext to avoid
confusion with GeneralUtility used in the Core sysext.

Resolves: #57197
Releases: 6.2
Change-Id: Iff44c713307c86840d60bc9ef5aee67ae9741fa9
Reviewed-on: https://review.typo3.org/28655
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
5 years ago[BUGFIX] Avoid empty labels in EM configuration 65/28665/2
Francois Suter [Sun, 23 Mar 2014 11:55:56 +0000 (12:55 +0100)]
[BUGFIX] Avoid empty labels in EM configuration

Check if a given configuration option in the EM really has both
a headline and a text, before writing out an empty label.

Resolves: #57205
Releases: 6.2
Change-Id: I66c405f255b9bd6ba9b130088732984157cf4152
Reviewed-on: https://review.typo3.org/28665
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[TASK] Styling for the distribution management 15/28615/7
Ernesto Baschny [Sat, 22 Mar 2014 20:22:15 +0000 (21:22 +0100)]
[TASK] Styling for the distribution management

The distribution management looks ugly. Make it usable
and not just a raw list.

Resolves: #57139
Releases: 6.2
Change-Id: I95eb8dca3cd6b3915839736d18ff3d78e746a30a
Reviewed-on: https://review.typo3.org/28615
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Parsetime: config.debug should override LocalConfiguration 63/28663/6
Stefan Neufeind [Sun, 23 Mar 2014 11:36:24 +0000 (12:36 +0100)]
[BUGFIX] Parsetime: config.debug should override LocalConfiguration

Parsetime is output either if config.debug is set or if FE-debug
is activated in LocalConfiguration. Allow to explicitly override
(set to 0) the debugging in TS for cases where you want to output
page-objects like a JSON-page or so where Parsetime leads to
problems.

Change-Id: Ie5588218694219c13f136b5ac928e697ca472cfb
Resolves: #57202
Releases: 6.2, 6.1
Reviewed-on: https://review.typo3.org/28663
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Fix incomplete mocking in several tests 66/28666/2
Helmut Hummel [Sun, 23 Mar 2014 13:23:03 +0000 (14:23 +0100)]
[BUGFIX] Fix incomplete mocking in several tests

IndexerServiceTest and ExtensionManagementServiceTest
both execute emit signal methods which in turn
try to instantiate the SignalSlotDispatcher,
which can fail.

Resolve this by mocking these methods.

Resolves: #57206
Releases: 6.2
Change-Id: I0a239abeb7c94839a413870c58f22ae59fed8470
Reviewed-on: https://review.typo3.org/28666
Reviewed-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Fix position of search field clearer in extension manager. 59/28659/2
Jost Baron [Sun, 23 Mar 2014 09:59:21 +0000 (10:59 +0100)]
[BUGFIX] Fix position of search field clearer in extension manager.

The jquery plugin is not a real external contribution, but was written
specifically for TYPO3, so modifying it in the contrib-folder should be
ok.

Change-Id: I263d827b8e08a83c345b3525c53124483eba5620
Resolves: #57051
Releases: 6.2
Reviewed-on: https://review.typo3.org/28659
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[TASK] Protect Ajax calls of core extensions 54/28654/3
Helmut Hummel [Sun, 23 Mar 2014 00:13:30 +0000 (01:13 +0100)]
[TASK] Protect Ajax calls of core extensions

All core extensions need to benefit from
the new Ajax API and will be CSRF protected by that.

Resolves: #57196
Releases: 6.2
Change-Id: I8f6f45fc9426a0e9ae15e61670f52b7cf9f461af
Reviewed-on: https://review.typo3.org/28654
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[TASK] Localized labels for EM options 64/28664/2
Francois Suter [Sun, 23 Mar 2014 11:43:12 +0000 (12:43 +0100)]
[TASK] Localized labels for EM options

Make all system extensions use localized labels for their
configuration options, to make the TYPO3 BE better
translatable.

Resolves: #57203
Releases: 6.2
Change-Id: I6dcbfc6477ba32037595dbef20d630f6294dde0b
Reviewed-on: https://review.typo3.org/28664
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-by: Francois Suter
Tested-by: Francois Suter
5 years ago[BUGFIX] Ensure backwards compatibility in element browser 18/28618/2
Helmut Hummel [Fri, 21 Mar 2014 18:34:14 +0000 (19:34 +0100)]
[BUGFIX] Ensure backwards compatibility in element browser

Hooks that used the element browser used the JavaScript
function jumpToUrl with relative URLs.

After refactoring the element browser, it was necessary
to compute the absolute URL.

To stay backwards compatible we catch this case
in JavaScript and rewrite the URL according
to the new requirements.

By doing so, we can simplify our code again.

The method getThisScript might still be needed in
Hooks for other purposes, so we make it public.

Resolves: #56721
Releases: 6.2
Change-Id: Ieed6d037b428c5c15d18905341ff46dece1d67a7
Reviewed-on: https://review.typo3.org/28618
Reviewed-by: Ernesto Baschny
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[BUGFIX] Option labels not translated anymore 57/28657/2
Francois Suter [Sun, 23 Mar 2014 09:46:11 +0000 (10:46 +0100)]
[BUGFIX] Option labels not translated anymore

The configuration options labels are not translated anymore
in the Extension Manger.

This is due to a recent refactoring, which encapsulated
the translation process in a separate method,
but forgot to return the translated value.

Resolves: #57198
Releases: 6.2
Change-Id: Ib0051225860c408b00827bf7212835beafbbd2fa
Reviewed-on: https://review.typo3.org/28657
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
5 years ago[TASK] Followup to "Cleanup Ajax URL inline settings" 58/28658/2
Stefan Neufeind [Sun, 23 Mar 2014 09:57:23 +0000 (10:57 +0100)]
[TASK] Followup to "Cleanup Ajax URL inline settings"

commit 7ccbb22f3c28b38ed6879d0c768b0424a2253276
added ajaxUrls to TYPO3.settings. The functional test
needs to be adapted accordingly

Change-Id: I24267feaab39f0260db934e2151f33c948036080
Resolves: #57096
Releases: 6.2
Reviewed-on: https://review.typo3.org/28658
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
5 years ago[BUGFIX] Module Menu throws PHP warning for top level menu items 39/28639/3
Benjamin Mack [Sat, 22 Mar 2014 12:53:56 +0000 (13:53 +0100)]
[BUGFIX] Module Menu throws PHP warning for top level menu items

When rendering the module menu icons, the menu items
on the top level (Web, File, User, Admin) don't have an icon,
however the getModuleIcon functionality processes them,
and checks for getimagesize() even though no image is added.

To overcome this, the function needs to be modified slightly to
only call getimagesize if there is actually an icon.

Releases: 6.2, 6.1
Resolves: #57179
Change-Id: Icb45d53a3a61d308b5ff56612f1b9b9b54245a53
Reviewed-on: https://review.typo3.org/28639
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
5 years ago[TASK] Cleanup Ajax URL inline settings 02/28602/5
Helmut Hummel [Fri, 21 Mar 2014 12:27:08 +0000 (13:27 +0100)]
[TASK] Cleanup Ajax URL inline settings

This change streamlines the use of Ajax URLs
by auto-publishing all Ajax URLs to JavaScript
inline settings.

All Ajax URLs can now also be looked up in
JavaScript by providing the AjaxID like that:

var ajaxUrl = TYPO3.settings.ajaxUrls['TxMyExt::process'];

All code has been adapted to reflect this change.

Resolves: #57096
Documentation: #56347
Releases: 6.2
Change-Id: I4a441f51dcb3551874082077c52918b3fc6a9b0f
Reviewed-on: https://review.typo3.org/28602
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Do not load LocalConfiguration in unit test bootstrap 91/28491/3
Christian Kuhn [Tue, 18 Mar 2014 12:28:36 +0000 (13:28 +0100)]
[BUGFIX] Do not load LocalConfiguration in unit test bootstrap

The patch removes loadConfigurationAndInitialize() from unit test
bootstrap and substitutes it with some more fine grained bootstrap
calls. In effect, the instance specific LocalConfiguration.php is
no longer loaded and removes another depencency from unit tests
to the instance.

Change-Id: Ia6591fe8d40d530558a514832c8d649c46b4ccc9
Resolves: #57035
Related: #51436
Releases: 6.2
Reviewed-on: https://review.typo3.org/28491
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Tests: Remove some useless tests 44/28644/4
Christian Kuhn [Sat, 22 Mar 2014 17:55:00 +0000 (18:55 +0100)]
[BUGFIX] Tests: Remove some useless tests

Some tests of GeneralUtility depend on LocalConfiguration
settings and can not easily be mocked in a sane way. They
are also not very helpfull and the functionality tested is
unlikly to break. They are removed for now.

Change-Id: Ic162e950d4df75e1b8aea63a6c547139efabdf15
Resolves: #57185
Related: #51436
Related: #57035
Releases: 6.2
Reviewed-on: https://review.typo3.org/28644
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel