Packages/TYPO3.CMS.git
4 years ago[BUGFIX] Invalid handling of "mergeIfNotBlank" in backend 21/42121/2
Christian Kuhn [Wed, 29 Jul 2015 21:22:48 +0000 (23:22 +0200)]
[BUGFIX] Invalid handling of "mergeIfNotBlank" in backend

This is a partial backport of #68592 to fix the title part
in the backend for 6.2 as well.

Change-Id: I56fce644416baf5e26c359c1767bb0569b02cbf4
Resolves: #68624
Related: #68592
Releases: 6.2
Reviewed-on: http://review.typo3.org/42121
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Don't use FAL based ImageViewHelper in extension manager 35/42135/2
Frans Saris [Wed, 29 Jul 2015 20:13:07 +0000 (22:13 +0200)]
[BUGFIX] Don't use FAL based ImageViewHelper in extension manager

Resolves: #68636
Releases: master, 6.2
Change-Id: I15c48447d0226518f0bdf8459295a82e49864306
Reviewed-on: http://review.typo3.org/42135
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] Rename setLocale() in DateTimeViewHelperTest 13/42113/2
Andreas Fernandez [Wed, 29 Jul 2015 18:07:00 +0000 (20:07 +0200)]
[BUGFIX] Rename setLocale() in DateTimeViewHelperTest

The method setLocale($locale) in the DateTimeViewHelperTest
was implemented to test against several locales. However,
as there is a setLocale() in the parent class from PHPUnit that
does not take any parameter, PHP7 throws a warning as the
subclass does not have the same method signature as the parent
class.

The patch changes the method to be named differently thus,
solving the method signature conflict inside the test.

Resolves: #67092
Releases: 6.2, master
Change-Id: Ia05d90c64a3a8e2fc599935d2435192392e5a667
Reviewed-on: http://review.typo3.org/42113
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[BUGFIX] Fixed permissions of media field in page properties 70/41670/4
Michael Oehlhof [Wed, 1 Jul 2015 19:14:55 +0000 (21:14 +0200)]
[BUGFIX] Fixed permissions of media field in page properties

It was not possible to add media to the page properties if the user has
only the permissions for "page edit" and not for "page content"..

Resolves: #66702
Releases: master, 6.2
Change-Id: I553ee805a0e992d2ea5e00b91e7de733b2e4c94e
Reviewed-on: http://review.typo3.org/41670
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] Show pages with "show at any login" in view module 82/41982/2
Daniel Goerz [Sun, 26 Jul 2015 14:08:14 +0000 (16:08 +0200)]
[BUGFIX] Show pages with "show at any login" in view module

Resolves: #67752
Releases: master, 6.2
Change-Id: I9e8e54012bcfb994e508eae0269493d250cc005a
Reviewed-on: http://review.typo3.org/41982
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] Invalid links to documentation 66/41966/2
Xavier Perseguers [Sun, 26 Jul 2015 10:15:56 +0000 (12:15 +0200)]
[BUGFIX] Invalid links to documentation

Resolves: #68540
Releases: master, 6.2
Change-Id: I7e66ab53bb4ec67af5a2b4355d0704e329ea3ea7
Reviewed-on: http://review.typo3.org/41966
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
4 years ago[BUGFIX] dbal: Cast field to CHAR for FIND_IN_SET() 42/41842/2
Morton Jonuschat [Thu, 28 May 2015 17:50:47 +0000 (19:50 +0200)]
[BUGFIX] dbal: Cast field to CHAR for FIND_IN_SET()

Implement explicit casting of fields to a character representation.
Most DBMS are stricter in regard to data type checking and emit an
error when trying to use FIND_IN_SET() on non-text field types.

On the DBAL side of things the DBMS specifics are used to define that
an explicit cast is required for FIND_IN_SET() so that a query including
the CAST() statement gets generated.

A PostgreSQL Specific has been added to enable the explicit casting in
conjuction with DBAL. To avoid checking repeatedly if a DBMS has defined
specific requirements a NullSpecific has been implemented that gets used
as a default.

In the DatabaseTreeDataProvider the listFieldQuery() function has been
changed to use an explicit CAST() instead of relying on the implicit
cast done by MySQL when comparing it to an empty string.

The SqlParser has been extended with the support for CAST().

Resolves: #67155
Resolves: #67172
Resolves: #46271
Releases: master, 6.2
Change-Id: Ic77d1700e0fb4e3723c90b34e131dafb456038e0
Reviewed-on: http://review.typo3.org/39779
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-on: http://review.typo3.org/41842

4 years ago[BUGFIX] Use correct extension name for labels in indexed search 41/41841/3
Markus Klein [Wed, 22 Jul 2015 18:01:09 +0000 (20:01 +0200)]
[BUGFIX] Use correct extension name for labels in indexed search

The extbase implementation of the search form must use extensionName
and not extension_key for retrieving translations.
This ensures that translations from the template are taken into account.

Releases: master, 6.2
Resolves: #68430
Change-Id: Ia2265793b4f57c018ffca5ae5af9feb1cbf94803
Reviewed-on: http://review.typo3.org/41841
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] Fix image descriptions for renderMethod = table 10/41810/2
Torben Hansen [Thu, 16 Jul 2015 08:12:07 +0000 (10:12 +0200)]
[BUGFIX] Fix image descriptions for renderMethod = table

Image descriptions are not rendered correctly using
renderMethod = table, since only the description of the
last image is rendered when you have multiple images
in a content object..

This patch loads the current image file reference to the
contentObjectRenderer while looping through all images
in order to output the image descriptions.

Resolves: #68153
Releases: master, 6.2
Change-Id: I273fff90a5ab3a35e6422ca74b6d83b298b9b09d
Reviewed-on: http://review.typo3.org/41810
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Use parse_url to determine absolute urls in ImageService 77/41777/5
Frans Saris [Tue, 21 Jul 2015 11:50:22 +0000 (13:50 +0200)]
[BUGFIX] Use parse_url to determine absolute urls in ImageService

Since it is possible to have protocol relative URIs and parse_url
only identifies a hostname once a scheme or scheme relative prefix is
applied, we can check for a hostname here.

Resolves: #68423
Releases: master, 6.2
Change-Id: I3eb51d9b5175657454657bbd7f75cfafa6bd9760
Reviewed-on: http://review.typo3.org/41777
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Allow editing of shortcuts for non-admin users 62/41762/2
Markus Klein [Tue, 21 Jul 2015 07:13:58 +0000 (09:13 +0200)]
[BUGFIX] Allow editing of shortcuts for non-admin users

Resolves: #60254
Releases: master, 6.2
Change-Id: Ie5e65ab761e8ce018a4d71daa39495fae3ad3572
Reviewed-on: http://review.typo3.org/41762
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
4 years ago[BUGFIX] HTMLParser doesn't remove endtag when applying rmTagIfNoAttrib 96/41596/2
Alexander Stehlik [Fri, 17 Jul 2015 19:39:43 +0000 (21:39 +0200)]
[BUGFIX] HTMLParser doesn't remove endtag when applying rmTagIfNoAttrib

Solution: Force nesting = 1 when rmTagIfNoAttrib is set on a tag.

