Packages/TYPO3.CMS.git
5 years ago[RELEASE] Release of TYPO3 6.2.6 67/33467/2 6.2.6 TYPO3_6-2-6
TYPO3 Release Team [Wed, 22 Oct 2014 09:09:54 +0000 (11:09 +0200)]
[RELEASE] Release of TYPO3 6.2.6

Change-Id: I39f6cbca69717cc894fbd9145fb1456c8ed79ef4
Reviewed-on: http://review.typo3.org/33467
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
5 years ago[SECURITY] Fix DoS in openid 59/33459/2
Markus Klein [Wed, 22 Oct 2014 08:14:28 +0000 (10:14 +0200)]
[SECURITY] Fix DoS in openid

Upgrade openid to latest upstream version.
This includes the sec fix already.

Change-Id: I2e31f9d15863a13ab34e4c4472e412b62bf12915
Resolves: #62357
Releases: master, 6.2, 6.1, 6.0, 4.7, 4.6, 4.5
Security-Commit: 571fe46d8000868263221a522bcec73f2bbde79e
Security-Bulletin: TYPO3-CORE-SA-2014-002
Reviewed-on: http://review.typo3.org/33459
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
5 years ago[SECURITY] Fix RCE in swiftmailer 58/33458/2
Helmut Hummel [Wed, 22 Oct 2014 08:14:25 +0000 (10:14 +0200)]
[SECURITY] Fix RCE in swiftmailer

A remote code execution vulnerability was fixed upstream
which is now also fixed in the code we deliver with TYPO3.

This is not a full upgrade of the library but a backport
of the security fix.

Change-Id: I498163c13b09cb81c70ab7b4fa576b7a3110cbea
Resolves: #59573
Releases: 4.5, 4.6, 4.7, 6.0, 6.1, 6.2
Security-Commit: e8e192dcb778ca69746e7bd79e66aef14a12a2e2
Security-Bulletin: TYPO3-CORE-SA-2014-002
Reviewed-on: http://review.typo3.org/33458
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
5 years ago[BUGFIX] RTE: Insert Tag dialogue may raise security error in Firefox 76/33376/2
Stanislas Rolland [Fri, 17 Oct 2014 23:05:32 +0000 (19:05 -0400)]
[BUGFIX] RTE: Insert Tag dialogue may raise security error in Firefox

Problem: If a style sheet from another domain is imported by the style
sheet configured for the RTE, a security error is raised by Firefox
when opening the Insert tag dialogue window.
Solution: Catch the error and report it on the console.

Releases: master, 6.2
Resolves: #62316
Change-Id: I093416abbc784f7548cda3b6c9be1d4b7d484040
Reviewed-on: http://review.typo3.org/33375
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
(cherry picked from commit f398739141d2fba74a34a9d3a7a810d1d5c1fb53)
Reviewed-on: http://review.typo3.org/33376

5 years ago[BUGFIX] RTE: Edit element dialogue may raise JavaScript error 74/33374/2
Stanislas Rolland [Fri, 17 Oct 2014 18:44:33 +0000 (14:44 -0400)]
[BUGFIX] RTE: Edit element dialogue may raise JavaScript error

When clicking ok, some tabs may have not been rendered. Check for
presence of elements and values.

Releases: master, 6.2
Resolves: #62314
Change-Id: I928ac7ce8bebe2539f49e2153b4f7f8f2f7c889b
Reviewed-on: http://review.typo3.org/33373
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
(cherry picked from commit bb0cfc607a7a3235f783e46606d1c6e5a32f6f2e)
Reviewed-on: http://review.typo3.org/33374

5 years ago[BUGFIX] RTE: Remove cut, copy and paste buttons in Firefox 68/33368/2
Stanislas Rolland [Fri, 17 Oct 2014 15:55:25 +0000 (11:55 -0400)]
[BUGFIX] RTE: Remove cut, copy and paste buttons in Firefox

Support for allowClipboard policy has been dropped by Firefox 29.
Therefore, remove cut, copy and paste buttons from the RTE toolbar
in Firefox. Remove also dialogue for installing AllowClipboard Helper
Firefox Addon.

Releases: master, 6.2
Resolves: #62296
Change-Id: I772b07cdca148c60ef8f61097f96fe5872fc0309
Reviewed-on: http://review.typo3.org/33367
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
(cherry picked from commit c0d6353654071bdcc614e138da4b7dac7e53876f)
Reviewed-on: http://review.typo3.org/33368

5 years ago[BUGFIX] Handle utf8 strings in TitleCaseFilter 40/33340/2
Graeme Worthy [Thu, 16 Oct 2014 10:50:44 +0000 (12:50 +0200)]
[BUGFIX] Handle utf8 strings in TitleCaseFilter

Use proper charset aware string conversion API to handle
the value given to the TitleCaseFilter.

Resolves: #62279
Releases: master, 6.2
Change-Id: I500af9f1fb6769ea35197e19b2a0a7876d7eb736
Reviewed-on: http://review.typo3.org/33340
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
5 years ago[BUGFIX] Fix unit tests for TypeConverter classes 31/33331/2
Markus Klein [Thu, 16 Oct 2014 08:21:45 +0000 (10:21 +0200)]
[BUGFIX] Fix unit tests for TypeConverter classes

The patch Ia4ec3a6c6f5bc6c07717a4956ab12e3e779c3c5a didn't adjust the
unit tests. This fix adds the missing mocks.

Resolves: #49803
Releases: master, 6.2
Change-Id: I829e62eaf3b172edeb295da57093b424edb13d40
Reviewed-on: http://review.typo3.org/33331
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[BUGFIX] Property of alternative model implementation not found 27/33327/2
Oliver Hader [Thu, 31 Jul 2014 13:17:38 +0000 (15:17 +0200)]
[BUGFIX] Property of alternative model implementation not found

The PersistentObjectConverter is mapping submitted data to a
given target domain model. If a class gets overloaded with
config.tx_extbase.objects, this information is not forwarded
to the ReflectionService. That's why properties in alternative
implementations cannot be determined.

Resolves: #49803
Releases: master, 6.2, 6.1
Change-Id: Ia4ec3a6c6f5bc6c07717a4956ab12e3e779c3c5a
Reviewed-on: http://review.typo3.org/33327
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[BUGFIX] Show correct number of inline records defined in flexform 85/32985/4
Daniel Alder [Fri, 26 Sep 2014 07:42:36 +0000 (09:42 +0200)]
[BUGFIX] Show correct number of inline records defined in flexform

getRelatedRecordsArray() is expecting comma separated list of record ids
Before this patch the full flexform xml was passed.
Now we detect whether a field is a flexform and try to extract the
correct field values from it.

Resolves: #56882
Releases: master, 6.2
Change-Id: I50db5dfd5f07bbc20e369c0a07f2f294afb85321
Reviewed-on: http://review.typo3.org/32985
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[BUGFIX] Allow lower case for drive letters on Windows in CLI scripts 20/33320/2
Alexander Bohndorf [Mon, 22 Sep 2014 07:46:35 +0000 (09:46 +0200)]
[BUGFIX] Allow lower case for drive letters on Windows in CLI scripts

Resolves: #61749
Releases: master, 6.2, 6.1
Change-Id: I88a3489311e8f94669876ddbe59589f68cd5708e
Reviewed-on: http://review.typo3.org/33320
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[BUGFIX] Add trim to modificators in TS-Parser 03/33303/2
Stefan Froemken [Mon, 13 Oct 2014 09:17:22 +0000 (11:17 +0200)]
[BUGFIX] Add trim to modificators in TS-Parser

It is documented that modificators are trimmed in
TypoScriptParser. But since #54856 they aren't trimmed anymore.
That's why f.e. "addToList (value)" will not be executed.

Resolves: #62188
Related: #54856
Releases: master,6.2
Change-Id: I3828b22a836656ec808ac5d770d58803b9195102
Reviewed-on: http://review.typo3.org/33303
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
5 years ago[TASK] Sort BE usergroup records in module "Backend Users" 00/33300/2
Georg Ringer [Mon, 13 Oct 2014 19:52:14 +0000 (21:52 +0200)]
[TASK] Sort BE usergroup records in module "Backend Users"

