Packages/TYPO3.CMS.git
4 years ago[RELEASE] Release of TYPO3 6.2.11 08/37908/2 6.2.11 TYPO3_6-2-11
TYPO3 Release Team [Tue, 17 Mar 2015 14:06:29 +0000 (15:06 +0100)]
[RELEASE] Release of TYPO3 6.2.11

Change-Id: Ib334b66db04e4bbd2deadc0210b8891227a90cee
Reviewed-on: http://review.typo3.org/37908
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
4 years ago[FOLLOWUP][BUGFIX] Handle exceptions in Logging API 96/37896/2
Steffen Müller [Sun, 8 Mar 2015 14:43:28 +0000 (15:43 +0100)]
[FOLLOWUP][BUGFIX] Handle exceptions in Logging API

Do not run exceptions through json_encode() but convert them to strings
first.

Resolves: #65577
Releases: master, 6.2
Change-Id: I8c893f64942f8ec18aed1cef5a276345b3f568fe
Reviewed-on: http://review.typo3.org/37896
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Fix wrong enforcement of pid 0 for rootLevel = -1 in impexp 38/37838/3
Marc Bastian Heinrichs [Mon, 23 Jun 2014 11:13:52 +0000 (13:13 +0200)]
[BUGFIX] Fix wrong enforcement of pid 0 for rootLevel = -1 in impexp

The importer had no support for setting TCA ctrl rootLevel = -1 and
forces the import to pid 0, when a normal page id is also allowed.

Resolves: #59616
Releases: master, 6.2
Change-Id: I224a6d0065c2031636fce494924fc892541ab350
Reviewed-on: http://review.typo3.org/37838
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
4 years ago[BUGFIX] Do not remove FE session cookie if fe_user is logged in 69/37869/2
Markus Klein [Tue, 24 Feb 2015 11:48:14 +0000 (12:48 +0100)]
[BUGFIX] Do not remove FE session cookie if fe_user is logged in

We ensure that the session cookie is preserved when a user is logged in
and the fe_login_mode is set to "all".

Resolves: #65223
Releases: master, 6.2
Change-Id: Id9e9d56b90215f6e0d7310ff191ab4488a802bb0
Reviewed-on: http://review.typo3.org/37869
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Allow to disable Info->PageTSconfig again 63/37863/2
Markus Klein [Tue, 10 Mar 2015 11:31:36 +0000 (12:31 +0100)]
[BUGFIX] Allow to disable Info->PageTSconfig again

The patch for #49992 changed the identifier for the module function
to the namespaced class name, which breaks the documented option
mod.web_info.menu.function.tx_infopagetsconfig_webinfo = 0

Change this back to 'tx_infopagetsconfig_webinfo' in order to make
the config option working again.

Resolves: #65638
Releases: master, 6.2
Change-Id: Ica197143da1e63d61d06100c0b0832096debce62
Reviewed-on: http://review.typo3.org/37863
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[TASK] Category fields are not added to TCA interface section 61/37861/2
Oliver Hader [Thu, 22 May 2014 13:41:37 +0000 (15:41 +0200)]
[TASK] Category fields are not added to TCA interface section

$TCA[<table>]['interface']['showRecordFieldList'] contains a list
of fields that is used for visualizing
* accordant element details (record info)
* differences in the workspaces detail view

Fields that are treated as category should appear automatically.
If using CategoryRegistry::add() in extensions, the option
property "interface" can be used to disable this automated
handling in the interface section - in that case it needs
to be FALSE.

Resolves: #59042
Releases: master, 6.2
Change-Id: Id51aaf5d057a70cb9b8c230da3f9335f74c9850a
Reviewed-on: http://review.typo3.org/37861
Reviewed-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[TASK] Show suited TYPO3 versions at distributions 60/37860/4
Andreas Fernandez [Thu, 12 Mar 2015 14:17:41 +0000 (15:17 +0100)]
[TASK] Show suited TYPO3 versions at distributions

Show the suited TYPO3 version of each distribution. If a distribution
does matches the used TYPO3 version, show the version numbers in a
"success" label.

Resolves: #65680
Releases: master, 6.2
Change-Id: Ib65834c1856b5d0cdde7e7bb477743b4d95e2dc4
Reviewed-on: http://review.typo3.org/37860
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Avoid fatal for unserializable extension configuration 59/37859/2
Stephan Großberndt [Wed, 11 Mar 2015 22:31:17 +0000 (23:31 +0100)]
[BUGFIX] Avoid fatal for unserializable extension configuration

unserialize() might not return an array if something is wrong in an
extensions configuration. Avoid the fatal error in
ArrayUtility::flatten() by making sure it is an (empty) array.

Resolves: #65576
Releases: master, 6.2
Change-Id: I8ba5fe4dd32e3c43398ef646a6a89518537e10ba
Reviewed-on: http://review.typo3.org/37859
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] RTE styling does not fit to TCEforms styling 52/37752/3
Benjamin Mack [Sun, 17 Aug 2014 20:43:10 +0000 (22:43 +0200)]
[BUGFIX] RTE styling does not fit to TCEforms styling

The toolbar on top still has old background color and border.
Removing these settings makes the toolbar better
natively integrated into the rest of the CMS.

Resolves: #57292
Releases: master, 6.2
Change-Id: I51ed27bff09e6b0479aa0673c65497e08b52540c
Reviewed-on: http://review.typo3.org/37752
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Resolve class name from aliases managed by composer 25/37825/2
Helmut Hummel [Fri, 13 Mar 2015 15:27:02 +0000 (16:27 +0100)]
[BUGFIX] Resolve class name from aliases managed by composer

The old class loader has API to return the original class name
when given an alias. This API was not respected when implementing
composer class loading with #64361 with the result that it was
broken for all classes and aliases managed by the composer class loader.

To address this issue, the composer class loader is now injected into
the old class alias map, so that it can resolve class names from aliases
managed by it.

Related: #64361
Resolves: #65667
Releases: 6.2, master
Change-Id: If0b5098d72147fe7d76e97ee61c81d87cad72b4b
Reviewed-on: http://review.typo3.org/37825
Reviewed-by: Sascha Nowak <sascha.nowak@netlogix.de>
Tested-by: Sascha Nowak <sascha.nowak@netlogix.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[FOLLOWUP] Do not respect autoload info if core repo is composer root 19/37819/2
Helmut Hummel [Fri, 13 Mar 2015 13:27:41 +0000 (14:27 +0100)]
[FOLLOWUP] Do not respect autoload info if core repo is composer root

The fallback path was accidentally checked first in the 6.2 branch,
leading to the situation that the distribution path is never checked.

This is now fixed in this followup.

Releases: 6.2
Resolves: #65420
Change-Id: Iac60e63daa09d105723b181e50f6c2d2f2e4abfe
Reviewed-on: http://review.typo3.org/37819
Reviewed-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] FAL: Allow filenames like "0" 68/37768/4
Malte Muth [Thu, 12 Mar 2015 06:56:57 +0000 (07:56 +0100)]
[BUGFIX] FAL: Allow filenames like "0"

When sanitizing file names, the condition is now checks less greedy
and does not reject filenames like "0" anymore.

Change-Id: I8b7aab813390f836a4e4edb418b77a7525d247d0
Releases: master, 6.2
Resolves: #65673
Reviewed-on: http://review.typo3.org/37768
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Consider subfolder in absolute links 50/37750/3
Markus Klein [Thu, 24 Jul 2014 18:44:23 +0000 (20:44 +0200)]
[BUGFIX] Consider subfolder in absolute links