Releases: master, 6.2
Resolves: #22871
Resolves: #50144
Change-Id: Ibdadf07d80591588c0698ed322905cc0be45fe7e
Reviewed-on: http://review.typo3.org/41596
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
4 years ago[BUGFIX] includeCSS is not compressed and concatenated 47/41747/2
Sebastian Michaelsen [Sat, 18 Jul 2015 11:13:53 +0000 (13:13 +0200)]
[BUGFIX] includeCSS is not compressed and concatenated

The CSS files defined in page.includeCSSLibs don't get concatenated and
compressed if you enable config.compressCss and config.concatenateCss

Resolves: #65772
Releases: master, 6.2
Change-Id: I7bb72de5308dd255ff0b20f13b65d80e4a23d5cb
Reviewed-on: http://review.typo3.org/41747
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
4 years ago[BUGFIX] Implement EXT: usage in addModulePath 33/41733/3
Michael Oehlhof [Sun, 19 Jul 2015 08:45:47 +0000 (10:45 +0200)]
[BUGFIX] Implement EXT: usage in addModulePath

Make it possible to use EXT: for resolving paths in addModulePath

Resolves: #68361
Releases: master, 6.2
Change-Id: I6e79a3e11c42530fadaa25e4dc64f05e6d6a0e32
Reviewed-on: http://review.typo3.org/41733
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
4 years ago[BUGFIX] Implement EXT: usage in addModule 92/41692/5
Wouter Wolters [Sat, 18 Jul 2015 12:30:42 +0000 (14:30 +0200)]
[BUGFIX] Implement EXT: usage in addModule

Make it possible to use EXT: for resolving paths in addModule

Resolves: #68341
Releases: master, 6.2
Change-Id: Ic26d410f09303baa4fa18c744b30ee72ada09227
Reviewed-on: http://review.typo3.org/41692
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
4 years ago[BUGFIX] Reuse local mirror.xml.gz when updating translations 22/41722/2
Xavier Perseguers [Mon, 20 Jul 2015 09:56:15 +0000 (11:56 +0200)]
[BUGFIX] Reuse local mirror.xml.gz when updating translations

When updating translation packages, the local mirrors.xml.gz should be
reused instead of being fetched again and again.

The list of mirrors virtually never changes and is already updated when
fetching the list of TER extensions in Extension Manager. It should thus
be assumed that the local content is just correct and may be used safely.

Change-Id: I5863762061b2a55d2439a92d53fdbf02bcd6e124
Resolves: #68364
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/41722
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
4 years ago[BUGFIX] felogin: Invalid action url in changePassword form 24/41724/2
Stano Paška [Tue, 30 Jul 2013 14:46:54 +0000 (16:46 +0200)]
[BUGFIX] felogin: Invalid action url in changePassword form

Resolves: #50141
Releases: master, 6.2
Change-Id: I26a6215523ed409cbac8fe0f4659102d0b7ca365
Reviewed-on: http://review.typo3.org/41724
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
4 years ago[BUGFIX] Invalid sys file storages must be ignored 96/41696/2
Georg Ringer [Sun, 19 Jul 2015 07:48:25 +0000 (09:48 +0200)]
[BUGFIX] Invalid sys file storages must be ignored

If a storage is not available anymore, it must be ignored

Change-Id: Ie00af1bc086871c046ac4556c0119fc82d30a17e
Resolves: #55714
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/41696
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Checkbox values not shown in emails 64/41664/2
Sebastian Müller [Tue, 27 Nov 2012 00:58:16 +0000 (01:58 +0100)]
[BUGFIX] Checkbox values not shown in emails

Emails sent by FORM sysext do not show the values of checkboxes, in case
of they were checked.

Change-Id: Ie8df935932abb59d211e963776dcdf09c94618c6
Resolves: #33092
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/41664
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[TASK] Clarify install tool no-password-set message 49/41649/2
Andreas Wolf [Fri, 17 Jul 2015 23:32:46 +0000 (01:32 +0200)]
[TASK] Clarify install tool no-password-set message

Change-Id: I4a66d5975921fdff64af33e4c745d5ab05ff0f70
Releases: master, 6.2
Resolves: #68324
Reviewed-on: http://review.typo3.org/41649
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Fix double encoded link text 31/41631/2
Gordon Brüggemann [Fri, 17 Jul 2015 19:54:38 +0000 (21:54 +0200)]
[BUGFIX] Fix double encoded link text

Resolves: #39290
Releases: master,6.2
Change-Id: If06c4e79e126fc347960a14da42cf3e6091d5c3e
Reviewed-on: http://review.typo3.org/41631
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
4 years ago[BUGFIX] Remove PHP notice in getModuleData() 86/41586/2
Benjamin Mack [Fri, 17 Jul 2015 16:25:56 +0000 (18:25 +0200)]
[BUGFIX] Remove PHP notice in getModuleData()

Resolves: #60979
Releases: master, 6.2
Change-Id: Idb45d769ece09d8bfeae1f1ba74ced85a5fa9768
Reviewed-on: http://review.typo3.org/41586
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
4 years ago[BUGFIX] OpenID service uses incorrect priorities to check returned data 78/41578/2
Dmitry Dulepov [Thu, 16 Jul 2015 08:57:36 +0000 (11:57 +0300)]
[BUGFIX] OpenID service uses incorrect priorities to check returned data

OpenID servers return several identifiers that can be used for user
authentication. According to the speciciation openid.claimed_id
is authoritative for authentication if it is set. openid.identity
can be used but openid.claimed_id is more authoritative.

Usually those two identifiers are the same. But some OpenID servers
(namely UNINETT AS server) provide different values for these
identifiers. In such cases preferred value is in the
openid.claimed_id as defined by the specification. However the code
in the OpenID service fails to properly test that because of wrong
priorities during checks.

This fix changes priorities of checks.

Change-Id: I61461f3258ffbd6caad89cd3163e79bfdc70d555
Resolves: #68205
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/41578
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[FOLLOWUP][TASK] Reduce SQL queries of page tree in workspaces 53/41553/2
Nicole Cordes [Fri, 17 Jul 2015 09:57:51 +0000 (11:57 +0200)]
[FOLLOWUP][TASK] Reduce SQL queries of page tree in workspaces

The patch adds a check if workspaces is activated before using its
class and function.

Releases: 6.2
Resolves: #50349
Resolves: #66231
Related: #61184
Change-Id: I12bc2d496f2216725ac97a8640bc6c431630cc7a
Reviewed-on: http://review.typo3.org/41553
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Do not log out a logged out user 66/41466/3
Helmut Hummel [Thu, 16 Jul 2015 12:48:20 +0000 (14:48 +0200)]
[BUGFIX] Do not log out a logged out user

It can happen that the logout action of the logout
controller is called without a user being logged in.

To avoid a fatal error, we do not call the logoff
code any more and just do the redirect handling.

Releases: master, 6.2
Resolves: #68220
Change-Id: I06f6289d01c681d4b412910ded8e9894f377892d
Reviewed-on: http://review.typo3.org/41466
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
4 years ago[FOLLOWUP][BUGFIX] Check access to folder in FileListController 28/41428/2
Christian Kuhn [Thu, 16 Jul 2015 10:50:51 +0000 (12:50 +0200)]
[FOLLOWUP][BUGFIX] Check access to folder in FileListController

Duplicate use flag triggers PHP fatal error.