Add a default ordering for the backend usergroup records
which makes it easier to find a specific group.

Change-Id: I99f490193ca8b070c0d71a3a422bbc4ca4a3f3c6
Resolves: #61686
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/33300
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
5 years ago[BUGFIX] Fix missing new record button with enabled useCombination 89/33289/2
Marc Bastian Heinrichs [Thu, 17 Jul 2014 10:27:39 +0000 (12:27 +0200)]
[BUGFIX] Fix missing new record button with enabled useCombination

Also add it if a record selector is shown.

Resolves: #60370
Related: #57488
Releases: master, 6.2
Change-Id: If4f34521310dc3f479d6c97cada082db91f668c3
Reviewed-on: http://review.typo3.org/33289
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
5 years ago[BUGFIX] Show empty icon in checkbox'ed select field 66/33266/2
Axel Kummer [Thu, 9 Oct 2014 07:11:14 +0000 (09:11 +0200)]
[BUGFIX] Show empty icon in checkbox'ed select field

When a select field has config option renderMode=checkbox, icons
are rendered between checkbox and the label. If no icon is defined,
TYPO3 ought to show an empty icon.
This is broken and a red question mark appears.
This patch fixes the problem so that the empty icon is rendered again.

Change-Id: I2c54695463d98bd7b8bfa66642bd861e7a2ca7a8
Resolves: #62116
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/33266
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
5 years ago[BUGFIX] Wrong usage of count on SimpleXMLElement 65/33265/2
Stefan Froemken [Fri, 10 Oct 2014 12:00:04 +0000 (14:00 +0200)]
[BUGFIX] Wrong usage of count on SimpleXMLElement

SimpleXMLElement comes with its own count implementation,
so no need to call count() on that Element.
Further I have updated some type annotations.

Resolves: #62130
Releases master,6.2
Change-Id: I2d52d54172d2898a89f0649330dc37ebddfe40c7
Reviewed-on: http://review.typo3.org/33265
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
5 years ago[BUGFIX] Ensure argument is an array in ContentObjectRenderer 63/33263/2
kaystrobach [Fri, 10 Oct 2014 06:49:50 +0000 (08:49 +0200)]
[BUGFIX] Ensure argument is an array in ContentObjectRenderer

This patch ensures that at least an empty array is passed to the
array_replace_recursive function to avoid warnings during rendering.

Inspired by Markus Klein

Resolves: #62139
Releases: master, 6.2
Change-Id: I854b39d7ff54c213bda00dd9060c1e5ee89914eb
Reviewed-on: http://review.typo3.org/33263
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[BUGFIX] Static access to Enumeration constants 44/33244/2
Sascha Egerer [Mon, 25 Aug 2014 14:46:23 +0000 (16:46 +0200)]
[BUGFIX] Static access to Enumeration constants

To get all available constants for a TYPO3\CMS\Core\Type\Enumeration
an instance of the Enumeration is required. This is changed by
defining the `getConstants` method as static and using
`get_called_class()` instead of `get_class($this)`.

Resolves: #61090
Releases: master,6.2
Change-Id: I45e8241c6f41a23a1748e620c000b6dd59d6f389
Reviewed-on: http://review.typo3.org/33244
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[BUGFIX] RTE Spellcheck: PHP warning in SpellCheckingController 40/33240/2
Stanislas Rolland [Fri, 10 Oct 2014 01:55:38 +0000 (21:55 -0400)]
[BUGFIX] RTE Spellcheck: PHP warning in SpellCheckingController

PHP warning in raised in
SpellCheckingController::fixPersonalDictionaryCharacterSet.
If the file does not exist, there is no need to fix anything.

Releases: master, 6.2
Resolves: #62137
Change-Id: I9b15f5cb016ac9d309fb19ad6230a79b885b16f3
Reviewed-on: http://review.typo3.org/33239
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
(cherry picked from commit 767aa0f7b7025bf56ed5229d7acb0cae0c0f740f)
Reviewed-on: http://review.typo3.org/33240

5 years ago[BUGFIX] Possible race condition when creating directory 37/33237/2
Bernhard Kraft [Fri, 19 Sep 2014 08:58:36 +0000 (10:58 +0200)]
[BUGFIX] Possible race condition when creating directory

During various actions in the backend which require a cache directory
in typo3temp/ a race condition can occur while creating the directory.
The race condition is caused by GeneralUtility::createDirectoryPath.

There is a check whether the directory to be created already exists.
Later the directory is created using mkdir(). If in the meantime
another process creates the directory the exception will get thrown.

Resolves: #47269
Releases: master, 6.2
Change-Id: Iff46addd9ad6d738d1760f82a436dec9840c331d
Reviewed-on: http://review.typo3.org/33237
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
5 years ago[BUGFIX] RTE Spellcheck:default ISO code dictionary should be lowercase 29/33229/2
Stanislas Rolland [Thu, 9 Oct 2014 14:25:48 +0000 (10:25 -0400)]
[BUGFIX] RTE Spellcheck:default ISO code dictionary should be lowercase

When no default dictionary is configured for the ISO code of the
language of current content, the ISO code itself is taken as the name
of the Aspell dictionary. This should be lowercase.

Releases: master, 6.2
Resolves: #62128
Change-Id: I346469b0c1cd8a44227576b0d17cf231c205f961
Reviewed-on: http://review.typo3.org/33228
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
(cherry picked from commit f6d66f21fccee997e0d5f78d42703d23177c4c88)
Reviewed-on: http://review.typo3.org/33229

5 years ago[BUGFIX] RTE Spellcheck dialogue not correctly displayed 19/33219/2
Stanislas Rolland [Thu, 9 Oct 2014 05:55:48 +0000 (01:55 -0400)]
[BUGFIX] RTE Spellcheck dialogue not correctly displayed

The RTE Spellcheck dialogue is not correctly displayed: the suggestions
and dictionaries fieldsets are never displayed in Firefox and Chrome
due to size constraints. In IE, the trigger elements of the combo boxes
are truncated on the right.

Releases: master, 6.2
Resolves: #62114
Change-Id: Iebff324164dc5975403e2217dd06def77e2eba6f
Reviewed-on: http://review.typo3.org/33218
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
(cherry picked from commit 4e8ede79e40be001a5c6b333b078c73eea86c40d)
Reviewed-on: http://review.typo3.org/33219

5 years ago[BUGFIX] RTE Spellcheck dialogue opens with excessive height 17/33217/2
Stanislas Rolland [Thu, 9 Oct 2014 03:01:49 +0000 (23:01 -0400)]
[BUGFIX] RTE Spellcheck dialogue opens with excessive height

By default, the RTE Spellcheck dialogue opens with excessive height
in Firefox.

Releases: master, 6.2
Resolves: #62113
Change-Id: Ifd92417ddc7c688bb752c4460a4992daf7173651
Reviewed-on: http://review.typo3.org/33216
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
(cherry picked from commit a920538e1ca90067b221d843d4d71c2c9a00238f)
Reviewed-on: http://review.typo3.org/33217

5 years ago[BUGFIX] RTE references non-existent xml files 15/33215/2
Stanislas Rolland [Wed, 8 Oct 2014 21:54:03 +0000 (17:54 -0400)]
[BUGFIX] RTE references non-existent xml files

References should be to xlf files.

Releases: master, 6.2
Resolves: #62112
Change-Id: I670e0f7f8af422d710c85c76f87b25527ceb1c38
Reviewed-on: http://review.typo3.org/33214
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
(cherry picked from commit a56a1367e2758e9b85d1f59aae332bc85b462553)
Reviewed-on: http://review.typo3.org/33215

5 years ago[BUGFIX] Do not use invalid TSConfig in linkvalidator 13/33213/2
Alexander Stehlik [Thu, 19 Dec 2013 21:37:53 +0000 (22:37 +0100)]
[BUGFIX] Do not use invalid TSConfig in linkvalidator

To display the linkvalidator error messages for linkhandler link types,
the name of the linked table is read from the TCA instead from page
TSconfig (from a hardcoded page UID 1).