Ensure typolink considers the subfolder an instance might be running in
when creating absolute URLs and absRefPrefix is not set.

Resolves: #60545
Releases: master, 6.2
Change-Id: I8d3c2edc46bd01a9aa061cb695cb8795812cd305
Reviewed-on: http://review.typo3.org/37750
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Missing relations when saving flexform fields 96/37796/2
Stephan Großberndt [Wed, 11 Mar 2015 23:21:17 +0000 (00:21 +0100)]
[BUGFIX] Missing relations when saving flexform fields

This patch adds the missing parameter $table to the call of
getRelations_procDB when analyzing flexform fields.

Resolves: #65126
Releases: master, 6.2
Change-Id: Ie4ad34973882da8501881cff3146858581a05350
Reviewed-on: http://review.typo3.org/37796
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] EXT:dbal: Harden unit tests for expression chunks 54/37754/2
Andreas Fernandez [Thu, 27 Nov 2014 16:51:20 +0000 (17:51 +0100)]
[TASK] EXT:dbal: Harden unit tests for expression chunks

The unit tests for the new expression chunking do not cover every
possible case. The tests are improved to avoid further regressions
in the new expression chunking. For a better understanding, the
expected WHERE conditions are written in the comments of some
non-obvious tests.

Resolves: #63373
Related: #63345, #61654
Releases: master, 6.2
Change-Id: I9e94fa315afc023e84854017230cd008e211059e
Reviewed-on: http://review.typo3.org/37754
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Add IE 11 detection to ExtJS 91/37791/2
Lorenz Ulrich [Wed, 11 Mar 2015 23:09:39 +0000 (00:09 +0100)]
[TASK] Add IE 11 detection to ExtJS

ExtJS 3.4.1 used in the TYPO3 Core does not ship browser detection for
Internet Explorer 11. Because IE 11 uses "Gecko" in the user-agent
string to be detected as a modern browser, ExtJS treats IE11 as Gecko
browser which leads to various problems with JavaScript features that
are not part of IE.

For financial and licensing reasons, TYPO3 cannot update to ExtJS 3.4.2
which includes the detection. Therefore, this change adds IE 11 detection
to ExtJS. ExtJS now returns true for "Ext.isIE" and "Ext.isIE11" and
false for "Ext.isGecko".

Resolves: #55774
Resolves: #55775
Resolves: #56192
Releases: master,6.2
Change-Id: Id86cde375aeba3a314db6baadad4446f38b23eb0
Reviewed-on: http://review.typo3.org/37791
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
4 years ago[BUGFIX] PHP Warning in HistoryService 87/37787/2
Oliver Hader [Wed, 11 Mar 2015 14:43:01 +0000 (15:43 +0100)]
[BUGFIX] PHP Warning in HistoryService

Using the workspace module in the backend might show warnings
concerning the HistoryService if no history is available for
a particular record.

Resolves: #65668
Releases: master, 6.2
Change-Id: I0a80d714c0633568d4ee4827adb7502601b75b6b
Reviewed-on: http://review.typo3.org/37787
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Use a typecast to ensure correct value 81/37781/2
Georg Ringer [Thu, 12 Mar 2015 08:56:48 +0000 (09:56 +0100)]
[BUGFIX] Use a typecast to ensure correct value

BackendUtility::getLabelsFromItemsList must use a typecast to compare
values.

Change-Id: I6efecbd4871e8435a41aa4310c5e6db19e9bb280
Resolves: #65689
Releases: master,6.2
Reviewed-on: http://review.typo3.org/37781
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[TASK] Add functional test for imports with forced uids 55/37755/2
Marc Bastian Heinrichs [Thu, 15 May 2014 13:05:52 +0000 (15:05 +0200)]
[TASK] Add functional test for imports with forced uids

Adds a functional test to verify imports with forced uids.
The regarding error message for uncompatible forcing sys_file
uids is also shown now after the import is done.

Resolves: #58824
Releases: master, 6.2
Change-Id: If6062866903277ff32eae24354b6fd264fb65600
Reviewed-on: http://review.typo3.org/37755
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Correct trim of trailing slash 49/37749/2
Andreas Fernandez [Wed, 28 Jan 2015 21:25:35 +0000 (22:25 +0100)]
[BUGFIX] Correct trim of trailing slash

The trailing slash was accidentally trimmed of $expectedTarget, which
never has a trailing slash. Remove the slash from $actualTarget now.

Resolves: #57413
Releases: master, 6.2
Change-Id: Idf05dd7c8cbe808b0c8ae8734db206b934280e97
Reviewed-on: http://review.typo3.org/37749
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[TASK] Remove deprecated "strict" PHPUnit option 48/37748/2
Mathias Brodala [Fri, 6 Mar 2015 13:43:04 +0000 (14:43 +0100)]
[TASK] Remove deprecated "strict" PHPUnit option

Resolves: #65569
Releases: master, 6.2
Change-Id: Ica1c3e9c90a0e4a97bd47afa1ea092fe9e957ef2
Reviewed-on: http://review.typo3.org/37748
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Add domain model validators only once 79/37579/2
Alexander Schnitzler [Sat, 14 Feb 2015 22:04:48 +0000 (23:04 +0100)]
[BUGFIX] Add domain model validators only once

If a domain model validator is present and a controller
action accepts this domain model as argument, the validator
is added twice to the validation tree.

It is added in
ValidatorResolver::buildMethodArgumentsValidatorConjunctions()
and in ValidatorResolver::addCustomValidators() which is called
from ValidatorResolver::getBaseValidatorConjunction()

Both methods are called when building the validation tree in
ActionController::initializeActionMethodValidators()

Resolves: #52607
Releases: master, 6.2
Change-Id: Ic1674bacfb027840d9b8fcd1d66586ebb0e75ad6
Reviewed-on: http://review.typo3.org/37579
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Properly handle absolute links in typolink() 33/37733/2
Markus Klein [Wed, 11 Mar 2015 14:17:52 +0000 (15:17 +0100)]
[BUGFIX] Properly handle absolute links in typolink()

Fix a wrong assumption in the code that claims we link across domains.
If config.forceAbsoluteUrl is set, we might link to the same domain.

The patch adds a check, such that the assumption is correct afterwards.

Resolves: #65666
Releases: master, 6.2
Change-Id: I5a26522c625303637dee91a23dbf902f86a20bed
Reviewed-on: http://review.typo3.org/37733
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Correct upload field name for TCA internal_type file 32/37732/2
Wouter Wolters [Wed, 4 Mar 2015 14:46:16 +0000 (15:46 +0100)]
[BUGFIX] Correct upload field name for TCA internal_type file

Enforcing a file doesn't take the file upload field into
consideration. Correct the name of the check in JavaScript.

Resolves: #47372
Releases: master,6.2
Change-Id: I6958cc32afb72ac0998bb3c4ae99de14ba39aef8
Reviewed-on: http://review.typo3.org/37732
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Re-enable menu configuration caching 01/35001/3
Martin Helmich [Wed, 3 Dec 2014 17:00:40 +0000 (18:00 +0100)]
[BUGFIX] Re-enable menu configuration caching

It is ensured that the menu configuration is always an array.

The PageRepository::getHash() method is extended to return the
raw cache content. This allows to cache empty arrays.

Change-Id: If92c80feabb8e68b66497827667b9fd0ab1c214e
Resolves: #63550
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/35001
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Scheduler misses the "stop" icon when a task is running 10/37710/2
Ernesto Baschny [Tue, 10 Mar 2015 19:23:08 +0000 (20:23 +0100)]
[BUGFIX] Scheduler misses the "stop" icon when a task is running