Change-Id: I4f4c66fa0d8b8ad1a4131a412d8843e930e0a6d2
Releases: 6.2
Resolves: #66693
Resolves: #56641
Reviewed-on: http://review.typo3.org/41428
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Reduce SQL queries of page tree in workspaces 25/41425/3
Nicole Cordes [Wed, 15 Jul 2015 19:22:00 +0000 (21:22 +0200)]
[TASK] Reduce SQL queries of page tree in workspaces

Nodes of the page tree are highlighted, if that particular node
has versioned elements in the current workspace. However, this is
determined by iterating over all tables and all records for each
page. If having installed many extensions with many tables and
many records, this will produce a lot of SQL queries.

This patch introduces a new cache for record versions per page which is
fetched once from the database. This cache is located within the
\TYPO3\CMS\Workspaces\Service\WorkspaceService and can be shared between
several other classes as this is implements a SingletonInterface.

Resolves: #50349
Resolves: #66231
Related: #61184
Releases: master, 6.2
Change-Id: Ibaef07bdab87147c6826af8578870c52803dfe03
Reviewed-on: http://review.typo3.org/41425
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Check access to folder in FileListController 11/40411/3
Nicole Cordes [Thu, 30 Apr 2015 16:12:27 +0000 (18:12 +0200)]
[BUGFIX] Check access to folder in FileListController

Currently if a folder isn't accessible for the user, the root folder
is taken as fallback solution. But this folder might be inaccessible as
well. This patch adds an access check for the returned folder and
turns thrown errors into flash messages.

Releases: master, 6.2
Resolves: #66693
Resolves: #56641
Change-Id: I310df8061edc790dde1034a27136365b4253ac7f
Reviewed-on: http://review.typo3.org/40411
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Ensure filemount path has trailing slash after upgrade 78/40478/4
Nicole Cordes [Sat, 20 Jun 2015 09:50:56 +0000 (11:50 +0200)]
[BUGFIX] Ensure filemount path has trailing slash after upgrade

Currently the upgrade wizard for filemounts  doesn't ensure trailing
slashes for the paths. This results in "invalid value" messages if
an user edit filemounts and has to choose the correct path again. This
patch adds missing trailing slashes for paths.

Resolves: #67643
Releases: 6.2
Change-Id: I145a08ac5d6b6675723a73b7ec7d1bfb3ca22303
Reviewed-on: http://review.typo3.org/40478
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
4 years ago[BUGFIX] Respect cached page config 32/41132/3
Andreas Fernandez [Mon, 27 Apr 2015 13:17:27 +0000 (15:17 +0200)]
[BUGFIX] Respect cached page config

On a cached page, initialise the page config only if it does not exist
yet. Merge the cached config with the template config to get the same
array as on a uncached page.

Releases: master, 6.2
Resolves: #66605
Change-Id: Idee4682cbfe5a8fb5f9522fc2f09e1c9bdb81396
Reviewed-on: http://review.typo3.org/41132
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
4 years ago[BUGFIX] Workspace grid remains empty due to AJAX timeout 59/41259/2
Stefan Rotsch [Thu, 9 Jan 2014 13:44:23 +0000 (14:44 +0100)]
[BUGFIX] Workspace grid remains empty due to AJAX timeout

With a large amount of unpublished changes, the workspace grid requires
a longer Ajax timeout than the default 30s (similar to the mass
actions).

Resolves: #54922
Releases: master, 6.2
Change-Id: I7e81e1f7ce989599c9fc17a6e698a31a79e474d5
Reviewed-on: http://review.typo3.org/41259
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
4 years ago[BUGFIX] Hide preview link on delete page in workspaces mode 28/41228/2
Oliver Hader [Thu, 12 Mar 2015 16:12:20 +0000 (17:12 +0100)]
[BUGFIX] Hide preview link on delete page in workspaces mode

If a page is marked to be deleted (delete placeholder) in the
workspace mode, offering a frontend preview does not make much
sense. Thus, the accordant button in the page module won't be
shown in that case.

Resolves: #65699
Releases: master, 6.2
Change-Id: Ib27721c5e4b52dc91872ddb2a2f494649e13dab5
Reviewed-on: http://review.typo3.org/41228
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Fix parseUserFuncArguments to respect 0 as argument 25/41225/2
Sascha Egerer [Tue, 14 Jul 2015 15:54:41 +0000 (17:54 +0200)]
[BUGFIX] Fix parseUserFuncArguments to respect 0 as argument

"0" must be an valid "last argument" value in the parseUserFuncArguments
method.

The implementation of the argument iteration must strictly check if
the arguments string is empty.

Change-Id: I8cee20a48030ea9163f55723d9027f39c43e5e1c
Resolves: #68132
Related: #61256
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/41225
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[FOLLOWUP][BUGFIX] Workspaces: Properly use slots to modify data 09/41209/3
Benjamin Mack [Tue, 14 Jul 2015 14:39:58 +0000 (16:39 +0200)]
[FOLLOWUP][BUGFIX] Workspaces: Properly use slots to modify data

Using slots in GridDataService does not work since passing
arguments by reference does not work. Since TYPO3 CMS 6.2
it's possible that the SignalSlotDispatcher returns
(modified) arguments.

Change-Id: I6a5e123bfc0d44d484e5b432e65a4d6cb50b75fb
Resolves: #60926
Releases: 6.2
Reviewed-on: http://review.typo3.org/41209
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[BUGFIX] Workspaces: Properly use slots to modify data 91/41191/2
Oliver Hader [Wed, 13 Aug 2014 07:55:30 +0000 (09:55 +0200)]
[BUGFIX] Workspaces: Properly use slots to modify data

Using slots in GridDataService does not work since passing
arguments by reference does not work. Since TYPO3 CMS 6.2
it's possible that the SignalSlotDispatcher returns
(modified) arguments.

Resolves: #60926
Releases: master, 6.2
Change-Id: If7f3a782bf8870bfb158c566df01cf2311fce048
Reviewed-on: http://review.typo3.org/41191
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[BUGFIX] Fix invalid HTML in ElementBrowser 72/41172/2
Markus Klein [Mon, 13 Jul 2015 18:55:44 +0000 (20:55 +0200)]
[BUGFIX] Fix invalid HTML in ElementBrowser

An old implementations expected icons to be img-tags, which
is not the case anymore. The regex for replacing parts of the
tag do not work with the span tags anymore and therefore all
calls to the function are dropped.

Resolves: #68086
Releases: master, 6.2
Change-Id: I073e6e2d640ac5f53ae13ec564e6f8903b65e8b8
Reviewed-on: http://review.typo3.org/41172
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[TASK] Show uncaught errors in Extension Manager 18/40918/2
Andreas Fernandez [Fri, 3 Jul 2015 07:41:17 +0000 (09:41 +0200)]
[TASK] Show uncaught errors in Extension Manager

Errors in the Extension Manager (e.g. deleting an extension w/o proper
file permissions) are now caught and displayed as a flash message.

Resolves: #67898
Releases: master, 6.2
Change-Id: I8f8334f2f0ea1c2fcf3ab49122c2c52447efc904
Reviewed-on: http://review.typo3.org/40918
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Double protocol when using TCEMAIN.previewDomain 22/41122/2
Wouter Wolters [Sat, 11 Jul 2015 09:58:48 +0000 (11:58 +0200)]
[BUGFIX] Double protocol when using TCEMAIN.previewDomain

In EXT:viewpage the option TCEMAIN.previewDomain is used but
not evaluated correctly. The option can contain the protocol
already and this is not respected in EXT:viewpage.