Resolves: #54523
Releases: master, 6.2
Change-Id: I165813a03cd4574c20981e35a9e53cfdeacfc421
Reviewed-on: http://review.typo3.org/33213
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
5 years ago[BUGFIX] Fix PHP warning with CTYPE=media 12/33212/2
Goran Medakovic [Tue, 7 Oct 2014 16:38:17 +0000 (18:38 +0200)]
[BUGFIX] Fix PHP warning with CTYPE=media

Check for array type before checking the variable with isset().
If the variable is a string the isset() will cause a PHP warning.

Resolves: #59544
Releases: master, 6.2
Change-Id: I766292a3dc0365a40acff5fd5f089f7ea78e0b70
Reviewed-on: http://review.typo3.org/33212
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
5 years ago[BUGFIX] RTE Language extension refers to non-existent method 11/33211/2
Stanislas Rolland [Wed, 8 Oct 2014 20:14:11 +0000 (16:14 -0400)]
[BUGFIX] RTE Language extension refers to non-existent method

RTE Language extension refers to non-existent method
tx_staticinfotables_div::getCurrentLanguage in Static Info Tables.

Releases: master, 6.2
Resolves: #62111
Change-Id: I9a37a40da367f47da9ee3a015537e79d3ff5a88a
Reviewed-on: http://review.typo3.org/33210
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
(cherry picked from commit 5059981b809b9721fcf5c615ab0b3992a7894ee7)
Reviewed-on: http://review.typo3.org/33211

5 years ago[BUGFIX] Show correct tooltip for page type "Mount Point" 98/33198/2
Georg Ringer [Tue, 7 Oct 2014 04:31:43 +0000 (06:31 +0200)]
[BUGFIX] Show correct tooltip for page type "Mount Point"

The tooltip of pages of the type "Mount Point" lacks the information
about the linked page because the needed fields are not retrieved.

Additionally the shortcut tooltip gets improved for the page tree.

Change-Id: I9c7c65094d23bbc0b0eb6100b0d6a62641c00d22
Resolves: #61951
Related: #60033
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/33198
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
5 years ago[BUGFIX] Fluid tries to render folders as templates partials and layouts 95/33195/2
Krzysztof Adamczyk [Sat, 21 Sep 2013 13:42:31 +0000 (15:42 +0200)]
[BUGFIX] Fluid tries to render folders as templates partials and layouts

The file_exists checks in TemplateView and StandaloneView are true for
folders. This leads to unrendered partials with resorted paths.
Use is_file instead.

Releases: master, 6.2, 6.1
Resolves: #47188
Change-Id: I9c168f4793f173f6c2f848e6e3da1f6021ae9c06
Reviewed-on: http://review.typo3.org/33195
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[BUGFIX] Remove empty values in pageOverlayFields 92/33192/2
Nils Blattner [Tue, 7 Oct 2014 08:47:58 +0000 (10:47 +0200)]
[BUGFIX] Remove empty values in pageOverlayFields

$GLOBALS['TYPO3_CONF_VARS']['FE']['pageOverlayFields'] might contain
empty values. Remove those.

Resolves: #62068
Releases: master, 6.2
Change-Id: I79337d9d8dca17fc840a331c8839147054d1b3f0
Reviewed-on: http://review.typo3.org/33192
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
5 years ago[BUGFIX] Readd frame setting to image configuration 88/33188/2
Manfred Rutschmann [Tue, 7 Oct 2014 03:36:13 +0000 (05:36 +0200)]
[BUGFIX] Readd frame setting to image configuration

The setting "frame" is missing in the processing information in
image handling.

Change-Id: I24410d28daa8017995cc9b352c328dff3f329748
Resolves: #62053
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/33188
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
5 years ago[BUGFIX] BE login template: fix invalid HTML structure 80/33080/2
Eric Chavaillaz [Tue, 30 Sep 2014 12:53:59 +0000 (14:53 +0200)]
[BUGFIX] BE login template: fix invalid HTML structure

In the backend login template a div tag is nested within a dl tag.
This is prohibited by the HTML specification.
This patch reverses the tag ordering.

Resolves: #61962
Releases: master, 6.2
Change-Id: I4e6410111a2ede2f9294cf390d7e96eedbeb58f6
Reviewed-on: http://review.typo3.org/33080
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[BUGFIX] Search word markup for UTF8 characters in summary 94/33094/2
Ralf Hettinger [Sun, 28 Apr 2013 18:20:42 +0000 (20:20 +0200)]
[BUGFIX] Search word markup for UTF8 characters in summary

Fix usage of preg_split to use the modifier /u so that search words
are correctly split in a summary.

Resolves: #26172
Releases: master, 6.2, 6.1
Change-Id: I90d8676f5724f194434811378eb8598eaf04cb9e
Reviewed-on: http://review.typo3.org/33094
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[TASK] Fix functional tests for EXT:impexp 65/33065/4
Oliver Hader [Tue, 30 Sep 2014 08:50:24 +0000 (10:50 +0200)]
[TASK] Fix functional tests for EXT:impexp

After issue #61944 has been merged, sys_file_reference.link does
not support NULL values anymore (which is fine). However, in the
past the default has been NULL and also has been written in the
accordant functional test data assertions.

Thus, NULL assertions are removed from the test. The change of
the "size" property by 5 bytes can be explained by a difference
in serializing NULL values and serializing an empty string.

Releases: master, 6.2
Related: #61944
Change-Id: Ia8700d6b6e374412e3300f12f4d6bb341deb4cfe
Reviewed-on: http://review.typo3.org/33065
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
5 years ago[BUGFIX] Fix JavaScript error that prevents links to anchor tags in RTE 67/33067/2
Michael Schams [Mon, 29 Sep 2014 09:54:35 +0000 (19:54 +1000)]
[BUGFIX] Fix JavaScript error that prevents links to anchor tags in RTE

This patch fixes invalid JavaScript code (adds a missing closing
bracket), that prevents BE users from creating links to anchor tags
in the RTE.

This is a regression fix to #41413.

Resolves: #61943
Releases: master, 6.2
Change-Id: I8e085e01885333d612cf6776495be259b00a093a
Reviewed-on: http://review.typo3.org/33067
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years agoRevert "[BUGFIX] Fix JavaScript error that prevents links to anchor tags in RTE" 60/33060/2
Markus Klein [Tue, 30 Sep 2014 09:28:17 +0000 (11:28 +0200)]
Revert "[BUGFIX] Fix JavaScript error that prevents links to anchor tags in RTE"

This reverts commit eda10cc0f2f2ddb7fa645c2f7ef6b71ea9f22b94.

The commit message of the original patch references a wrong issue number and the target versions seem to be wrong too.

Change-Id: I37866f1a70f354fae36a4efe3c7dab0c77f84bc8
Resolves: #61968
Reverts: #61943
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/33060
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[BUGFIX] Fix JavaScript error that prevents links to anchor tags in RTE 55/33055/2
Michael Schams [Mon, 29 Sep 2014 09:54:35 +0000 (19:54 +1000)]
[BUGFIX] Fix JavaScript error that prevents links to anchor tags in RTE

This patch fixes invalid JavaScript code (adds a missing closing
bracket), that prevents BE users from creating links to anchor tags
in the RTE.

This is a regression fix to #60919.

Resolves: #61943
Releases: master, 6.2, 6.1, 4.7, 4.5
Change-Id: I90ecba126191322048a2c4aca7835d3795764324
Reviewed-on: http://review.typo3.org/33055
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[DB] Increase max length of link fields 52/33052/2
Lars Malach [Mon, 29 Sep 2014 10:21:48 +0000 (12:21 +0200)]
[DB] Increase max length of link fields

The current core supports links with the maximum length of 256 chars in
header links of tt_content elements and links in table
sys_file_reference.

External links can have much more than 256 chars.

Increasing the maximum length to 1024 should be enough - even current
browsers are supporting much more than 1024 chars.

Resolves: #61944
Releases: master, 6.2
Change-Id: I2031ebef959de696bc320b927ec1a462bcd5dd72
Reviewed-on: http://review.typo3.org/33052
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[BUGFIX] Change explanatory text of SYS error reporting config variables 25/33025/2
Daniel Minder [Mon, 29 Sep 2014 09:28:30 +0000 (11:28 +0200)]
[BUGFIX] Change explanatory text of SYS error reporting config variables