Fixes the regression introduced in https://review.typo3.org/35759

Resolves: #65646
Releases: 6.2
Change-Id: Ic130c530d1d4ccb5fa633ea121a6aebae1f7c965
Reviewed-on: http://review.typo3.org/37710
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
4 years ago[BUGFIX] DBAL: Set allowNull for insert and update queries to TRUE 01/37701/2
Armin Ruediger Vieweg [Sat, 31 Jan 2015 22:03:24 +0000 (23:03 +0100)]
[BUGFIX] DBAL: Set allowNull for insert and update queries to TRUE

When DBAL is installed, it was not possible to save NULL values to database, but
TCA fields with mode=useOrOverridePlaceholder fields strongly requires this.
Without the possibility to store NULL to database, "useOrOverridePlaceholder"
would always override the original value.

Resolves: #63991
Releases: master, 6.2
Change-Id: I23cd221431ba9d00e588942bc7c7030e9af805dc
Reviewed-on: http://review.typo3.org/37701
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
4 years ago[BUGFIX] Use "user_auth" index for DataHandler:printLogErrorMessages 98/37698/2
Andreas Fernandez [Tue, 10 Mar 2015 10:41:07 +0000 (11:41 +0100)]
[BUGFIX] Use "user_auth" index for DataHandler:printLogErrorMessages

Add the database field "action" to the SQL query to be able to use
the "user_auth" index and speed up the query.

Resolves: #65634
Releases: master, 6.2
Change-Id: I3371367a2fb7c86ea4cf38ee8f7ce1e8a571ffb8
Reviewed-on: http://review.typo3.org/37698
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Respect newlines in ['SYS']['binSetup'] 82/37682/2
Nicole Cordes [Mon, 9 Mar 2015 15:56:39 +0000 (16:56 +0100)]
[BUGFIX] Respect newlines in ['SYS']['binSetup']

If you separate the list of programs by new line (as suggested in the
Install Tool description), the programs aren't found.
The problem is that the newline is saved as string component by
the Install Tool. Therefore the new line separator (LF) has to
be replaced before splitting the value.

Releases: master, 6.2
Resolves: #65624
Change-Id: I39d8634265bf69d58ad4af3fd2eac913a14a3ef5
Reviewed-on: http://review.typo3.org/37682
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Handle exceptions in Logging API 21/37621/2
Markus Klein [Sat, 7 Mar 2015 19:11:27 +0000 (20:11 +0100)]
[BUGFIX] Handle exceptions in Logging API

Do not run exceptions through json_encode() but convert them to strings
first.

Resolves: #65577
Releases: master, 6.2
Change-Id: I46e743480b32010bff39784a3572a5fe96cf0859
Reviewed-on: http://review.typo3.org/37621
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Fix labels in linkvalidator 93/37593/2
Georg Ringer [Fri, 6 Mar 2015 09:39:58 +0000 (10:39 +0100)]
[BUGFIX] Fix labels in linkvalidator

Change the id which is referred in the label to make it
possible to toggle the checkbox by clicking on the label.

Resolves: #65564
Releases: master, 6.2
Change-Id: I4d4b8ac91b324405f5c94e2db7e6fd5205e85462
Reviewed-on: http://review.typo3.org/37593
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Allow processed folders in different storage 84/37584/3
Helmut Hummel [Mon, 22 Sep 2014 13:32:52 +0000 (15:32 +0200)]
[BUGFIX] Allow processed folders in different storage

The processingfolder of a storage can now be a combined identifier.
This makes it possible to have the processed files outside of the
storage in case of a read-only storage for instance.

Releases: master, 6.2
Resolves: #61463
Change-Id: I4f0e187db2aede33be40f62df3bb9f63e9706d46
Reviewed-on: http://review.typo3.org/37584
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[TASK] Update to phpunit 4.5 76/37576/2
Christian Kuhn [Thu, 5 Mar 2015 21:13:28 +0000 (22:13 +0100)]
[TASK] Update to phpunit 4.5

Releases: master, 6.2
Resolves: #65554
Change-Id: I526f4fe39af0d19b26f525b9b062aedb456794f0
Reviewed-on: http://review.typo3.org/37576
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Avoid getTCAtypeValue-calls in DataHandler->fillInFieldArray 75/37575/2
Stephan Großberndt [Wed, 10 Dec 2014 10:13:43 +0000 (11:13 +0100)]
[BUGFIX] Avoid getTCAtypeValue-calls in DataHandler->fillInFieldArray

DataHandler->fillInFieldArray fetches BackendUtility::getTCAtypeValue
for each record but uses the value only if several RTE-transformation-
related conditions are met.

Fetch BackendUtility::getTCAtypeValue only if the RTE-transformation-
related conditions are met for the first time and keep it afterwards.

Resolves: #63728
Releases: master, 6.2
Change-Id: I14b307c45cab2d778968f3fd98c18348b666be3d
Reviewed-on: http://review.typo3.org/37575
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Catch all errors on adding files of sys_files to export 66/37566/2
Marc Bastian Heinrichs [Thu, 22 May 2014 08:32:03 +0000 (10:32 +0200)]
[BUGFIX] Catch all errors on adding files of sys_files to export

Adding files from sys_file records is not robust enough. For example
sys_file records could exist for already deleted files. In this case a
RuntimeException is thrown, which is not caught currently.

Solution: catch all Exceptions thrown from Resources in
export_addSysFile and report them to the user.

Resolves: #59015
Releases: master, 6.2
Change-Id: If7ce51a2ae756b43dc30d5545b076310972342f4
Reviewed-on: http://review.typo3.org/37566
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[FOLLOWUP][BUGFIX] Prevent wrong ref_index for fields with soft references 54/37554/2
Nicole Cordes [Tue, 3 Mar 2015 21:46:03 +0000 (22:46 +0100)]
[FOLLOWUP][BUGFIX] Prevent wrong ref_index for fields with soft references

Prevent problems with NULL values in reference fields.

Releases: master, 6.2
Resolves: #60226
Change-Id: I168e508ca9d47a3047a7b11bed0c315186ff2e2a
Reviewed-on: http://review.typo3.org/37554
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Normalize font-size in install tool 40/37540/3
Benjamin Kott [Wed, 4 Mar 2015 21:09:42 +0000 (22:09 +0100)]
[BUGFIX] Normalize font-size in install tool

Releases: 6.2
Resolves: #65501
Change-Id: I429a6d654f8af0ada429678eff6476ba478ad683
Reviewed-on: http://review.typo3.org/37540
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Reload extension list after update 36/37536/3
Nicole Cordes [Tue, 3 Mar 2015 14:10:12 +0000 (15:10 +0100)]
[BUGFIX] Reload extension list after update

If an extension was updated the list should be reloaded to show
update information.

Releases: master, 6.2
Resolves: #64733
Change-Id: I27598995fd365745eab14a1e095fd342cd198093
Reviewed-on: http://review.typo3.org/37536
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Update misleading help text about deprecated/removed features 27/36727/3
Michael Schams [Sat, 7 Feb 2015 13:52:26 +0000 (00:52 +1100)]
[BUGFIX] Update misleading help text about deprecated/removed features

This patch corrects misleading help texts about deprecated curl*
functions such as curlProxyServer, curlProxyTunnel, curlProxyUserPass and
curlTimeout. The texts claim, these settings have been removed in 6.2,
which is not true (they are still used and required).