Check if domain already contains a protocol.

Resolves: #34820
Resolves: #36542
Resolves: #23115
Releases: master, 6.2
Change-Id: I13f7cda1dca54d60d350ba460e43ec924c140d35
Reviewed-on: http://review.typo3.org/41122
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] Wrong directory path checked while unzipping extension 23/41123/2
Wouter Wolters [Sat, 11 Jul 2015 12:29:18 +0000 (14:29 +0200)]
[BUGFIX] Wrong directory path checked while unzipping extension

Uploading an extension a zip file has a wrong check for directory
existence. Fix the path to this directory in the check.

Resolves: #65702
Releases: master,6.2
Change-Id: I61b46a6f9efb55e3f8b6843597a31b458752fc46
Reviewed-on: http://review.typo3.org/41123
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] Ensure PageRenderer singleton is set 12/41112/3
Helmut Hummel [Sun, 12 Jul 2015 13:10:37 +0000 (15:10 +0200)]
[BUGFIX] Ensure PageRenderer singleton is set

Before rendering _INT content objects, the page renderer is unserialized
and stored in a TypoScriptFrontendController property. However this new
object is not updated in the singleton store in GeneralUtility.

This leads to the situation that plugin code that (legally) just instantiate
the page renderer using GeneralUtility::makeInstance() receive the wrong object.

Make sure the singleton store is updated once the page renderer is unserialized
for _INT processing.

Releases: master, 6.2
Resolves: #68061
Change-Id: I162b8a4dc102ffd8cc0fcc4d21ccc271c861b187
Reviewed-on: http://review.typo3.org/41112
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Add a dummy distinguished name to CSR generation 53/40453/2
Alexander Krist [Wed, 17 Jun 2015 16:28:39 +0000 (18:28 +0200)]
[BUGFIX] Add a dummy distinguished name to CSR generation

Add a dummy distinguished name to CSR generation in PhpBackend to fix a
problem with certain openssl versions, specifically a Gentoo Linux,
Kernel 3.8.3-hardened, OpenSSL 1.0.1f, PHP 5.4.24

Change-Id: I5c34d764077fe7561835d0e1b9b4fd47088a8de1
Resolves: #55396
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/40453
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] dbal: make admin_get_tables() return correct table information 58/41058/2
Morton Jonuschat [Wed, 20 May 2015 19:26:35 +0000 (21:26 +0200)]
[BUGFIX] dbal: make admin_get_tables() return correct table information

Return the table information in the documented format (array with
tablenames as key and arrays with status information as value).

Resolves: #67067
Releases: master, 6.2
Change-Id: I7a35c5cfdaa469c407f5c4e4f80b55625034be91
Reviewed-on: http://review.typo3.org/41058
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] keep options array for TableGarbageCollectionTask 39/40939/3
Daniel Neugebauer [Wed, 1 Jul 2015 17:48:21 +0000 (19:48 +0200)]
[BUGFIX] keep options array for TableGarbageCollectionTask

scheduler now keeps an options sub-array if it has been populated
before ext_localconf.php runs.

User can define additional options for TableGarbageCollectionTask as
per extension documentation, i.e. tables can be added from user
configuration files such as AdditionalConfiguration.php.

Resolves: #67874
Releases: master, 6.2
Change-Id: I9eee7e1315e4a5049cee9db694c1f5a8375c8475
Reviewed-on: http://review.typo3.org/40939
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 exclude field mixup in FormEngine 72/40272/3
Alexander Stehlik [Mon, 15 Jun 2015 20:17:32 +0000 (22:17 +0200)]
[BUGFIX] Prevent exclude field mixup in FormEngine

Use a local variable for storing the excluded fields in the
FormEngine to prevent the configuration from being overwritten
by the inline form element renderer.

Resolves: #47359
Releases: master, 6.2
Change-Id: I5a7a2de16d767f854b4d3f89d599deec28266092
Reviewed-on: http://review.typo3.org/40272
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Remove wrong RewriteBase in _.htaccess 34/40934/2
Markus Klein [Mon, 6 Jul 2015 12:36:33 +0000 (14:36 +0200)]
[BUGFIX] Remove wrong RewriteBase in _.htaccess

The configuration now works independently of RewriteBase,
hence we must not define one.

Resolves: #67922
Releases: master, 6.2
Change-Id: Ib1e14f808fbf2e7abd08a4e85d2a3d4e8509060a
Reviewed-on: http://review.typo3.org/40934
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Clear opcode cache on extension install/update 30/40930/3
Alexander Opitz [Mon, 6 Jul 2015 12:47:04 +0000 (14:47 +0200)]
[BUGFIX] Clear opcode cache on extension install/update

Resolves: #65066
Releases: master, 6.2
Change-Id: If3d665b696f3847d91486afcffee7b62fd32b60a
Reviewed-on: http://review.typo3.org/40930
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] No exceptions in GeneralUtility::rmdir 17/40917/2
Alexander Opitz [Fri, 3 Jul 2015 12:47:14 +0000 (14:47 +0200)]
[BUGFIX] No exceptions in GeneralUtility::rmdir

The API returns TRUE on success and FALSE if something went wrong.
So we need to prevent that the ErrorHandler comes up, as it throws
Core\Error exceptions.

Resolves: #67897
Releases: master, 6.2
Change-Id: I2912241dd3c9a1b9928b4449ebc16897699fa9b5
Reviewed-on: http://review.typo3.org/40917
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[TASK] Improve .htaccess files 92/40792/3
Andreas Fernandez [Mon, 4 May 2015 09:16:12 +0000 (11:16 +0200)]
[TASK] Improve .htaccess files

Improve the example .htaccess file by adding rules for caching,
MIME types and CORS. Also, the rewrite rules are extended to block
access to certain files and folders.

Additionally all rules are made compatible for Apache 2.4 as well.

Resolves: #23078
Resolves: #66235
Releases: master, 6.2
Change-Id: I629f524b5a209769601f04a74bb7434736058ab8
Reviewed-on: http://review.typo3.org/40792
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] Respect format when rendering partial 31/40831/2
Mathias Brodala [Mon, 15 Dec 2014 11:38:04 +0000 (12:38 +0100)]
[BUGFIX] Respect format when rendering partial

The request format needs to be respected when rendering partials,
otherwise the same partial cannot be rendered in different formats
in the same request.

An example is rendering mails in plain text and HTML.

Resolves: #60338
Releases: master, 6.2
Change-Id: I118ee0a535d0f06391cd802c10d7c3c5129c2a2c
Reviewed-on: http://review.typo3.org/40831
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[TASK] Raise severity for stale lock file 29/40829/2
Bernhard Kraft [Mon, 1 Jun 2015 17:25:27 +0000 (19:25 +0200)]
[TASK] Raise severity for stale lock file

To make debugging this easier and as a stale lock file really
represents an error in the locking mechanism the severity
being used for logging stale lockfiles should get raised.

This applies to the old locking API only.

Change-Id: I94b91d10411e60bfe944445865f5cb630e988701
Resolves: #67227
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/40829
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[TASK] Set TYPO3 version to 6.2.15-dev 28/40828/2
TYPO3 Release Team [Wed, 1 Jul 2015 14:39:53 +0000 (16:39 +0200)]
[TASK] Set TYPO3 version to 6.2.15-dev