Unify explanatory text of the variables [SYS][errorHandlerErrors],
[SYS][exceptionalErrors], [SYS][syslogErrorReporting] and
[SYS][belogErrorReporting] so that formatting, link to PHP doc and
the numerical default values are similar.

Resolves: #61942
Releases: master, 6.2
Change-Id: Iacdbf18ad5c181c499c23c4c50cebffc6736236c
Reviewed-on: http://review.typo3.org/33025
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
5 years ago[BUGFIX] Felogin improperly merges flexforms and TS conf 13/33013/2
Markus Klein [Mon, 23 Jun 2014 15:48:28 +0000 (17:48 +0200)]
[BUGFIX] Felogin improperly merges flexforms and TS conf

There are two options to show the forgot password link in FE:
 * TypoScript: showForgotPasswordLink
 * Flexforms: showForgotPassword

The flexform values are merged with the TS values, but as these config
options are named differently, they are not overridden properly.

With #50138 the forgot-form is now only displayed when showForgotPassword
is set, hence the TypoScript configuration is not taken into account.

Since we can neither change the flexform, nor the TypoScript, we need to
merge the values in the flexform-merge code part.

This patch reduces the code to use only the documented TypoScript option.

Resolves: #59821
Releases: 6.3, 6.2
Change-Id: I77c391910561a304649d4c747ec868388be3f1a5
Reviewed-on: http://review.typo3.org/33013
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[BUGFIX] DBAL admin_query() check array before accessing it 06/33006/2
Markus Klein [Sun, 28 Sep 2014 13:59:09 +0000 (15:59 +0200)]
[BUGFIX] DBAL admin_query() check array before accessing it

Move the $parsedQuery array access after the is_array() check in
DatabaseConnection::admin_query() to avoid PHP warnings.

Releases: master, 6.2
Resolves: #61929
Change-Id: I641d1e0d1dbe0001bd7082fbed1ce5ddb35172f8
Reviewed-on: http://review.typo3.org/33006
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
5 years ago[BUGFIX] indexed_search/Indexer: correct frequency mapping for 1 93/32993/2
Ralf Hettinger [Tue, 30 Apr 2013 14:15:54 +0000 (16:15 +0200)]
[BUGFIX] indexed_search/Indexer: correct frequency mapping for 1

There was a slight glitch in indexed_search's indexer, which resulted in
a wrong frequency mapping if the ratio between number of current word /
all words is exactly 1.
The "frequency" for this word is now mapped to the highest possible
value.

Resolves: #47745
Releases: master, 6.2
Change-Id: I1c9945b9550b80ad969f907f0bf1f14c3ae872f9
Reviewed-on: http://review.typo3.org/32993
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[BUGFIX] Fix indexed_search page browsing calculation 92/32992/2
Markus Klein [Tue, 15 Jul 2014 17:30:24 +0000 (19:30 +0200)]
[BUGFIX] Fix indexed_search page browsing calculation

Fix the calculation of pages shown by the indexed_search page browsers
to avoid negative page numbers or numbers exceeding the maximum available
page number.

Resolves: #60346
Releases: master, 6.2
Change-Id: I97de1c1afe42e29d450733f6741bca049f9803f6
Reviewed-on: http://review.typo3.org/32992
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[BUGFIX] Suhosin triggers warnings in Install Tool 42/32942/2
Wouter Wolters [Mon, 24 Feb 2014 22:27:18 +0000 (23:27 +0100)]
[BUGFIX] Suhosin triggers warnings in Install Tool

When Suhosin runs in simulation mode, violations are logged
as usual, but nothing is blocked or removed from the request.

Add an extra check to isSuhosinLoaded, to prevent unneeded
warnings.

Resolves: #55886
Releases: master, 6.2
Change-Id: Idd07872d31d51ed3266fcf330e825187656167a8
Reviewed-on: http://review.typo3.org/32942
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
5 years ago[BUGFIX] Do not check file extension on local file 30/32930/3
Alexander Opitz [Tue, 23 Sep 2014 09:14:15 +0000 (11:14 +0200)]
[BUGFIX] Do not check file extension on local file

If a file is uploaded and file extension deny pattern is set,
we should not test this temporary file for extension permissions.
Also on adding a file into a storage do not need to test the
extension of the local file, the extension of the target file is
enough.

Resolves: #58367
Releases: master, 6.2
Change-Id: I95b1685746150e2b03c56a5680785ae0b2388cd9
Reviewed-on: http://review.typo3.org/32930
Reviewed-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Andreas Kiessling <andreas.kiessling@web.de>
Tested-by: Andreas Kiessling <andreas.kiessling@web.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[TASK] Set TYPO3 version to 6.2.6-dev 40/32940/2
TYPO3 Release Team [Tue, 23 Sep 2014 13:33:40 +0000 (15:33 +0200)]
[TASK] Set TYPO3 version to 6.2.6-dev

Change-Id: Ib005698d0b38bdac0d4a3d174a304058e4a55dbe
Reviewed-on: http://review.typo3.org/32940
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
5 years ago[RELEASE] Release of TYPO3 6.2.5 39/32939/2 6.2.5 TYPO3_6-2-5
TYPO3 Release Team [Tue, 23 Sep 2014 13:33:12 +0000 (15:33 +0200)]
[RELEASE] Release of TYPO3 6.2.5

Change-Id: I36118db416a33e85a4f2cc41c6a8e5e6acd9571f
Reviewed-on: http://review.typo3.org/32939
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
5 years agoRevert "[BUGFIX] Invalid rendering of high resolution icons in lists" 32/32932/3
Oliver Hader [Tue, 23 Sep 2014 11:53:25 +0000 (13:53 +0200)]
Revert "[BUGFIX] Invalid rendering of high resolution icons in lists"

This reverts commit 0db092ee5befc4b0eaf8e5193e7f49c326905d67.

Change-Id: Ib27e83ff31b20c9ba03e34a184dae18a779672d9
Resolves: #61813
Releases: master, 6.2
Change-Id: I0d24095fb1def7a2934c97a37441bec009538891
Reviewed-on: http://review.typo3.org/32932
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
5 years ago[BUGFIX] Invalid rendering of high resolution icons in lists 09/32909/2
Eric Chavaillaz [Sun, 21 Sep 2014 11:51:40 +0000 (13:51 +0200)]
[BUGFIX] Invalid rendering of high resolution icons in lists

When using high resolution icons (png) in backend modules (32x32) and
this module can be enabled/disabled in the be_groups/be_users records,
the icon is displayed bigger than desired.

This patch introduces width and height attributes in the "getIconHtml"
method to prevent this visual bug.

Resolves: #61656
Releases: master, 6.2
Change-Id: Ida484f794ab632eef8c693e41ee2b5f5d26c5e8f
Reviewed-on: http://review.typo3.org/32909
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[BUGFIX] Prevent fatal when importing a t3d file without fal information 99/31799/2
Sascha Egerer [Thu, 24 Jul 2014 15:44:16 +0000 (17:44 +0200)]
[BUGFIX] Prevent fatal when importing a t3d file without fal information

Currently the importer expects that an imported t3d file contains
data for fal. This is not the case if the t3d file comes from
a TYPO3 4.5 installation.

As a result a fatal error is caused because fread is called with
a length of 0.

Resolves: #60540
Releases: 6.3, 6.2
Change-Id: Ib112200c2b6cba0252440cd370d57a6ccd048bf2
Reviewed-on: http://review.typo3.org/31799
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
5 years ago[BUGFIX] Add permission checks to edit icons in filelist and context menu 01/32901/2
Franz Koch [Wed, 27 Aug 2014 20:39:10 +0000 (22:39 +0200)]
[BUGFIX] Add permission checks to edit icons in filelist and context menu

In filelist as well as in context menus the edit/info/cut/copy/paste
icons are always shown and not disabled/removed if related FAL object
doesn't allow these actions. These changes fix this.