Resolves: #64920
Releases: 6.2
Change-Id: I0f33bb059e1be6861ecca84c190b0e5b2b19f632
Reviewed-on: http://review.typo3.org/36727
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Remove RemoveXSS credit link 35/37535/2
Christian Kuhn [Wed, 4 Mar 2015 18:45:25 +0000 (19:45 +0100)]
[BUGFIX] Remove RemoveXSS credit link

The current link to RemoveXSS project is broken and
no new one can be found. The patch removes the link
from about module but keeps other references in the
source files

Change-Id: Iff9590aae3cd093c17553a94d1d5c88afde54834
Releases: master, 6.2
Resolves: #65485
Reviewed-on: http://review.typo3.org/37535
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Regression when scaling/cropping in GIFBUILDER 33/37533/2
Torben Hansen [Tue, 3 Mar 2015 08:34:41 +0000 (09:34 +0100)]
[BUGFIX] Regression when scaling/cropping in GIFBUILDER

The fix for issue #64224 introduced a regression in GIFBUILDER
resulting in problems with image scaling/cropping.

For $fileInfo and $maskInfo: use 'processedFile' for FAL files
if available and correctly distinguish between FAL- and non-FAL files
otherwise by checking for 'origFile'.

Resolves: #65378
Related: #64224
Releases: master, 6.2
Change-Id: Ib472bdcdc7f814e50ebd18e084f5fbe7d09fc410
Reviewed-on: http://review.typo3.org/37533
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Do not fetch records from tables without references 78/37478/3
Stephan Großberndt [Tue, 9 Dec 2014 13:42:05 +0000 (14:42 +0100)]
[BUGFIX] Do not fetch records from tables without references

If no field of a table can contain a reference by its TCA definition
do not fetch record from this table at all. For tables with fields
which can possibly contain references fetch only these fields instead
of all.

Cache list of fields which don't have to be checked in the local member
'nonRelationFields' instead of recreating the list for each and every
record.

Don't try to update references for tables sys_log, sys_history and
tx_extensionmanager_domain_model_extension since they cannot contain
references and usually have a big amount of records.

Introduce some early returns to make code more readable.

Improves performance for both bulk inserts and updating the reference
index from the command line.

Resolves: #63676
Resolves: #63782
Releases: master, 6.2
Change-Id: Ibc6f988bfde6042339595bf7b3e18125c64ae72d
Reviewed-on: http://review.typo3.org/37478
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Prevent infinite loop in TceformsUpdateWizard 32/37032/6
Nicole Cordes [Fri, 20 Feb 2015 00:55:57 +0000 (01:55 +0100)]
[BUGFIX] Prevent infinite loop in TceformsUpdateWizard

If you have more than 1000 missing files within file relations in
tt_content.image and pages.media an infinite loop pops up, because
always the same records are fetched from database. This patch stores
the uids of failed records for each table to prevent the infinite loop
and restart processing after timeout.

Releases: 6.2
Resolves: #57393
Change-Id: I559be13efe88ae3111321dafb8d6a79886f903ae
Reviewed-on: http://review.typo3.org/37032
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Göran Bodenschatz <coding@46halbe.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Fix listAll GET parameter case in indexed_search 70/37470/2
Alexander Stehlik [Mon, 2 Mar 2015 18:44:30 +0000 (19:44 +0100)]
[BUGFIX] Fix listAll GET parameter case in indexed_search

The GET parameter that is set is called listAll. We now read this
parameter instead of listALL to make the link for listing all
entries work again.

Releases: master, 6.2
Resolves: #65468
Change-Id: Ic1e13bf0e6f7426d5efb54b0996323ac681c2ed4
Reviewed-on: http://review.typo3.org/37470
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Properly handle XLF translation file detection 75/37475/3
Markus Klein [Wed, 25 Feb 2015 13:26:51 +0000 (14:26 +0100)]
[BUGFIX] Properly handle XLF translation file detection

The GeneralUtility::llXmlAutoFileName() method will now also correctly
handle paths to files that are not placed within a known directory
(ext, sysext, etc.) if the call is made with $sameFile = TRUE.
This allows placing language files in arbitrary storage.

This change finally re-enables the usage of locallang files in TypoScript
or f:translate-ViewHelpers which use the XLIFF format and are not placed
within an extension.
This has always been working with files in the XML format.

Resolves: #65273
Releases: master, 6.2
Change-Id: Ibb647cea32a9fc04e9dfdf707a5e8690ad399d5c
Reviewed-on: http://review.typo3.org/37475
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Add property "uidLocal" to extbase FileReference model 63/37463/2
Jost Baron [Sun, 1 Mar 2015 16:07:33 +0000 (17:07 +0100)]
[BUGFIX] Add property "uidLocal" to extbase FileReference model

This is needed so extbase persists FileReferences created in the
frontend correctly. Otherwise the field "uid_local" would always
be set to 0 in the database, creating an invalid file reference.

Resolves: #48965
Related: #5718

Releases: 6.2, master
Change-Id: I1e620c18d60546fdc081410b1d27a1b1de6f3e5b
Reviewed-on: http://review.typo3.org/37463
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Show data of valid columns in element info 62/37462/2
Marc Bastian Heinrichs [Wed, 5 Feb 2014 15:18:42 +0000 (16:18 +0100)]
[BUGFIX] Show data of valid columns in element info

The element information show rows for the data from
the special fields crdate, cruser_id and tstamp also if they
are not defined in TCA. They are also hardcoded and
doesn't rely on the settings in TCA ctrl.

Resolves: #55699
Releases: master, 6.2
Change-Id: I7c9a387c75d367618117ffcb6f04592ee519cecc
Reviewed-on: http://review.typo3.org/37462
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Invalid back path of ImageViewHelper in TYPO3 backend 08/37408/3
Oliver Hader [Sun, 1 Mar 2015 13:36:27 +0000 (14:36 +0100)]
[BUGFIX] Invalid back path of ImageViewHelper in TYPO3 backend

If rendering an image in the TYPO3 backend, the regular case is
to prepend "../" to an URI with the assumption that the original
HTTP request was handled by typo3/backend.php.

For the page module for instance, the request points to
typo3/sysext/cms/layout/db_layout.php, thus the back path way
does not work anymore.

To overcome that behavior the absolute path shall be used
instead by determining TYPO3_SITE_PATH. For the case that
some custom processing relies on "../" this change might
be breaking.

Resolves: #65433
Releases: master, 6.2
Change-Id: I969f6a3bdd000b7efb7607e533d1117c8d363959
Reviewed-on: http://review.typo3.org/37408
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Backport functional / unit bootstrap changes to 6.2 54/37454/2
Oliver Klee [Sat, 31 Jan 2015 17:27:38 +0000 (18:27 +0100)]
[TASK] Backport functional / unit bootstrap changes to 6.2

Merge a couple of changes from master to 6.2 to keep the
unit / functional test environment better in sync.

* Putting bootstrap code into classes
* A bugfix in functional tests if typo3temp does not exist
* Minor cleanups

Change-Id: If0f89fcf1ec9eefb27b539a99fb8ee58cf47a869
Resolves: #65454
Related: #64662
Related: #64715
Related: #64843
Releases: 6.2
Reviewed-on: http://review.typo3.org/37454
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Invalid reference count on storing new child records in FlexForm 46/37346/2
Oliver Hader [Sat, 28 Feb 2015 15:08:45 +0000 (16:08 +0100)]
[BUGFIX] Invalid reference count on storing new child records in FlexForm

If creating a new parent record that contains inline child
records as part of a FlexForm configuration, the resulting
reference count is the temporary "NEW..." identifier. The
expected result is to have the number of child references
in that case as well.