Change-Id: I157373c6073a15e1191f401f0faad70b3f547e4a
Reviewed-on: http://review.typo3.org/40828
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
4 years ago[RELEASE] Release of TYPO3 6.2.14 27/40827/2 6.2.14 TYPO3_6-2-14
TYPO3 Release Team [Wed, 1 Jul 2015 14:39:03 +0000 (16:39 +0200)]
[RELEASE] Release of TYPO3 6.2.14

Change-Id: I2c5c0401c334e22fc17851b32574d1868e5c677f
Reviewed-on: http://review.typo3.org/40827
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
4 years ago[SECURITY] Add hook to implement login protection methods 23/40823/2
Nicole Cordes [Wed, 17 Jun 2015 13:39:41 +0000 (15:39 +0200)]
[SECURITY] Add hook to implement login protection methods

Currently only the backend login is protected with an implement sleep
time after login failure. This patch adds a new hook which can be used
to implement a protection functionality (e.g. for detecting brute force)
and moves the sleep time as default protection in the abstract user
authentication class.

Resolves: #59231
Releases: master, 6.2
Security-Bulletin: TYPO3-CORE-SA-2015-006
Change-Id: Idd105d07e016dbbb901c04ae6e1ff4f46b92ac49
Reviewed-on: http://review.typo3.org/40823
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[SECURITY] Disallow access to fallback storage '0' 22/40822/2
Nicole Cordes [Wed, 17 Jun 2015 11:11:14 +0000 (13:11 +0200)]
[SECURITY] Disallow access to fallback storage '0'

All users with access to the filelist module are able to display the
content of the document root folder by spoofing the url.

This patch prevents any rendering from that storage and throws an error.

Resolves: #67538
Releases: master, 6.2
Security-Bulletin: TYPO3-CORE-SA-2015-005
Change-Id: Ic8f192696264f274e790f46c9cddc4f6ce6d5cd5
Reviewed-on: http://review.typo3.org/40822
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[SECURITY] XSS in 3rd party library Flowplayer 24/40824/2
Wouter Wolters [Tue, 16 Jun 2015 10:11:13 +0000 (12:11 +0200)]
[SECURITY] XSS in 3rd party library Flowplayer

This commit also removes the sources because they are
not maintained anymore.

Resolves: #67458
Releases: master, 6.2
Security-Bulletin: TYPO3-CORE-SA-2015-007
Change-Id: Icf98dd0828fff3d6ea592cf2caa9859639c80c93
Reviewed-on: http://review.typo3.org/40824
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[SECURITY] Encode link text properly in typolink 21/40821/2
Nicole Cordes [Wed, 17 Jun 2015 14:53:48 +0000 (16:53 +0200)]
[SECURITY] Encode link text properly in typolink

If the to be linked text is empty the ContentObjectRenderer chooses an
appropriate link text but doesn't encode it properly. As hsc() was
abandoned before this patch adds the parseFunc functionality to keep
common html tags which might be used by the editor but escapes unknown
characters and tags.

Resolves: #34107
Releases: master, 6.2
Security-Bulletin: TYPO3-CORE-SA-2015-004
Change-Id: I6df535562770cff58329998efcc01e387458aab9
Reviewed-on: http://review.typo3.org/40821
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[SECURITY] XSS in Filelist 20/40820/2
Markus Bucher [Tue, 3 Jun 2014 06:06:05 +0000 (08:06 +0200)]
[SECURITY] XSS in Filelist

Properly escape user input when showing error messages
during file renaming.

Resolves: #59211
Releases: master, 6.2
Security-Bulletin: TYPO3-CORE-SA-2015-004
Change-Id: I59c847e3ee1a5d5c2633cad9e3ce51b290dd1c22
Reviewed-on: http://review.typo3.org/40820
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[SECURITY] Regenerate session id upon login if needed 19/40819/2
Helmut Hummel [Tue, 17 Jun 2014 09:01:17 +0000 (11:01 +0200)]
[SECURITY] Regenerate session id upon login if needed

When authenticating as a frontend user with a previously
present anonymous session, the session id is not regenerated
which leads to a possible session fixation.

This is now fixed by re-generating a new id
when a user is just authenticated but no
new session id is generated during this process.

Resolves: #59258
Releases: master, 6.2
Security-Bulletin: TYPO3-CORE-SA-2015-003
Change-Id: Iba7e3fde089b1ba8e8fe37171cbd93f7c4b31209
Reviewed-on: http://review.typo3.org/40819
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[SECURITY] Prevent edit of file metadata of files with no access 18/40818/2
Marc Bastian Heinrichs [Thu, 18 Jun 2015 09:10:45 +0000 (11:10 +0200)]
[SECURITY] Prevent edit of file metadata of files with no access

By forging edit URLs it was possible to edit
meta data records of files which were not
within a user mount.

Implement several hooks to check access to the file
and only grant access to a meta data record if the
user has access to the file.

Resolves: #56644
Releases: master, 6.2
Security-Bulletin: TYPO3-CORE-SA-2015-002
Change-Id: I5e2de49e4af8cc68ecae604a9ef6b7e5917de769
Reviewed-on: http://review.typo3.org/40818
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[TASK] Travis: container based and no composer self-update 96/40796/2
Christian Kuhn [Wed, 1 Jul 2015 11:46:53 +0000 (13:46 +0200)]
[TASK] Travis: container based and no composer self-update

Recent master travis changes work well, 6.2 is now switched to
container based builds and no composer self-update, too.

Change-Id: I671328c66e23c18812c2e18adbae2dde01ff583a
Resolves: #67799
Resolves: #67775
Releases: master
Reviewed-on: http://review.typo3.org/40796
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Use single quotes in query for values in EXT:workspaces 89/40789/2
Andreas Fernandez [Tue, 30 Jun 2015 08:03:21 +0000 (10:03 +0200)]
[BUGFIX] Use single quotes in query for values in EXT:workspaces

Use single quotes for values in the query executed in
WorkspaceService::isOldStyleWorkspaceUsed().

In ANSI SQL, single quotes have to be used for values.

Resolves: #67835
Releases: master, 6.2
Change-Id: I5bf598d9acdbc7d2db6d5b8b6f1a4c668fe13ccb
Reviewed-on: http://review.typo3.org/40789
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Duplicate XLIFF identifiers 88/40788/2
Xavier Perseguers [Wed, 1 Jul 2015 09:54:17 +0000 (11:54 +0200)]
[BUGFIX] Duplicate XLIFF identifiers

Change-Id: I691706710f9bfe3294c59010fa0fd3fdb21f6a3e
Releases: master, 6.2
Resolves: #67867
Reviewed-on: http://review.typo3.org/40788
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
4 years ago[BUGFIX] Load language file for error messages 76/40776/2
Nicole Cordes [Tue, 30 Jun 2015 18:13:12 +0000 (20:13 +0200)]
[BUGFIX] Load language file for error messages

Currently the extension manager doesn't show any error messages while
an extension is overwritten and there are problems with the extension
directory. This patch adds the missing language file to show the labels.

Resolves: #65205
Releases: 6.2
Change-Id: I4ff79513fd219b3d92eac5fcb6cf6f1aec61ffec
Reviewed-on: http://review.typo3.org/40776
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Correction of Filelink of FAL in linkvalidator 63/39463/3
Pierre Boivin [Mon, 11 May 2015 20:00:10 +0000 (16:00 -0400)]
[BUGFIX] Correction of Filelink of FAL in linkvalidator