Resolves: #61261
Releases: 6.2, 6.3
Change-Id: I318a1112e9ee3c2fda4db219364663c89161320c
Reviewed-on: http://review.typo3.org/32901
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
5 years ago[BUGFIX] LocalDriver->calculateBasePath doesn't properly sanitize 89/32889/2
Bernhard Kraft [Mon, 1 Sep 2014 13:36:01 +0000 (15:36 +0200)]
[BUGFIX] LocalDriver->calculateBasePath doesn't properly sanitize

The method "calculateBasePath" of Resource/Driver/LocalDriver.php
does not properly sanitize the passed value.

It misses to use the return value of "canonicalizeAndCheckFilePath".

Change-Id: I8f2561e4a3b432d869ba7931f3ce5877714699c0
Resolves: #61295
Releases: 6.3, 6.2
Reviewed-on: http://review.typo3.org/32548
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
(cherry picked from commit 0d5a3c0379d5fc6c208cf267b8b23993cd2b6a55)
Reviewed-on: http://review.typo3.org/32889
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
5 years ago[CLEANUP] Unqoute integer in BackendUserSessionRepository 99/32899/2
Andreas Fernandez [Fri, 19 Sep 2014 13:46:22 +0000 (15:46 +0200)]
[CLEANUP] Unqoute integer in BackendUserSessionRepository

In the method "findByBackendUser" in BackendUserSessionRepository,
the beuser uid used in the WHERE condition is casted to int and is
then quoted again.
This is not necessary and breaks the SQL for some DBMS.

Resolves: #61743
Releases: master, 6.2
Change-Id: Ibff2b6189efa16b8d7ce0acbc1637ce374f5f24d
Reviewed-on: http://review.typo3.org/32899
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[BUGFIX] add _loadRealInstance in f:form ViewHelper 95/32895/2
Stefan Froemken [Fri, 1 Aug 2014 13:01:15 +0000 (15:01 +0200)]
[BUGFIX] add _loadRealInstance in f:form ViewHelper

If you edit a form containing subproperties of your domain model,
f:form VH will add some hidden fields to identify your related
domain models (__identity).
But in case of @lazy annotations, these fields will not be
rendered because of a missing _loadRealInstance call
in AbstractFormViewHelper object.

Releases 6.3, 6.2
Resolves: #60726
Change-Id: I67864e5b80752ff4350efabc72bd2b0a89d33bad
Reviewed-on: http://review.typo3.org/32895
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
5 years ago[BUGFIX] Invalid closure in AbstractMenuContentObject 74/32874/5
Francois Suter [Thu, 18 Sep 2014 20:09:15 +0000 (22:09 +0200)]
[BUGFIX] Invalid closure in AbstractMenuContentObject

Issue #58792 introduced a closure in AbstractMenuContentObject.php
which is not PHP 5.3 compatible. Since TYPO3 6.2 must still
support PHP 5.3, and master should be for now.
The closure is replaced by a simple loop.

Resolves: #61721
Releases: 6.2, master
Change-Id: Icc65bf8f8feec1bc62fcf83d8a2f464db3141c0d
Reviewed-on: http://review.typo3.org/32874
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
5 years ago[BUGFIX] Transfer curlProxyServer to new HTTP settings 79/31879/2
Ernesto Baschny [Sun, 27 Jul 2014 11:59:20 +0000 (13:59 +0200)]
[BUGFIX] Transfer curlProxyServer to new HTTP settings

Splits up the old curlProxyServer correctly, stripping "http://" and
potentially trailing slashes.

Resolves: #45834
Releases: 6.3, 6.2, 6.1
Change-Id: Ibfefb927b5fd3fe900170870e1093027d4fe34b5
Reviewed-on: http://review.typo3.org/31879
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
5 years ago[TASK] Always show action icons in tables (em, docs) 33/32833/2
Felix Kopp [Tue, 16 Sep 2014 09:49:26 +0000 (11:49 +0200)]
[TASK] Always show action icons in tables (em, docs)

The goal to hide actions icons has not been reached. Since the
hiding the icons is worse than showing all icons we revert to
the prior behaviour.

In the long run secondary and extended options / actions will
have to move into the Clickmenu. Show only primary actions.

Resolves: #55828
Releases: master, 6.2
Change-Id: Ibf3731822f5a06f1cd04989140d4f11ec5675c65
Reviewed-on: http://review.typo3.org/32833
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
5 years ago[BUGFIX] Extbase behaviour concerning workspaces 67/32867/2
Oliver Hader [Tue, 10 Jun 2014 10:03:29 +0000 (12:03 +0200)]
[BUGFIX] Extbase behaviour concerning workspaces

Issue #26732 introduced some behaviour into Extbase that cannot
work on the long-run. The usual behaviour of TYPO3 is "fetch
live, then overlay". Avoiding that chain might lead to
several side-effects.

This change integrates a new property "_versionedUid" than
contains the specific uid of the versioned record (this is
similar to the already existing _localizedUid property).
Besides that, changes of issue #26732 are reverted.

Functional frontend tests are enabled for live and workspace
for all IRRE ForeignField scenarios.

Resolves: #59107
Releases: 6.2, 6.3
Change-Id: Idc46fb86830bc3d750972adade178cf9c618ece5
Reviewed-on: http://review.typo3.org/32867
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
5 years ago[BUGFIX] Workspace Preview not working with lockSSL=3 57/32857/2
Oliver Hader [Thu, 18 Sep 2014 08:07:05 +0000 (10:07 +0200)]
[BUGFIX] Workspace Preview not working with lockSSL=3

The workspace preview does not work with lockSSL=3 being defined
in the Install Tool. First it looks like a CSS issue, in the end
it boils down that the preview IFRAMEs are not correctly
initialized in Workspaces\Hook\TypoScriptFrontendControllerHook.

The mentioned hook is only called once for the request to the
first IFRAME showing the website frontend preview and won't be
called for further.

The reason is, that cache expire headers are sent that prevent
the client to update the preview on each preview request.
That's why the mentioned hook is not called and the IFRAMEs
are not initialized properly. No-Cache headers are sent if a
backend user object is initialized correctly - and that's the
actual bug, a wrong but strict PHP condition, comparing a string
(lockSSL) with an integer value.

The comparison flaw was integrated with issue #54265

Change-Id: I13c5c2f22f5b43b49f8eead88f1bc82daf415cbb
Resolves: #61699
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/32857
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
5 years ago[BUGFIX] Indexed Search: Add missing return statement 29/32829/2
Markus Klein [Wed, 17 Sep 2014 12:09:21 +0000 (14:09 +0200)]
[BUGFIX] Indexed Search: Add missing return statement

Add missing return statement to searchMetaphone() method.

Resolves: #61679
Releases: master, 6.2
Change-Id: Ia87909a3f41fffea4a311c1d682aa97b8d7d5414
Reviewed-on: http://review.typo3.org/32829
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[TASK] Introduce .editorconfig file 15/32815/2
Frank Nägler [Tue, 16 Sep 2014 07:47:00 +0000 (09:47 +0200)]
[TASK] Introduce .editorconfig file

A lot of IDEs support a .editorconfig file, this file contains
informations for the IDE how to handle and format files.
This little file can be used for any kind of file. If the IDE
support this file, the IDE configure it selfs to use the settings
e.g. to use TAB instead of SPACES.

Resolves: #61621
Releases: 6.2, 6.3
Change-Id: I76fb7901c0cf07a5b848523a0c0e46a6f705db4d
Reviewed-on: http://review.typo3.org/32815
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
5 years ago[BUGFIX] Follow up: Remove PHP warnings when no icon is found 06/32806/2
Nicole Cordes [Tue, 16 Sep 2014 13:02:08 +0000 (15:02 +0200)]
[BUGFIX] Follow up: Remove PHP warnings when no icon is found

With https://review.typo3.org/32616/ a check with file_exists() was
introduced to prevent warnings on accessing non-image files. The check
returns true for files and folders. Now warnings are thrown, if an image
icon links to a folder. This patch replaces file_exists() with is_file()
to prevent further warnings.