Resolves: #58307
Releases: master, 6.2
Change-Id: I36a4dd06a38ad5d9f197190658b97f8a3b5fa234
Reviewed-on: http://review.typo3.org/37346
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Prevent redirection loop for shortcuts 49/37449/2
Nicole Cordes [Mon, 2 Mar 2015 10:05:16 +0000 (11:05 +0100)]
[BUGFIX] Prevent redirection loop for shortcuts

This patch prevents the redirection to another page if the returned
URL is empty which would trigger a redirection loop.

Releases: master, 6.2
Resolves: #65447
Change-Id: Ida0fc65c83d32ca7ae45db2d02b87d7eb0c8d345
Reviewed-on: http://review.typo3.org/37449
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] File must use MIME type from index record 11/37211/2
Andreas Wolf [Wed, 25 Feb 2015 12:52:22 +0000 (13:52 +0100)]
[BUGFIX] File must use MIME type from index record

The MIME type is stored in a field "mimetype" in the drivers, while the
field is called "mime_type" in the database. As the file object deals
with both when retrieving the type, it must respect this mismatch.

Change-Id: I06882c4d77e38284a48f7f7d7527bfc1c535edf3
Resolves: #65335
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/37211
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Let Scheduler handle storage indexing exception 24/37424/2
Francois Suter [Tue, 24 Feb 2015 09:05:43 +0000 (10:05 +0100)]
[BUGFIX] Let Scheduler handle storage indexing exception

The FileStorageIndexingTask should not handle exceptions itself.
Instead it should let them bubble up to let the Scheduler take
care of the reporting.

Resolves: #65248
Releases: 6.2, master
Change-Id: Ib29c20b40de8abd27869682c9f6d4479718d25f5
Reviewed-on: http://review.typo3.org/37424
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[FOLLOWUP][BUGFIX] Respect interfaces as well when checking class existence 22/37422/2
Helmut Hummel [Sun, 1 Mar 2015 17:36:51 +0000 (18:36 +0100)]
[FOLLOWUP][BUGFIX] Respect interfaces as well when checking class existence

Add accidentally forgotten guard clause for case insensitivity.

Releases: master, 6.2
Resolves: #65434
Change-Id: I374a7201f3c5ef356883302fc0825f9a02ef0c30
Reviewed-on: http://review.typo3.org/37422
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Respect interfaces as well when checking class existence 13/37413/2
Helmut Hummel [Sun, 1 Mar 2015 14:23:33 +0000 (15:23 +0100)]
[BUGFIX] Respect interfaces as well when checking class existence

As a backwards compatibility measure, the composer class loader
checked for class existence before requiring a class file, which
could only happen if wrong class name casing was used before.

We now enable this also for interfaces.

Releases: master, 6.2
Resolves: #65434
Change-Id: I6dc1dc6cbf8cb7018ceeff1eb881c80658c11e33
Reviewed-on: http://review.typo3.org/37413
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Code completion in t3editor behind operator 10/37410/2
Frederic Gaus [Tue, 10 Feb 2015 16:02:07 +0000 (17:02 +0100)]
[BUGFIX] Code completion in t3editor behind operator

Fix code completion in t3editor when substituing a value with
completed code behind a typoscript operator.

Change-Id: Id1fbb99aba850ee0787dba4b8562d0a22c119979
Resolves: #25594
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/36804
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
(cherry picked from commit 149a94180add7c2d490fad6d245238f3e3e4bb14)
Reviewed-on: http://review.typo3.org/37410

4 years ago[BUGFIX] Check default storage first to find default upload folder 01/37401/2
Frans Saris [Tue, 24 Feb 2015 10:22:34 +0000 (11:22 +0100)]
[BUGFIX] Check default storage first to find default upload folder

Resolves: #65040
Releases: master, 6.2
Change-Id: I14d6d362db1796c90b03254f6339cb131f152a45
Reviewed-on: http://review.typo3.org/37401
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] t3editor: Add code autocompletion for listNum 00/37400/2
Frederic Gaus [Tue, 10 Feb 2015 14:21:54 +0000 (15:21 +0100)]
[BUGFIX] t3editor: Add code autocompletion for listNum

Add code autocompletion for property listNum and property
preIfEmptyListNum in t3editor.

Resolves: #25732
Releases: master, 6.2
Change-Id: I13c15e2e262a926e8444d7f50933823b27cdcd9d
Reviewed-on: http://review.typo3.org/37400
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Do not respect autoload info if core repo is composer root 80/37380/2
Helmut Hummel [Sat, 28 Feb 2015 21:20:38 +0000 (22:20 +0100)]
[TASK] Do not respect autoload info if core repo is composer root

Doing a composer install directly in typo3 source has been
a requirement for core development for a while and a convenient shortcut
to quickly set up a TYPO3 installation for executing tests for extensions.

Respecting the class loading information generated in that location is
unfortunate however as it would require editing of the core composer.json
if additional classes from the core should respected.

Instead of respecting this as valid composer autoload file location,
we always fall back to the hard coded and committed class loading info
if no autoload file of a composer distribution call is found.

Releases: master, 6.2
Resolves: #65420
Change-Id: I1953303c6d2b5b221017deb7d2d7a0b43e4d08bf
Reviewed-on: http://review.typo3.org/37380
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[FOLLOWUP][BUGFIX] Allow file:// links in Element Browser 78/37378/3
Nicole Cordes [Sat, 28 Feb 2015 19:19:43 +0000 (20:19 +0100)]
[FOLLOWUP][BUGFIX] Allow file:// links in Element Browser

This patch allows the use of links with file scheme in typolink().

Releases: master, 6.2
Resolves: #65358
Change-Id: I25a8ca88637d1ecab4881127cf2228214b6c954a
Reviewed-on: http://review.typo3.org/37378
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] SelectViewHelper must respect option(Value|Label)Field for arrays 76/37376/2
Alexander Schnitzler [Sat, 14 Feb 2015 16:32:28 +0000 (17:32 +0100)]
[BUGFIX] SelectViewHelper must respect option(Value|Label)Field for arrays

The SelectViewHelper tries to resolve the value and label
field as long as options are of type object, i.e. domain
objects but that functionality must also exist for arrays
because their structure is similar to objects.

Example:
<f:form.select
options="{items}"
optionValueField="uid"
optionLabelField="title"
/>

$items = array(
    0 => array(
        'uid' => 1,
        'title' => 'Foo'
    ),
);

Currently the view helper tries to use the array key as
value field (i.e. 0) and the array value (i.e. array) as
label and fails calling htmlspecialchars on the array.

This patch allows values to be arrays themselves and to
be treated like domain objects.

Resolves: #65073
Releases: master, 6.2
Change-Id: Ia803ceb38c1f7488d48863f5a6781b229def50c4
Reviewed-on: http://review.typo3.org/37376
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[FOLLOWUP][BUGFIX] Prevent wrong ref_index for fields with soft references 75/37375/2
Nicole Cordes [Sat, 28 Feb 2015 20:34:25 +0000 (21:34 +0100)]
[FOLLOWUP][BUGFIX] Prevent wrong ref_index for fields with soft references

This patch resolved failing functional tests.

Releases: 6.2
Resolves: #65421
Change-Id: I1500cd766aa74199601dc74a4b82f255f4aa5067
Reviewed-on: http://review.typo3.org/37375
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Prevent wrong ref_index for fields with soft references 72/37372/2
Nicole Cordes [Thu, 19 Feb 2015 09:55:13 +0000 (10:55 +0100)]
[BUGFIX] Prevent wrong ref_index for fields with soft references

If you add a page link to a field which is defined as softrefs, the
ReferenceIndex creates an index to a FAL record if there exists a file
record with the page id. As file links are always prefixed with 'file:'
this patch adds a proper check before generating a file ref_index.