Add a fetchType function for linkvalidator to take
FileLinktype class for "file:XXX" media instead of internalLink class.

Make a first validation with "retrieveFileOrFolderObject" to
check if file exist in a database.

Make a second validation on the file "physically" on the server.

Resolves: #66895
Releases: master, 6.2
Change-Id: Ife0ab588e0ac4eb932cca3d6545f243bbcddc7ae
Reviewed-on: http://review.typo3.org/39463
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] 1st level cache for ``QueryResult::count()`` 78/40778/2
Mathias Brodala [Tue, 30 Jun 2015 08:17:23 +0000 (10:17 +0200)]
[BUGFIX] 1st level cache for ``QueryResult::count()``

Counting the results of the ``QueryResultInterface`` proxy returned by
Repository finder methods always executed a ``COUNT query`` even if
the results had been fetched or counted already.

With this patch the number of results is cached as soon as the result
is initialized and/or counted once.

Resolves: #67837
Releases: master, 6.2
Change-Id: I98f680372b845f992ad3d436647b0cf5e460b606
Reviewed-on: http://review.typo3.org/40778
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] hmenu.special = list must evaluate showAccessRestrictedPages 65/40765/2
Gilles FOUET [Tue, 16 Jun 2015 15:59:28 +0000 (17:59 +0200)]
[BUGFIX] hmenu.special = list must evaluate showAccessRestrictedPages

For menus of type "list" the option showAccessRestrictedPages is now
taken into account as well and the enableFields omit the fe_group
contraint if the option is set.

Resolves: #16840
Releases: master, 6.2
Change-Id: I4203bf0087367781ecee15fe3aa42deea8d34039
Reviewed-on: http://review.typo3.org/40765
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] Fix SQL error in IndexSearchRepository 52/40752/3
Tim Schreiner [Tue, 30 Jun 2015 08:11:19 +0000 (10:11 +0200)]
[BUGFIX] Fix SQL error in IndexSearchRepository

Add a missing "AND" concatenation to fix a SQL error.

Resolves: #67834
Releases: master, 6.2
Change-Id: I557ee19754462200a6baf52fd5b590c9b21eb21c
Reviewed-on: http://review.typo3.org/40752
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>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[TASK] Travis: Add github oauth token 22/40722/2
Anja Leichsenring [Mon, 29 Jun 2015 14:36:12 +0000 (16:36 +0200)]
[TASK] Travis: Add github oauth token

Change-Id: I46d390ab8e135aae1284936295d2864a4ac67cbb
Resolves: #67779
Releases: 6.2
Reviewed-on: http://review.typo3.org/40722
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[FOLLOWUP][BUGFIX] Only count items in ForViewHelper when ``iteration`` argument... 20/40720/4
Anja Leichsenring [Mon, 29 Jun 2015 13:40:04 +0000 (15:40 +0200)]
[FOLLOWUP][BUGFIX] Only count items in ForViewHelper when ``iteration`` argument is set

Accidently merged a ::class call into 6.2, where PHP 5.3 still needs to work.

Change-Id: Ie6723af5ddf7c7f3dbe35e8ffc921dbe223ac6ff
Releases: 6.2
Relates: #67801
Reviewed-on: http://review.typo3.org/40720
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Only count items in ForViewHelper when ``iteration`` argument is set 18/40718/2
Mathias Brodala [Mon, 29 Jun 2015 07:49:48 +0000 (09:49 +0200)]
[BUGFIX] Only count items in ForViewHelper when ``iteration`` argument is set

When using the ``iteration`` argument, the ``ForViewHelper`` provides
information about the current iteration, including the ``cycle`` and
``total``. Therefore it needs to count all elements.
The problem is, that this happens even if the iteration argument is
not specified leading to performance issues especially when iterating
over a (subset of a) lot of (remote) items.

This patch fixes this by adding a check for the ``iteration`` argument.

Resolves: #67801
Releases: master, 6.2
Change-Id: I4645ed03322bea36f2c36263378900f401626f24
Reviewed-on: http://review.typo3.org/40718
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Fix wrong variable spelling in RteHtmlParser 80/40680/2
Markus Klein [Fri, 26 Jun 2015 16:15:23 +0000 (18:15 +0200)]
[BUGFIX] Fix wrong variable spelling in RteHtmlParser

Resolves: #67770
Releases: master, 6.2
Change-Id: Ie9682bd3f4b471f65b1717fb98293b1f129d2ca5
Reviewed-on: http://review.typo3.org/40680
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Increase lifetime of cache_rootline 66/40666/2
Christian Kuhn [Thu, 25 Jun 2015 21:45:56 +0000 (23:45 +0200)]
[BUGFIX] Increase lifetime of cache_rootline

The default lifetime of frontend related rootline cache is
only one hour, raising query load in production. This is
raised to 30 days now - same as cache_pagesection.
The rootline cache entries are tagged with pageId_* and
in cache group "pages", so the DataHandler automatically
drops those entries if pages are moved around or change.

Resolves: #50231
Releases: master, 6.2
Change-Id: I3839982058f8b78726c050d5a7da90c0f2588102
Reviewed-on: http://review.typo3.org/40666
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] Avoid race conditions in typo3temp/Cache 50/40650/2
Bernhard Kraft [Thu, 25 Jun 2015 15:41:44 +0000 (17:41 +0200)]
[BUGFIX] Avoid race conditions in typo3temp/Cache

Race conditions can occur when the cache in typo3temp/Cache gets
cleared, for example by using the Install Tool "Clear all caches"
button. The cache is currently cleared using GeneralUtility::rmdir()
which does a directory traversal and unlinks all contained files.
Instead GeneralUtility::flushDirectory() should get used. This method
renames the directory into a temp-dir name and then removes the temp-dir
using GeneralUtility:rmdir().

Change-Id: I23f31da4e7b1730edee9007e713a51d4b39c6f1c
Resolves: #67238
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/40650
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[BUGFIX] Make ext_update working 10/40610/2
Markus Klein [Wed, 24 Jun 2015 18:51:14 +0000 (20:51 +0200)]
[BUGFIX] Make ext_update working

Running the actual update now works with all variants of ext_update
classes. Namespaced and non-namespaced.

Additionally we avoid autoloading at some places, since the composer
autoloader is too intelligent and finds the class from another ext.

Resolves: #67735
Releases: master, 6.2
Change-Id: Idec85d9b97cb67d862c0c8647e1490d146f27f45
Reviewed-on: http://review.typo3.org/40610
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Cleanup AbstractExceptionHandler and fix variable access 08/40608/2
Mathias Schreiber [Tue, 23 Jun 2015 16:52:01 +0000 (18:52 +0200)]
[BUGFIX] Cleanup AbstractExceptionHandler and fix variable access

AbstractExceptionHandler still used a formerly public property which
has been defined as protected in the meantime.
Cleaning up the code and using a getter method for access of $GLOBALS
revealed the issue.

Resolves: #67703
Releases: master, 6.2
Change-Id: I36ec96312769e09734891cc78ea4f800bb5af976
Reviewed-on: http://review.typo3.org/40608
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Bump class alias loader version 63/40563/4
Helmut Hummel [Tue, 23 Jun 2015 13:05:02 +0000 (15:05 +0200)]
[TASK] Bump class alias loader version