Resolves: #61640
Releases: 6.3, 6.2
Change-Id: If2f7db44588d7fb9f90d05fb3192653002fe0202
Reviewed-on: http://review.typo3.org/32806
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
5 years ago[BUGFIX] Dummy WHERE condition compatibility 04/32804/2
Andreas Fernandez [Tue, 16 Sep 2014 12:12:30 +0000 (14:12 +0200)]
[BUGFIX] Dummy WHERE condition compatibility

The Typo3DbBackend.php places a dummy where condition in case
$statementParts['where'] is empty. The condition is changed
for compatibility reasons with some DBMS.

Resolves: #61639
Releases: 6.3, 6.2
Change-Id: If3f23af43fea6460407e8b05f9bcd782c6e08f0d
Reviewed-on: http://review.typo3.org/32804
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[BUGFIX] Don't prepend absolute image URLs 99/32799/2
Franz Koch [Mon, 15 Sep 2014 16:15:20 +0000 (18:15 +0200)]
[BUGFIX] Don't prepend absolute image URLs

The ImageService->getImageUri() method always prepends the public URL of
the image object with a prefix, regardless whether the object already
returns a fully qualified URL. This can be the case when the FAL driver
is connecting a remote image storage that doesn't allow local processing
and requires the images to be loaded from the remote server.

Change-Id: Iac65bc93bc0d1c1cbeb2335b7e13fc2126b728b6
Resolves: #61617
Releases: 6.2, 6.3
Reviewed-on: http://review.typo3.org/32799
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[TASK] Add a "save and new" button in scheduler module 98/32798/2
Eric Chavaillaz [Sat, 21 Jun 2014 16:53:38 +0000 (18:53 +0200)]
[TASK] Add a "save and new" button in scheduler module

Resolves: #57733
Releases: 6.3, 6.2
Change-Id: I57bd5e842374853a62a5c1e4b419c193837ccb6e
Reviewed-on: http://review.typo3.org/32798
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[TASK] Change relevance sorting in EM 96/32796/2
Andreas Fernandez [Tue, 26 Aug 2014 13:51:03 +0000 (15:51 +0200)]
[TASK] Change relevance sorting in EM

The Extension Manager creates a virtual "position" field containing
the relevance of a search hit. The relevance is calculated in a hacky
way working in MySQL only. This is replaced by a more understandable
query that is parsable by the SqlParser.

Resolves: #61204
Releases: 6.3, 6.2
Change-Id: I541cbeef745e8dc25131af2a937ec2d028a2fc2c
Reviewed-on: http://review.typo3.org/32796
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[TASK] Remove error_reporting from thumbs.php 85/32785/2
Stefan Neufeind [Mon, 15 Sep 2014 14:08:55 +0000 (16:08 +0200)]
[TASK] Remove error_reporting from thumbs.php

Change-Id: I0aab3f628325fb2db3276d5d6d9e878e6328be0f
Resolves: #27250
Releases: 6.3, 6.2
Reviewed-on: http://review.typo3.org/32785
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[TASK] Split xdebug.max_nesting_level into two error levels 82/32782/2
Nicole Cordes [Wed, 10 Sep 2014 15:39:11 +0000 (17:39 +0200)]
[TASK] Split xdebug.max_nesting_level into two error levels

The recommended xdebug.max_nesting_level was raised from 250 to
400 with issue #59391. Since the core itself usually works fine
with 250 and more is usually only needed for extensios with
deeply nested partials in fluid for example, the check is now
split to two error levels: Below 250 throws error level warning,
below 400 throws only a warning level warning.

Resolves: #61523
Related: #59391
Releases: master, 6.2
Change-Id: I366a97fe8077a389fff7f03935ad5b89d1469bc9
Reviewed-on: http://review.typo3.org/32782
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
5 years agoRevert "[BUGFIX] Improve l10n_mode config for sys_file_reference" 59/32759/2
Anja Leichsenring [Sun, 14 Sep 2014 12:18:16 +0000 (14:18 +0200)]
Revert "[BUGFIX] Improve l10n_mode config for sys_file_reference"

This reverts commit f96c1013e89994ed6ce822af6fe1b837e50d3234.

Change-Id: I0440c9f0144c707a8aa15a0024226c7115f84ce2
Reviewed-on: http://review.typo3.org/32759
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
5 years ago[BUGFIX] Improve l10n_mode config for sys_file_reference 56/32756/2
Alexander Stehlik [Tue, 1 Jul 2014 14:02:19 +0000 (16:02 +0200)]
[BUGFIX] Improve l10n_mode config for sys_file_reference

Since the rendering in the Frontend does not merge the values
the mergeIfNotBlank setting is replaced with prefixLangTitle for
the alternative, description and title field.

For the link field the mergeIfNotBlank setting is removed because
a prefix does not make sense there.

Releases: 6.3, 6.2
Resolves: #59972
Change-Id: I242b687a7ce851270022b86561f13eacea4d3949
Reviewed-on: http://review.typo3.org/32756
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
5 years ago[BUGFIX] Fix typos in comment (method header) 55/32755/2
Michael Schams [Sun, 14 Sep 2014 05:04:54 +0000 (15:04 +1000)]
[BUGFIX] Fix typos in comment (method header)

This patch fixes two minor typos in the method description (comment)
in class TYPO3\CMS\Extbase\Persistence\Generic\Query.php for method
logicalAnd().

Change-Id: I4bad1d06bc85a0ccdb8b34f0454957946e07991d
Resolves: #61569
Releases: 6.3, 6.2
Reviewed-on: http://review.typo3.org/32755
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
5 years ago[BUGFIX] Functional Test: force storage record to be caseSensitive "1" 50/32750/2
Fabien Udriot [Thu, 12 Jun 2014 13:24:13 +0000 (15:24 +0200)]
[BUGFIX] Functional Test: force storage record to be caseSensitive "1"

In the context of Functional Tests, makes sure the
storage record in initialized with caseSensitive "1"
which prevents the on-the-fly storage creation
by the Framework as this setting is dependent on the OS.

Change-Id: I0baa8d7743968adc1106768be02671cc5a81628a
Releases: master, 6.2
Resolves: #59527
Reviewed-on: http://review.typo3.org/30693
Reviewed-on: http://review.typo3.org/32750
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
5 years ago[BUGFIX] Use title & alternative fields in filelinks 48/32748/2
Georg Ringer [Mon, 8 Sep 2014 13:35:54 +0000 (15:35 +0200)]
[BUGFIX] Use title & alternative fields in filelinks

* The field "alternative" of the file should be used if filled.
* The field "title" of the reference should be preferred over the
  name if filled.

Resolves: #60429
Releases: 6.3, 6.2
Change-Id: I969dbb49a292f9980b9efa0e5e72ff2a9bc7e2f3
Reviewed-on: http://review.typo3.org/32748
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
5 years ago[BUGFIX] Followup 2 to mod.SHARED.colPos_list fix 43/32743/2
Jigal van Hemert [Wed, 10 Sep 2014 19:34:41 +0000 (21:34 +0200)]
[BUGFIX] Followup 2 to mod.SHARED.colPos_list fix

Deal with empty mod.SHARED and fill activeColPosList with colPosList
in case the TSconfig setting is empty.

Resolves: #39967
Releases: 6.2, 6.3
Change-Id: I5e2e4420de8f1d603e13a03758f97803e545d9a3
Reviewed-on: http://review.typo3.org/32743
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
5 years ago[BUGFIX] Followup to mod.SHARED.colPos_list fix 42/32742/2
Helmut Hummel [Wed, 10 Sep 2014 08:31:05 +0000 (10:31 +0200)]
[BUGFIX] Followup to mod.SHARED.colPos_list fix

The internal property activeColPosList is intermediately
set to an array and not converted to a comma separated list
any more, which breaks related code.

Resolves: #39967
Releases: 6.2, 6.3
Change-Id: I6f2e4710174ad5277f9de47c2d7b2cbb7a5ebb80
Reviewed-on: http://review.typo3.org/32742
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
5 years ago[BUGFIX] RootlineUtility wrongly handles group-type fields 25/32725/2
Francois Suter [Tue, 15 Apr 2014 19:48:16 +0000 (21:48 +0200)]
[BUGFIX] RootlineUtility wrongly handles group-type fields