Because the functional tests of impexp extension still use a hardcoded
file path for the header_link field the patch corrects the value to
refer to a file.

Furthermore if you add a file or folder link, the field is referenced
twice for the FAL record. So we have to suppress the softreference for
those records.

Releases: master, 6.2
Resolves: #60226
Change-Id: I969224e2a291491cb7ece1f61b375071bf0eaebc
Reviewed-on: http://review.typo3.org/37372
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Escape regex chars when building sWordRegEx 66/37366/2
Alexander Stehlik [Fri, 27 Feb 2015 19:13:53 +0000 (20:13 +0100)]
[BUGFIX] Escape regex chars when building sWordRegEx

The submitted sword_list GET parameters are parsed through
preg_quote() when loaded into  TSFE->sWordRegEx to prevent
invalid regular expressions.

The initialization is moved to a seperate method
PageGenerator::initializeSearchWordDataInTsfe() and unit
tests are added.

Releases: master, 6.2
Resolves: #41728
Change-Id: Id96fd5e201c25b06001f7e1c7811d6c38239aafa
Reviewed-on: http://review.typo3.org/37366
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Allow file:// links in Element Browser 65/37365/2
Nicole Cordes [Fri, 27 Feb 2015 19:20:36 +0000 (20:20 +0100)]
[BUGFIX] Allow file:// links in Element Browser

Due to FAL checks it's not possible to link to a file:// resource as
external link. This patch checks for correct "file:" prefix for FAL
relations and allows the use of file:// as external link scheme.

Furthermore a Javascript error is resolved which prevents the closing
of the Element Browser in Chrome.

Releases: master, 6.2
Resolves: #65358
Change-Id: I706fd975654bf82a0830d9901f08ae9de7cc49bf
Reviewed-on: http://review.typo3.org/37365
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Rethrow Extbase scheduler task exceptions 55/37355/2
Mathias Brodala [Wed, 18 Feb 2015 08:10:37 +0000 (09:10 +0100)]
[BUGFIX] Rethrow Extbase scheduler task exceptions

This makes sure exception details thrown in Extbase scheduler tasks
can be shown by the Scheduler.

Resolves: #49071
Releases: master, 6.2
Change-Id: Ic703568715bf92523a9cbd0dcab6c5606ea278bb
Reviewed-on: http://review.typo3.org/37355
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Workspaces: Fix broken buttons in frontend 34/37234/2
Andreas Fernandez [Mon, 23 Feb 2015 07:08:45 +0000 (08:08 +0100)]
[BUGFIX] Workspaces: Fix broken buttons in frontend

Adds a font size to the button text, so the button text in the
"send stage" windows in the workspace dialogs used in the
frontend become visible again. Also, a background color is
added to the top buttons to fix the "cut".

Resolves: #65102
Releases: master, 6.2
Change-Id: I928299e602829b322e3c6515367bcf1ac59b2479
Reviewed-on: http://review.typo3.org/37234
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Fix cookie evaluation order 82/37282/2
Helmut Hummel [Sun, 22 Feb 2015 08:11:06 +0000 (09:11 +0100)]
[BUGFIX] Fix cookie evaluation order

The workaround added for IE8 in #22084 is not needed any more
and removed without substitution.

This avoids problems with multiple cookies which might be sent
due to nested instances or due to moving an instance around in the
folder hierarchy.

Resolves: #65187
Releases: master, 6.2
Change-Id: I75c3ebcde62257cef91837bf1fc8272e2dd77eac
Reviewed-on: http://review.typo3.org/37282
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Display Info of File in popup instead of File Metadata 82/36482/3
Fabien Udriot [Mon, 13 Oct 2014 15:20:20 +0000 (17:20 +0200)]
[BUGFIX] Display Info of File in popup instead of File Metadata

To stay inline with the File List, the popup from the list
should display info of a File and not of the File Metadata. Otherwise,
it will display misleading information for the End User such
as different creation / modification date.

Releases: master, 6.2
Resolves: #56655
Change-Id: I84ac293dc63d222d1111dd35bd1474709449bafa
Reviewed-on: http://review.typo3.org/36482
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
4 years ago[BUGFIX] Set correct workspace ID when updating referenceIndex for files 81/36481/3
Markus Klösges [Fri, 16 Jan 2015 13:00:35 +0000 (14:00 +0100)]
[BUGFIX] Set correct workspace ID when updating referenceIndex for files

When publishing a workspace the referenceIndex entries of the affected
sys_file_reference rows were not updated with the new workspace. That's
because the user is always in the affected workspace and therefore
the workspace is not set to live as expected.
Now updating referenceIndex for both workspaces when swapping.

Resolves: #64253
Releases: master, 6.2
Change-Id: Icfb4fcd1ae92da4ea881105b387c3d6db20ece95
Reviewed-on: http://review.typo3.org/36481
Tested-by: Michael Schams <typo3@2014.trash.schams.net>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[TASK] Set TYPO3 version to 6.2.11-dev 88/37288/2
TYPO3 Release Team [Thu, 26 Feb 2015 18:24:07 +0000 (19:24 +0100)]
[TASK] Set TYPO3 version to 6.2.11-dev

Change-Id: I6d8de31ab0d180f239cb017b2475ee068e45479a
Reviewed-on: http://review.typo3.org/37288
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
4 years ago[RELEASE] Release of TYPO3 6.2.10 87/37287/2 6.2.10 TYPO3_6-2-10
TYPO3 Release Team [Thu, 26 Feb 2015 18:23:23 +0000 (19:23 +0100)]
[RELEASE] Release of TYPO3 6.2.10

Change-Id: I0dc5879b38dffd53ecb16c816ce50fa4f428de76
Reviewed-on: http://review.typo3.org/37287
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
4 years ago[BUGFIX] Prevent duplicate '/' in filepath when uploading file 04/37204/2
Sascha Egerer [Mon, 23 Feb 2015 11:02:46 +0000 (12:02 +0100)]
[BUGFIX] Prevent duplicate '/' in filepath when uploading file

To prevent a duplicate '/' in a filepath the function
LocalDriver::getAbsolutePath should be used instead of
concatenating strings by hand.
This fixes also an issue that file uploads are not
possible on windows machines due to a incorrect filepath.

Resolves: #65230
Releases: master, 6.2
Change-Id: Ibe6ff9c8c1d6579c8da24f14cfd6e528f57a8e4f
Reviewed-on: http://review.typo3.org/37204
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[TASK] Harmonize allowed characters of backend usernames 11/37111/2
Sascha Egerer [Mon, 23 Feb 2015 11:44:19 +0000 (12:44 +0100)]
[TASK] Harmonize allowed characters of backend usernames

When creating new backend users from the intall tool, any
character is now accepted for the username. Whitespaces get
trimmed and uppercase is converted to lowercase.
This is already the case for TCA of be_users.username

Resolves: #65224
Releases: master, 6.2
Change-Id: I0edabd2cb82dc59bdc52dd385c1e198f04be6017
Reviewed-on: http://review.typo3.org/37111
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
4 years ago[BUGFIX] Prevent double slash in canonicalizeAndCheckFolderIdentifier 09/37109/4
Sascha Egerer [Sat, 31 Jan 2015 20:45:39 +0000 (21:45 +0100)]
[BUGFIX] Prevent double slash in canonicalizeAndCheckFolderIdentifier

If the value given to AbstractHierarchicalFilesystemDriver->
canonicalizeAndCheckFolderIdentifier()
is '.' the return was '//' but should be '/'.