The new alias loader version incorporates a fix
which we should benefit from.

See: https://github.com/helhum/class-alias-loader/releases/tag/1.1.5

Releases: master, 6.2
Resolves: #67697
Change-Id: I4ec3f14b12e90df3dfc54299607260ea68c9b1ac
Reviewed-on: http://review.typo3.org/40563
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[TASK] Bump composer installer version 61/40561/2
Helmut Hummel [Tue, 23 Jun 2015 12:57:01 +0000 (14:57 +0200)]
[TASK] Bump composer installer version

The new version incorporates a few fixes which
makes the composer installation of TYPO3 and extensions
smoother. Update dependency to benefit from these fixes.

Releases: master, 6.2
Resolves: #67696
Change-Id: I7e72cccbb64de5ac351814e10f8fe6216e1f1edb
Reviewed-on: http://review.typo3.org/40561
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[TASK] Improve "Overwrite files" message 84/40384/4
Alina Fleser [Wed, 17 Jun 2015 18:48:30 +0000 (21:48 +0300)]
[TASK] Improve "Overwrite files" message

"Shall existing files be overwritten" message displayed when
uploading files in Filelist is replaced with a more friendly one.

Change-Id: I36080cd969c4b1fe1db7dc9bcc9f37898cb452e1
Resolves: #67466
Related: #67545, #63603, #55781
Releases: 6.2
Reviewed-on: http://review.typo3.org/40384
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>
4 years ago[BUGFIX] Illegal string offset in DataPreprocessor 32/40532/2
Wouter Wolters [Sun, 21 Jun 2015 16:20:43 +0000 (18:20 +0200)]
[BUGFIX] Illegal string offset in DataPreprocessor

Resolves: #67620
Releases: master, 6.2
Change-Id: Ic8c8d50101cf9e800d4b241b6f74058fe0cc6c0b
Reviewed-on: http://review.typo3.org/40532
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] "fixed_lgd_cs" may crash in eID environment 25/40525/2
Benjamin Mack [Sat, 20 Jun 2015 18:14:04 +0000 (20:14 +0200)]
[BUGFIX] "fixed_lgd_cs" may crash in eID environment

Under certain circumstances during an eID call,
calling fixed_lgd_cs() could lead to a fatal error due
to a "half-initialized" TSFE object.

See https://forge.typo3.org/issues/24858

Resolves: #24858
Releases: master, 6.2
Change-Id: Ic064c5963d07bc57897eb53773673d09e85717c1
Reviewed-on: http://review.typo3.org/40525
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[BUGFIX] Render correct menu item for broken shortcut 20/40520/2
Andreas Wolf [Tue, 16 Jun 2015 16:11:05 +0000 (18:11 +0200)]
[BUGFIX] Render correct menu item for broken shortcut

In case the target of a shortcut is not set, it must be
ensured that the rendered menu item has valid markup.
This is especially important if submenu items are present.

Resolves: #67563
Releases: master
Change-Id: Ie464658706e6754821849ca7c8e75d0121221272
Reviewed-on: http://review.typo3.org/40520
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[BUGFIX] Correctly handle forceTypeValue = 0 04/40504/2
Benjamin Mack [Sun, 21 Jun 2015 08:24:52 +0000 (10:24 +0200)]
[BUGFIX] Correctly handle forceTypeValue = 0

Setting config.forceTypeValue or forceTypeValue in GMENU, TMENU,
IMGMENU or JSMENU objects to 0 (zero) is now handled properly
and type is forced to zero.

Resolves: #23270
Releases: master, 6.2
Change-Id: If4a829aacf091ec3fae78329915b7c74619245b3
Reviewed-on: http://review.typo3.org/40504
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[BUGFIX] Sorting ignored in "Template Overview" 90/40490/2
Reinhard Führicht [Tue, 25 Jun 2013 13:41:13 +0000 (15:41 +0200)]
[BUGFIX] Sorting ignored in "Template Overview"

The overview of all TS templates shows a tree like view listing
of all pages having a ts template on them.
But this view doesn't sort the pages by "sorting" like
in the pagetree.

Resolves: #22774
Releases: master, 6.2
Change-Id: If7279f14697aab02735da66de5cd3cb2185f2b3a
Reviewed-on: http://review.typo3.org/40490
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Don't force lowercase on SQL SET() values 63/40463/2
Stephan Großberndt [Thu, 11 Jun 2015 09:50:53 +0000 (11:50 +0200)]
[BUGFIX] Don't force lowercase on SQL SET() values

With this patch Database Analyzer no longer complains about SQL SET()
values in upper- or mixed case when checking field types.

Resolves: #67413
Releases: master, 6.2
Change-Id: I5cd1689bce21642b278a94d970ab2d3301c644f0
Reviewed-on: http://review.typo3.org/40463
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
4 years ago[BUGFIX] Properly resolve link format to page type 54/40454/2
Daniel Schmidt [Tue, 14 Apr 2015 10:55:38 +0000 (12:55 +0200)]
[BUGFIX] Properly resolve link format to page type

This fixes the resolving of link format to target page type
when creating frontend links with the UriBuilder.

Resolves: #66352
Releases: master, 6.2
Change-Id: I6bb6ec805212cd7411ecd17e4abc3ac542f7a337
Reviewed-on: http://review.typo3.org/40454
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] Check if file exists before deletion 47/40447/2
Christoph Lehmann [Mon, 15 Jun 2015 08:16:34 +0000 (10:16 +0200)]
[BUGFIX] Check if file exists before deletion

File deletion in "processed" folder no longer throws an exception when
trying to delete a file that does not exist.

Resolves: #67432
Releases: master, 6.2
Change-Id: I59acdcbb04725ce4425ca3f333093e5a870046ca
Reviewed-on: http://review.typo3.org/40447
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[BUGFIX] Fix check for import / export folder 39/40339/2
Alexander Stehlik [Wed, 17 Jun 2015 09:45:18 +0000 (11:45 +0200)]
[BUGFIX] Fix check for import / export folder

When the import / export folder is not available a NULL value
is returned. The condition that checks if a vaild folder is
found now checks for NULL values instead of FALSE.

Releases: master, 6.2
Resolves: #67543
Change-Id: Ie9d6314506f9c8bbea19ed445e29b5bd1d8a544b
Reviewed-on: http://review.typo3.org/40339
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Marc Bastian Heinrichs <typo3@mbh-software.de>
Tested-by: Marc Bastian Heinrichs <typo3@mbh-software.de>
4 years ago[BUGFIX] Use single quotes for password check 38/40438/2
Andreas Fernandez [Thu, 18 Jun 2015 10:46:14 +0000 (12:46 +0200)]
[BUGFIX] Use single quotes for password check

Use single quotes for the password check in
SaltedPasswordsUtility::getNumberOfBackendUsersWithInsecurePassword
to tell other DBMS to expect a value and not an identifier.

Using double quotes for values violates the SQL standard.

Resolves: #67599
Releases: master, 6.2
Change-Id: I4d17f2eb24e77421da2368cc899a021c435cfff8
Reviewed-on: http://review.typo3.org/40438
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
4 years ago[BUGFIX] File metadata can't be edited inline 23/40323/2
Benjamin Mack [Mon, 15 Jun 2015 10:04:51 +0000 (12:04 +0200)]
[BUGFIX] File metadata can't be edited inline