\TYPO3\CMS\Core\Utility\RootlineUtility::enrichWithRelationFields()
tries to resolve relations to the current page record, including
fields with MM-relations. But it wrongly tests only for the
"foreign_table" property, whereas group-type fields will use the
"allowed" property.

This patch checks for "allowed" first and falls back on
"foreign_table". Furthermore a check is added to ensure the final
implode is indeed working on an array.

Resolves: #50396
Releases: 6.3, 6.2, 6.1
Change-Id: I43427061a5051298a25e45584aa995846ebb877c
Reviewed-on: http://review.typo3.org/32725
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[TASK] Add more files to .gitignore 91/32691/2
Nicole Cordes [Tue, 9 Sep 2014 16:17:54 +0000 (18:17 +0200)]
[TASK] Add more files to .gitignore

composer.lock and everything below typo3conf/ should be excluded if
the core checkout is used as document root directly.

Resolves: #61483
Releases: 6.3, 6.2
Change-Id: I34e706c510c38d953a98f0f30789f87fc968ae52
Reviewed-on: http://review.typo3.org/32691
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
5 years ago[BUGFIX] Use FE category collection for pages 88/32688/2
Francois Suter [Fri, 8 Aug 2014 13:10:43 +0000 (15:10 +0200)]
[BUGFIX] Use FE category collection for pages

Class CategoryMenuUtility which is used when rendering a list
of categorized pages calls on
\TYPO3\CMS\Core\Category\Collection\CategoryCollection
to collect the pages. This is wrong in a FE context as all
pages will be collected (hidden, deleted, workspace copies, etc.).
It must use
\TYPO3\CMS\Frontend\Category\Collection\CategoryCollection
instead.

Resolves: #59440
Releases: 6.2, 6.3
Change-Id: Ia8df04f5f615f3b6f09d2f67fbfadf69baca8f21
Reviewed-on: http://review.typo3.org/32064
Reviewed-by: Tomita Militaru <militarutomita@gmail.com>
Reviewed-by: Tomas Norre Mikkelsen <tomasnorre@gmail.com>
Reviewed-by: Fabien Udriot <fabien.udriot@ecodev.ch>
Tested-by: Fabien Udriot <fabien.udriot@ecodev.ch>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Francois Suter <francois@typo3.org>
Tested-by: Francois Suter <francois@typo3.org>
Reviewed-on: http://review.typo3.org/32688

5 years ago[BUGFIX] Cache missing class information only in productive context 86/32686/2
Nicole Cordes [Tue, 9 Sep 2014 13:18:27 +0000 (15:18 +0200)]
[BUGFIX] Cache missing class information only in productive context

To improve cache handling during development, missing class information
shouldn't be cached anymore. Otherwise each time a class was misspelled
and not found we have to clear the classes_cache.

Resolves: #61475
Releases: 6.3, 6.2
Change-Id: I7de24348e84bd89afd81164b90f776a996fcb8d9
Reviewed-on: http://review.typo3.org/32686
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
5 years ago[TASK] Add unit tests for forceAbsoluteUrl() 78/32678/2
Markus Klein [Sun, 27 Jul 2014 23:00:41 +0000 (01:00 +0200)]
[TASK] Add unit tests for forceAbsoluteUrl()

ContentObjectRenderer::forceAbsoluteUrl() is not covered by unit tests
at all.
Add unit tests and improve mocking in other existing tests.

Resolves: #60629
Releases: 6.3, 6.2
Change-Id: Ie3c03b0cff2118bf7ef38ca03135f2a0a6f120cd
Reviewed-on: http://review.typo3.org/32678
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
5 years ago[BUGFIX] Enable skipped tests by properly creating mocks 77/32677/2
Helmut Hummel [Sun, 29 Jun 2014 14:39:29 +0000 (16:39 +0200)]
[BUGFIX] Enable skipped tests by properly creating mocks

Latest changes in PHP disallow unserialize on
certain internal classes. Since phpunit uses
unserialize to create objects of such classes
when requesting a mock without calling the constructor
these tests failed with a PHP fatal error.

Instead of skipping the tests, we can simply provide
mocked constructor arguments (if required) so that
phpunit can create a mock object by using the new operator
and passing these mocked constructor arguments.

Releases: 6.3, 6.2
Resolves: #59981
Related: #59685
Change-Id: Ibd3b9aee0376a5043e053cffa6c88f7b93c86e18
Reviewed-on: http://review.typo3.org/32677
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
5 years ago[TASK] Add possibility to register a module as navigation 76/32676/2
Helmut Hummel [Thu, 5 Jun 2014 15:00:18 +0000 (17:00 +0200)]
[TASK] Add possibility to register a module as navigation

While implementing CSRF protection for backend modules,
it was forgotten to implement a solution for navigation components
that also could be modules.

Add this possibility now by introducing yet another
configuration option for modules.

Resolves: #58138
Documentation: #59369
Releases: 6.3, 6.2
Change-Id: I6655ad11cbf8a13c7d1182c9635cf2745183fb49
Reviewed-on: http://review.typo3.org/32676
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
5 years ago[BUGFIX] Nested flexforms no longer throw exception 75/32675/2
Thomas Christiansen [Thu, 5 Jun 2014 13:33:53 +0000 (15:33 +0200)]
[BUGFIX] Nested flexforms no longer throw exception

This patch prevents nested flexforms from throwing
an exception on saving or opening the record.

Resolves: #59368
Releases: master, 6.2
Change-Id: Iadeeecc3aef92b8bcc4f7fe4e22882d924f10a50
Reviewed-on: http://review.typo3.org/32675
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
5 years ago[CLEANUP] Remove comment header in ext_emconf 74/32674/2
Christian Kuhn [Sun, 6 Jul 2014 16:43:27 +0000 (18:43 +0200)]
[CLEANUP] Remove comment header in ext_emconf

The "do not touch me" comment header in ext_emconf.php files
of system extensions are misleading since we are editing those
files manually for years now. Remove those headers.

Change-Id: I27f6253effa54dae7f92170175e7705cc706d03a
Resolves: #60129
Releases: 6.3, 6.2
Reviewed-on: http://review.typo3.org/32674
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
5 years ago[BUGFIX] Respect tablenames, fieldname when updating mm record 73/32673/2
Frans Saris [Fri, 29 Aug 2014 10:14:31 +0000 (12:14 +0200)]
[BUGFIX] Respect tablenames, fieldname when updating mm record

The Typo3DbBackend doesn't respect the columns tablenames
and fieldname when updating mm releations. As result wrong
relations are adjusted.

Resolves: #61268
Releases: 6.2, 6.3
Change-Id: Ica1c04fb54b2f152ccf0f9bd766091854f01721a
Reviewed-on: http://review.typo3.org/32673
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
5 years ago[TASK] Add CLI option to set DB socket for functional tests 72/32672/2
Steffen Müller [Tue, 9 Sep 2014 08:52:53 +0000 (10:52 +0200)]
[TASK] Add CLI option to set DB socket for functional tests

An additional option "typo3DatabaseSocket" can be set
to configure a custom DB socket when running functional tests
from the commandline interface.

Resolves: #61465
Releases: 6.3, 6.2
Change-Id: If34526264bdc8b91c7c45785dde06a10fb606526
Reviewed-on: http://review.typo3.org/32672
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
5 years ago[TASK] Improve deprecation message in show_rechis.php 61/32661/2
Wouter Wolters [Mon, 8 Sep 2014 20:52:41 +0000 (22:52 +0200)]
[TASK] Improve deprecation message in show_rechis.php

Use a more detailed message how to link to this script.

Resolves: #61458
Releases: 6.3, 6.2
Change-Id: Ifabac9033b72bea288b13a11d1e649f28b99f950
Reviewed-on: http://review.typo3.org/32661
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
5 years ago[BUGFIX] Line breaks in string in compile* methods of the SqlParser 48/32648/3
Stefano Kowalke [Tue, 4 Feb 2014 09:30:46 +0000 (10:30 +0100)]
[BUGFIX] Line breaks in string in compile* methods of the SqlParser

There are lines-breaks inside the string which produces
'SELECT * \n\t\t\t\tFROM table_name\n\t\t\t\tWHERE'
queries while compile the sql query back from the array.