Resolves: #64706
Releases: master, 6.2
Change-Id: I63900c44be3180b0a9b8e31d89c6c896382db6b7
Reviewed-on: http://review.typo3.org/37109
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
4 years ago[BUGFIX] Show "Add task" after stopping a running task 85/37185/2
Andreas Fernandez [Mon, 23 Feb 2015 14:01:23 +0000 (15:01 +0100)]
[BUGFIX] Show "Add task" after stopping a running task

Check if CMD is "stop" to make "Add task" visible.

Resolves: #65235
Releases: master, 6.2
Change-Id: Ia5b87f6105e14e224e8db0541d6fe36a021d8ba3
Reviewed-on: http://review.typo3.org/37185
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years agoRevert "[BUGFIX] Prevent wrong ref_index for fields with soft references" 83/37083/2
Nicole Cordes [Sat, 21 Feb 2015 20:26:36 +0000 (21:26 +0100)]
Revert "[BUGFIX] Prevent wrong ref_index for fields with soft references"

This reverts commit 91732f299bfa625f3e9e54873efbad2fda96d11a.

Change-Id: Ic25804fb0ef1b96a78d83285d9c425dc5d37f02d
Reviewed-on: http://review.typo3.org/37083
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Prevent wrong ref_index for fields with soft references 77/37077/3
Nicole Cordes [Thu, 19 Feb 2015 09:55:13 +0000 (10:55 +0100)]
[BUGFIX] Prevent wrong ref_index for fields with soft references

If you add a page link to a field which is defined as softrefs, the
ReferenceIndex creates an index to a FAL record if there exists a file
record with the page id. As file links are always prefixed with 'file:'
this patch adds a proper check before generating a file ref_index.

Furthermore if you add a file or folder link, the field is referenced
twice for the FAL record. So we have to suppress the softreference for
those records.

Releases: master, 6.2
Resolves: #60226
Change-Id: Ieb9179d393e23eda4fdb1bb47ba4693bd92e75d9
Reviewed-on: http://review.typo3.org/37077
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Use current domain if found in domain record 69/37069/4
Helmut Hummel [Fri, 20 Feb 2015 15:46:55 +0000 (16:46 +0100)]
[BUGFIX] Use current domain if found in domain record

The introduction of domain record cache with #24389 introduced a regression.
Previously if multiple domain names were found for one subtree,
the domain name which matched the current host name was preferred.
After the introduction of the cache, only the first domain record was
considered.

This patch properly checks the domain records against the current domain
in use and selects the most appropriate one.

Releases: master, 6.2
Resolves: #62556
Change-Id: I9cae580af9c9de0c1f6ed02d5ac8ad6a90a0fa2b
Reviewed-on: http://review.typo3.org/37069
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Keep image order during upgrade 42/37042/4
Nicole Cordes [Fri, 20 Feb 2015 11:29:25 +0000 (12:29 +0100)]
[BUGFIX] Keep image order during upgrade

After upgrading from 4.5 to 6.2 the image sorting is messed. This patch
adds sorting rows to file references to keep the correct order. The sort
interval matches the default value of DataHandler.

Releases: 6.2
Resolves: #65193
Change-Id: I0e340d0fe422447ce6b8616be0297d6a7204b4fe
Reviewed-on: http://review.typo3.org/37042
Tested-by: Philipp Mueller <philipp.mueller@lavitto.ch>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Install tool error message if session file not writeable 28/37028/2
Christian Kuhn [Thu, 19 Feb 2015 16:32:21 +0000 (17:32 +0100)]
[BUGFIX] Install tool error message if session file not writeable

In a rare case it may happen that the install tool created a session
file in typo3temp/InstallToolSessions and later those files can not
be written or updated due to permission problems.
The install tool then fails silently without error message.
Since write out of session data happens in __destruct() a proper
error message can not be created at this point anymore. Solution
is to "test write" the session file after opening it and throw
an exception if that fails.

Resolves: #65014
Releases: master, 6.2
Change-Id: I9478f0cfb58a047842d48350b7005e64f50f52ff
Reviewed-on: http://review.typo3.org/37028
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Display error message for "Check for broken extensions" 59/37059/2
Nicole Cordes [Thu, 19 Feb 2015 16:24:08 +0000 (17:24 +0100)]
[BUGFIX] Display error message for "Check for broken extensions"

If you try to uninstall an extension, which is needed by another one,
the process triggers an error without any information for the user. This
patch catches the exception and shows it in frontend.

Releases: master, 6.2
Resolves: #63672
Change-Id: I339b3cb533e7ec22cbdd27a2661e1b775ac665c0
Reviewed-on: http://review.typo3.org/37059
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Prevent warning in FAL "Update storage index" scheduler task 51/37051/2
Nicole Cordes [Fri, 20 Feb 2015 08:47:24 +0000 (09:47 +0100)]
[BUGFIX] Prevent warning in FAL "Update storage index" scheduler task

Due to the use of intval within array_walk a warning is triggered,
because array_walk calls the function with two parameters where intval
only expects one. This patch replaces the array_walk function with
DatabaseConnection::cleanIntArray.

Releases: master, 6.2
Resolves: #65189
Change-Id: Ic487f2da589e1610bd9ac7ec721d48a2735ef980
Reviewed-on: http://review.typo3.org/37051
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Fix static access to enumeration constants 27/37027/2
Mathias Brodala [Tue, 10 Feb 2015 14:27:59 +0000 (15:27 +0100)]
[BUGFIX] Fix static access to enumeration constants

Enumeration constants need to be loaded on static access
without requiring a instance before.

Resolves: #64971
Releases: master,6.2
Change-Id: Iaaefe5648ab70743cfc2efc73c81f870833b730d
Reviewed-on: http://review.typo3.org/37027
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Prevent warning in Upgrade Wizard 12/37012/5
Nicole Cordes [Thu, 19 Feb 2015 08:16:05 +0000 (09:16 +0100)]
[BUGFIX] Prevent warning in Upgrade Wizard

The ReferenceIntegrityUpdateWizard looks for existing FAL file references.
If you start the Upgrade Wizard without any database update before, FAL
tables don't exists yet and the database request returns a non array
value. As the Wizard expects an array to be returned without proper
casting, a warning is thrown.

Releases: 6.2
Resolves: #65159
Change-Id: Ib4e6c308d1e2de8e7f7e2523d62a4ff97ef47bb5
Reviewed-on: http://review.typo3.org/37012
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Install tool fatal with options for cache_classes 00/37000/2
Christian Kuhn [Wed, 18 Feb 2015 18:17:58 +0000 (19:17 +0100)]
[BUGFIX] Install tool fatal with options for cache_classes

Setting an option like cacheDirectory for cache_classes or
cache_core triggers a fatal if calling the install tool.
This happens because the install tool calls the bootstrap
loadConfigurationAndInitialize() with $allowCaching = FALSE
which then calls disableCoreAndClassesCache() and sets the
backend of both caches to NullBackend. The cacheDirectory
option however is not supported by this backend.
Solution is to unset any options configured for these caches
within disableCoreAndClassesCache().

Resolves: #65153
Releases: master, 6.2
Change-Id: I3200d6752794c1769fe4e049c301ee8fa185ecf9
Reviewed-on: http://review.typo3.org/37000
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Fix regression in GeneralUtility::rmFromList() 90/36990/3
Markus Klein [Tue, 17 Feb 2015 12:55:20 +0000 (13:55 +0100)]
[BUGFIX] Fix regression in GeneralUtility::rmFromList()

Removing multiple occurrences of the same element now works again.