Since 2012, there is a special mechanism to allow some tables for
editing even if their records reside on a page that is inaccessible for
the user. This is checked for regular forms in
``EditDocumentController``, but the check for inline elements was
missing until this patch.

Resolves: #65563
Releases: master, 6.2
Change-Id: I6d984c28672e2b3ba225ea91f6c7292aa3e1127d
Reviewed-on: http://review.typo3.org/40323
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
4 years ago[TASK] Add basic unit tests for ContentObjectRenderer::typoLink 05/40405/3
Nicole Cordes [Wed, 17 Jun 2015 19:43:20 +0000 (21:43 +0200)]
[TASK] Add basic unit tests for ContentObjectRenderer::typoLink

Resolves: #67586
Releases: master, 6.2
Change-Id: I0c20b13469d9bb9af844f92ee87181a55bacc906
Reviewed-on: http://review.typo3.org/40405
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Properly escape option value for groups 83/40383/2
Wouter Wolters [Tue, 16 Jun 2015 17:18:55 +0000 (19:18 +0200)]
[BUGFIX] Properly escape option value for groups

Resolves: #56296
Releases: master,6.2
Change-Id: I2960cc23b6fdb44e5159c74c126feaa6070eb7bf
Reviewed-on: http://review.typo3.org/40383
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Fix SQL error on recursive TypoScript template inclusion 78/40378/2
Andreas Fernandez [Wed, 17 Jun 2015 17:47:18 +0000 (19:47 +0200)]
[BUGFIX] Fix SQL error on recursive TypoScript template inclusion

If TypoScript templates are included recusively (a > b > a), the
$basedOnIds array is empty and creates an invalid SQL query.

Resolves: #64654
Releases: master, 6.2
Change-Id: Ia3001e1e620d6bb4d2d1f3ad016816bc5636dff1
Reviewed-on: http://review.typo3.org/40378
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[BUGFIX] Add "tx_felogin" folder in "uploads" folder during install 37/40337/3
Jonathan IROULIN [Wed, 17 Jun 2015 08:15:39 +0000 (10:15 +0200)]
[BUGFIX] Add "tx_felogin" folder in "uploads" folder during install

fe_login is a preinstalled extension but the "/uploads/tx_felogin" folder
was not created during step-2 installation process.
This patch add "tx_felogin" folder in "uploads" folder
during the process installation.

Resolves: #60261
Releases: master, 6.2
Change-Id: If4914b958b7117dc9f33d303d29850124b775b50
Reviewed-on: http://review.typo3.org/40337
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
4 years ago[BUGFIX] Always use MCRYPT_DEV_URANDOM if using mcrypt 58/40258/2
Helmut Hummel [Mon, 15 Jun 2015 14:00:27 +0000 (16:00 +0200)]
[BUGFIX] Always use MCRYPT_DEV_URANDOM if using mcrypt

Using MCRYPT_RAND was introduced because of a bug in PHP versions lower
than 5.3.7 on Windows in combination with IIS.

Since we require higher PHP versions in all maintained versions we can
remove this workaround and use MCRYPT_DEV_URANDOM again. By doing so we
fix a bug on Windows caused by not enough randomness.

Releases: 6.2, master
Resolves: #53034
Change-Id: Ibe74eb0277934e9300ffd9b00cc89a5f8bb008fb
Reviewed-on: http://review.typo3.org/40258
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Scheduler now throws OutOfBoundsException on SQL query error 63/40263/2
Mathias Schreiber [Mon, 15 Jun 2015 15:59:48 +0000 (17:59 +0200)]
[BUGFIX] Scheduler now throws OutOfBoundsException on SQL query error

If the query for fetchTask fails for whatever reason, scheduler will
now gracefully throw an exception instead of assuming it had gotten
a valid resource pointer

Resolves: #67463
Related: #39085
Releases: master, 6.2
Change-Id: I26819df3fd173b36de6121100a6398ed4b701319
(cherry picked from commit d975ed579a4ce510cfbea86cc8cf1b60c9017071)
Reviewed-on: http://review.typo3.org/40263
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[TASK] Remove version number from generator tag 43/40243/2
Wouter Wolters [Thu, 19 Mar 2015 09:55:31 +0000 (10:55 +0100)]
[TASK] Remove version number from generator tag

This change will not increase the security of TYPO3 CMS.
This information can be misused by an attacker for a more targeted attack.

Resolves: #64429
Releases: master,6.2
Change-Id: I9151ed99e454e878b10ec1894cbec2ad83165e57
Reviewed-on: http://review.typo3.org/40243
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[TASK] Nail down php 5.6 instantiation issues in tests 63/40163/3
Christian Kuhn [Wed, 10 Jun 2015 14:54:57 +0000 (16:54 +0200)]
[TASK] Nail down php 5.6 instantiation issues in tests

We know PHP 5.6 has issues in 6.2 in extbase object creation.
The patch adds the unit test from the "instantiator" patch
of issue #66473. This test fails, so travis-ci is configured
with PHP 5.6 as known failure at the moment.

With the instantiator patch applied, initializeObject() was
no longer called in some PHP versions, another test is added
to verify this regression can not show up again.

The test bed currently ensures:
* PHP 5.6 fails with current version
* PHP 5.4, 5.5 and 5.6 would fail if only "instantiator" patch
from #66473 is applied
* PHP 5.3 fails with "initializeObject is called twice" if patch
from #67274 is applied

Later is to get 5.6 green again with no further failure in other
PHP versions with other patches in 6.2 without changing tests.

Resolves: #67408
Related: #66473
Related: #67274
Releases: 6.2
Change-Id: Id4e81877e696dd1abc5b39497a19fa20a702048c
Reviewed-on: http://review.typo3.org/40163
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Check $http_response_headers in GeneralUtility::getUrl() 50/40150/2
Andreas Fernandez [Wed, 10 Jun 2015 07:19:07 +0000 (09:19 +0200)]
[BUGFIX] Check $http_response_headers in GeneralUtility::getUrl()

If one queries a local, non-existing file with GeneralUtility::getUrl()
AND sets the $report parameter, implode() fails because
$http_response_headers remains NULL, as there is no HTTP request.
Check the existance of $http_response_headers and alternatively use the
URL for logging.

Resolves: #67383
Releases: master, 6.2
Change-Id: I796935fbef090061c7d12502593190f4223765b3
Reviewed-on: http://review.typo3.org/40150
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[TASK] Set TYPO3 version to 6.2.14-dev 49/40149/2
TYPO3 Release Team [Wed, 10 Jun 2015 11:41:49 +0000 (13:41 +0200)]
[TASK] Set TYPO3 version to 6.2.14-dev

Change-Id: Iac1f4e69066af21917c2bc10be1d7a8c8ae0ca34
Reviewed-on: http://review.typo3.org/40149
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>
4 years ago[RELEASE] Release of TYPO3 6.2.13 48/40148/2 6.2.13 TYPO3_6-2-13
TYPO3 Release Team [Wed, 10 Jun 2015 11:41:08 +0000 (13:41 +0200)]
[RELEASE] Release of TYPO3 6.2.13

Change-Id: I960bb95536eedb25b68208d1a63281a1a66c43fc
Reviewed-on: http://review.typo3.org/40148
Reviewed-by: TYPO3 Release Team <typo3cms@typo3.org>
Tested-by: TYPO3 Release Team <typo3cms@typo3.org>