This breaks the test for EXT:dbal because debugAndCompare()
function will die.

Releases: 6.3, 6.2
Resolves: #55648
Change-Id: Iab6ad451d30bb94494ebbd3cb3b69e661ee55c00
Reviewed-on: http://review.typo3.org/32648
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[BUGFIX] Overriding TCA results in Exception 43/32643/2
Stefan Froemken [Mon, 4 Aug 2014 08:15:24 +0000 (10:15 +0200)]
[BUGFIX] Overriding TCA results in Exception

This problem only occours when using "tree" as
display mode for TCA-type "select".
FlexForm-API brings a special configuration to add,
edit and remove items from a selectbox, but in
case of a select-tree it does not make sense. A
completely different API was called to render this tree.
This patch prevents modifying the select-tree.

Releases: 6.3, 6.2
Resolves: #54490
Change-Id: I3ad3c5c608d7968ba90117aa048014b00cfd44af
Reviewed-on: http://review.typo3.org/32643
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[BUGFIX] Add file existence check before processing it 37/32637/2
Frank Nägler [Fri, 5 Sep 2014 14:16:03 +0000 (16:16 +0200)]
[BUGFIX] Add file existence check before processing it

This patch adds a check if a file exists before processing it.
If the file does not exist, all file functions will generate a warning.

Resolves: #61300
Releases: 6.3, 6.2
Change-Id: Ie829ec0ade8357b16f8a550d5f137593900720b9
Reviewed-on: http://review.typo3.org/32637
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
5 years ago[BUGFIX] Fix clear_cache for XCache < 3.0 36/32636/2
Alexander Opitz [Wed, 27 Aug 2014 16:03:37 +0000 (18:03 +0200)]
[BUGFIX] Fix clear_cache for XCache < 3.0

The XCache API changed with version 3.0. Ubuntu 12.04 uses XCache
version 1.3.2 so we need to support the old API.

Resolves: #61175
Releases: 6.3, 6.2
Change-Id: I76e975222747c965c5ef6e062231209d398a1c15
Reviewed-on: http://review.typo3.org/32636
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[TASK] Add indexed search icon to plugin wizard 34/32634/3
Kay Strobach [Sun, 26 Feb 2012 20:03:25 +0000 (21:03 +0100)]
[TASK] Add indexed search icon to plugin wizard

Adds a small icon to the plugin wizard to avoid the hacky 2 click access.
The icon is added to the tab "Plug-Ins".

Change-Id: Ib0b9705acaf69c0c49de660174c536caedda9292
Resolves: #34298
Releases: 6.3, 6.2
Reviewed-on: http://review.typo3.org/9221
Reviewed-by: Kay Strobach <typo3@kay-strobach.de>
Tested-by: Kay Strobach <typo3@kay-strobach.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-on: http://review.typo3.org/32634

5 years ago[BUGFIX] Remove PHP warnings when no icon is found in FormEngine 25/32625/2
Benjamin Mack [Sun, 7 Sep 2014 15:24:28 +0000 (17:24 +0200)]
[BUGFIX] Remove PHP warnings when no icon is found in FormEngine

If running in development mode and an icon
in FormEngine is not found, TYPO3 shows
the PHP E_WARNING of getimagesize() in a flash message.

The check should therefore be done in a cleaner way,
without the @ symbol.

Releases: 6.3, 6.2
Resolves: #61394
Change-Id: I546faee95bf304e135709c3e1c95292f48daf3d7
Reviewed-on: http://review.typo3.org/32625
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
5 years ago[TASK] Travis-ci: Disable apc in PHP 5.4 24/32624/2
Christian Kuhn [Sun, 7 Sep 2014 19:43:24 +0000 (21:43 +0200)]
[TASK] Travis-ci: Disable apc in PHP 5.4

APC for travis-ci on cli was disabled for PHP 5.3 already because of
instability. This patch kicks out APC for PHP 5.4 as well after
recent failed travis runs in this area.

Releases: master, 6.2
Change-Id: I1182a0fcfc5f94f7f778c9f0fde5f5d8672b17ee
Reviewed-on: http://review.typo3.org/32624
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
5 years ago[TASK] Use SpriteIcon for Add icon in Scheduler 21/32621/2
Felix Kopp [Sun, 7 Sep 2014 17:40:06 +0000 (19:40 +0200)]
[TASK] Use SpriteIcon for Add icon in Scheduler

Resolves: #61395
Releases: 6.2, 6.3
Change-Id: If77a7b9163ef23d291ca6106c453da059fe5ff21
Reviewed-on: http://review.typo3.org/32621
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
5 years ago[BUGFIX] Fix loading of registry entries for namespace 19/32619/2
Frank Nägler [Fri, 5 Sep 2014 19:01:24 +0000 (21:01 +0200)]
[BUGFIX] Fix loading of registry entries for namespace

When calling get(), all entries for the given namespace are loaded only
if no value for this namespace has been set() before in the same run.

This patch fix this by tracking the loading of namespaces and check the
state before set() or get() is processed. In case the namespace was not
loaded before, the loadEntriesByNamespace() is called to prevent
overwrite of values.

Resolves: #53182
Releases: 6.3, 6.2
Change-Id: Ib09e5892e35cef998413d2f0d8039ed49a7e7226
Reviewed-on: http://review.typo3.org/32619
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
5 years ago[BUGFIX] colPos_list sets access to edit areas 15/32615/2
Jigal van Hemert [Thu, 24 Jul 2014 23:18:52 +0000 (01:18 +0200)]
[BUGFIX] colPos_list sets access to edit areas

The property mod.SHARED.colPos_list used to determine which columns
were visible in the Page module. With backend layouts it will only
determine which edit areas in the backend layout are accessible for
editing.

Resolves: #39967
Releases: 6.3, 6.2
Change-Id: Iba65ce84adf025802d1b0ebda00dff4d6299a06a
Reviewed-on: http://review.typo3.org/32615
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
5 years ago[BUGFIX] indexed_search: in some cases indexing does not work 01/32601/2
Samir Rachidi [Mon, 25 Aug 2014 15:59:09 +0000 (17:59 +0200)]
[BUGFIX] indexed_search: in some cases indexing does not work

In some cases $pObj->register['SYS_LASTCHANGED'] is NULL and therefore
a MySQL error occurs during indexing a page. So, in these cases,
we need to set the 'mtime' value by getting it from the page and we
always want to prevent a NULL-value getting inserted into the DB.

Resolves: #61135
Releases: 6.1, 6.2, 6.3
Change-Id: Idb78af3aa23350db4bd43f58638541e6b3ad3ae3
Reviewed-on: http://review.typo3.org/32601
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[BUGFIX] Make TCA property "exclusiveKeys" work with single key 00/32600/2
Roland Waldner [Thu, 4 Sep 2014 21:32:46 +0000 (23:32 +0200)]
[BUGFIX] Make TCA property "exclusiveKeys" work with single key

It is necessary that "exclusiveValues" is a string in the JavaScript
method FormEngine.setSelectOptionFromExternalSource() because
in JavaScript strings (but not numbers) have a method match() which
is used in FormEngine.setSelectOptionFromExternalSource().

"exclusiveValues" representing a single key (e.g. -1) are of type
"Number" - in this case an JavaScript error is thrown when the
script calls match() on it.

This commit ensures that "exclusiveValues" is always casted to
String.

Resolves: #61276
Releases: 6.3, 6.2
Change-Id: I049a5e6d11b3b27be901baa1e00429ab200b9a04
Reviewed-on: http://review.typo3.org/32600
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
5 years ago[BUGFIX] where statement in typoscript select with stdWrap 93/32593/2
Kilian Hann [Thu, 21 Aug 2014 11:37:27 +0000 (13:37 +0200)]
[BUGFIX] where statement in typoscript select with stdWrap

The 'where' part of the statement now takes stdWrap properties
into account.

Resolves: #61117
Releases: 6.3, 6.2
Change-Id: Id1b2fe88a1cc72ca12acdb6628ed4b713e121798
Reviewed-on: http://review.typo3.org/32593
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>