Resolves: #65123
Releases: master, 6.2
Change-Id: I3e973f019b68ebe19cee0e01f20b9e51e6a7ae28
Reviewed-on: http://review.typo3.org/36990
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] ElementBrowser: Show triggered flash messages 58/36958/3
Nicole Cordes [Sat, 14 Feb 2015 20:57:01 +0000 (21:57 +0100)]
[BUGFIX] ElementBrowser: Show triggered flash messages

If you try to add a new folder with empty name or an error during the
file upload happens, a FlashMessage is generated and added to the
FlashMessageQueue but not display within the ElementBrowser. The patch
adds output of the FlashMessageQueue above the navigation.

Releases: master, 6.2
Resolves: #65075
Change-Id: I9196fce917893ff04aad55a7f96c57a0b09f4fc3
Reviewed-on: http://review.typo3.org/36958
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Fix core update if core location exists 64/36664/3
Frederic Gaus [Thu, 5 Feb 2015 01:18:46 +0000 (02:18 +0100)]
[BUGFIX] Fix core update if core location exists

If multiple installations are symlinked to the same core location,
the core updater fails on the second update because the new version
already exists.

Check for this situation and skip unneeded tasks during the update
process.

Change-Id: I4c3c11f0e45c240e15913d5de5a3156ef5ad0aa6
Resolves: #58009
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/36664
Reviewed-by: Frederic Gaus <gaus@flagbit.de>
Tested-by: Frederic Gaus <gaus@flagbit.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] ElementBrowser: Fix JS error after folder creation 16/36916/2
Nicole Cordes [Sat, 14 Feb 2015 19:45:42 +0000 (20:45 +0100)]
[BUGFIX] ElementBrowser: Fix JS error after folder creation

Add missing parameters in returnUrl to prevent a Javascript error
blocking all further Javascript execution.

Releases: master, 6.2
Resolves: #65074
Change-Id: I34cb27eaf9678b6bab1297b579fec3a6d5385149
Reviewed-on: http://review.typo3.org/36916
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUFGIX] Add modification time to processedfile checksum 98/36898/2
ruud [Sat, 31 Jan 2015 16:59:10 +0000 (17:59 +0100)]
[BUFGIX] Add modification time to processedfile checksum

Added modification time to processed file checksum so the filename of
the processed files changes when the original is replaced.

Resolves: #44645
Releases: master, 6.2
Change-Id: I12bf445ee2a75a9a69b3d8e9603ae5035028a195
Reviewed-on: http://review.typo3.org/36898
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Make sure orig file is not removed when deleting processed files 11/36911/2
Frans Saris [Thu, 12 Feb 2015 10:04:36 +0000 (11:04 +0100)]
[BUGFIX] Make sure orig file is not removed when deleting processed files

A processed file only needs to be deleted from storage if it has its
own identifier.

Releases: master, 6.2
Resolves: #65021
Change-Id: I76c3f1afa6ba7fa5d8898f7281bef78f1ccb4a35
Reviewed-on: http://review.typo3.org/36911
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] ElementBrowser: After file upload no file can be selected 05/36905/2
Wouter Wolters [Sat, 14 Feb 2015 13:19:06 +0000 (14:19 +0100)]
[BUGFIX] ElementBrowser: After file upload no file can be selected

Resolves: #65027
Releases: master, 6.2
Change-Id: I6df1361be3572497fadcea321b6d8d7f000062e0
Reviewed-on: http://review.typo3.org/36905
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Do not call bidir_htmlspecialchars as static function 93/36893/2
Markus Klein [Sat, 14 Feb 2015 10:52:49 +0000 (11:52 +0100)]
[BUGFIX] Do not call bidir_htmlspecialchars as static function

The static call of bidir_htmlspecialchars throws a notice.
Just refactored the code to use the class instance instead.

Resolves: #64827
Releases: master, 6.2
Change-Id: I384646ccb07c05e5db76100228f3bb61c2a07d93
Reviewed-on: http://review.typo3.org/36893
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Scheduler: Show exception when invalid CommandController present 18/36718/2
Armin Ruediger Vieweg [Tue, 3 Feb 2015 19:43:44 +0000 (20:43 +0100)]
[BUGFIX] Scheduler: Show exception when invalid CommandController present

When a CommandController in an extbase extension has been registered,
but the class does not contain the string "CommandController"
an exception will be thrown. Before this patch, this exception
will never show up.

This patch adds the output of exception's message in Scheduler module,
which gives the developer a hint why the "add new task" form is not
displayed properly.

Also it extends the exception with description why the class name is invalid.

Resolves: #64836
Releases: master, 6.2
Change-Id: I309ed02c7fd4597b99388518abf842e600b27a9a
Reviewed-on: http://review.typo3.org/36718
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] RTE: Selected table style name not displayed correctly 51/36851/2
Stanislas Rolland [Wed, 11 Feb 2015 22:28:56 +0000 (17:28 -0500)]
[BUGFIX] RTE: Selected table style name not displayed correctly

The name of the selected table style is not displayed correctly
in table properties dialogue.

Releases: 6.2
Resolves: #49257
Change-Id: I69efeb05e4c51ec54b2f271d408af9e78d0b4e57
Reviewed-on: http://review.typo3.org/36851
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
4 years ago[BUGFIX] RTE: Mixed up configuration options of the Acronym button 25/36725/2
Stanislas Rolland [Sat, 7 Feb 2015 03:46:00 +0000 (22:46 -0500)]
[BUGFIX] RTE: Mixed up configuration options of the Acronym button

The Acronym button will be enabled even when no acronym record exists.
The Abbreviation tab will be shown even if no acronym record of this
type exists; in such case, the predefined abbreviation fieldset will not be shown.
However, the Acronym tab will not be shown if no acronym record of this
type exists. If the current selection is empty and not within an abbr
tag, the Abbreviation fieldset will not be show. If the current
selection is empty and not within an acronym tag, the Acronym fieldset
will not be show.

Releases: 6.2
Resolves: #64165
Change-Id: I590acd8d2ee10f2e9509ecb15c9b65876a363eda
Reviewed-on: http://review.typo3.org/36725
Tested-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
4 years ago[BUGFIX] Use saltedpasswords for scheduler user creation 24/36824/2
Markus Klein [Mon, 9 Feb 2015 09:54:08 +0000 (10:54 +0100)]
[BUGFIX] Use saltedpasswords for scheduler user creation

Remove the hardcoded md5-hashing and let saltedpasswords do that for us.

Resolves: #64936
Releases: master, 6.2
Change-Id: I608a2106690d64b3ac64a5657d6b4ffa4be721a1
Reviewed-on: http://review.typo3.org/36824
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Correct typoscript log message in USER cObj 19/36819/2
Frederic Gaus [Wed, 11 Feb 2015 07:46:17 +0000 (08:46 +0100)]
[BUGFIX] Correct typoscript log message in USER cObj

Correct typoscript log message in UserContentObject

Change-Id: I5a36e4d67278f96fa6cfd269fc7efbbb0df0b7bf
Resolves: #64979
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/36819
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Catch possible NULL values to avoid exception 88/36788/2
Andreas Fernandez [Tue, 10 Feb 2015 08:16:34 +0000 (09:16 +0100)]
[BUGFIX] Catch possible NULL values to avoid exception

If references are not maintained properly, all reference information
may be NULL or empty string (depending on it's type). Catch NULL values
and return early.

Resolves: #64955
Releases: master, 6.2
Change-Id: Id525e011f7b70190bc8f1f0c27e8c4b091325304
Reviewed-on: http://review.typo3.org/36788
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>