Packages/TYPO3.CMS.git
5 years ago[BUGFIX] Filelist: Only show paste buttons if clipObj is set 14/21514/2
Philipp Gampe [Tue, 28 May 2013 13:14:19 +0000 (15:14 +0200)]
[BUGFIX] Filelist: Only show paste buttons if clipObj is set

During introduction of the paste buttons for empty folders, I assumed
that the clipboard object is always set.
This might not be the case, e.g. in EXT:sphinx 4.0.0.

Wrap the paste button code with a check if the clibObj is set.

We can not set the clibObj here, because it depends on variables of the
calling class.

Resolves: #48603
Releases: 6.2, 6.1, 6.0
Change-Id: I2c7c322c9cb994cfdfa1511c96e8c7da143dc77a
Reviewed-on: https://review.typo3.org/21514
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Raw search can't search inside the pages table 03/21503/2
Stefan Galinski [Wed, 19 Jun 2013 11:16:12 +0000 (13:16 +0200)]
[BUGFIX] Raw search can't search inside the pages table

It's impossible to search the pages table, because a field
definition is wrongly named in the pages TCA.

Fixes: #49242
Releases: 6.2, 6.1, 6.0
Change-Id: I0d1b9eeb4ffdfbff456dfc6249cb23853cb9a357
Reviewed-on: https://review.typo3.org/21503
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Use correct path in belog modules 88/21488/2
Georg Ringer [Mon, 17 Jun 2013 12:57:47 +0000 (14:57 +0200)]
[BUGFIX] Use correct path in belog modules

Belog module links to history view but path is wrong in
the info module.

Change-Id: I3e45218b2bd8b7d69d75459f41c37512de3dd23f
Releases: 6.2, 6.1, 6.0
Resolves: #49091
Reviewed-on: https://review.typo3.org/21480
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-on: https://review.typo3.org/21488
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] Cleanup ChangeLog 26/21426/2
Michael Stucki [Fri, 14 Jun 2013 12:40:16 +0000 (14:40 +0200)]
[TASK] Cleanup ChangeLog

Remove duplicate lines from ChangeLog

Change-Id: I62b32f9b0b37c3977bc61b2874e37cde289846df
Resolves: #49110
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21426
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Incorrect grouping of exclude fields in translated backend 07/20507/3
Philipp Gampe [Thu, 2 May 2013 15:44:57 +0000 (17:44 +0200)]
[BUGFIX] Incorrect grouping of exclude fields in translated backend

If you use the backend in a language other than English, then the
grouping of the exclude fields in the be_group record is messed up when
flexform fields are included.

E.g. in a German backend, all tt_content fields are grouped below pages.

Sort the table names beforehand and afterwards all fields inside each
table.
Besides the patch converts some variables names into meaningful ones.

Fixes: #47839
Related: #34098
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I28ebc69d5cfc0316bdf44558276d3e939d011c2d
Reviewed-on: https://review.typo3.org/20507
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
5 years ago[BUGFIX] Illegal string offset 'translations' in DatabaseRecordList 57/21457/2
Philipp Gampe [Wed, 10 Apr 2013 15:41:53 +0000 (17:41 +0200)]
[BUGFIX] Illegal string offset 'translations' in DatabaseRecordList

The return value of TranslationConfigurationProvider->translationInfo
normally is an array, but it is a string in case of an error.
Move the line below the is_array() check, because it is only needed
inside.

Fixes: #47103
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: Ia781eae987d9295bc2b299f83c087669c96dfd00
Reviewed-on: https://review.typo3.org/21457
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
5 years ago[BUGFIX] Allow non-Admins to delete Records finally 54/21454/2
dkd-egerer Sascha Egerer [Tue, 27 Nov 2012 00:42:59 +0000 (01:42 +0100)]
[BUGFIX] Allow non-Admins to delete Records finally

This patch adds the posibility for non Admins to delete
records finally in the recycler.

Change-Id: I1fda11d621403758f4d78b7fa8f730d7b47d79a7
Fixes: #34156
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/21454
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] FileLogWriter ignores log file configuration 25/21325/2
Steffen Müller [Thu, 6 Jun 2013 13:42:17 +0000 (15:42 +0200)]
[BUGFIX] FileLogWriter ignores log file configuration

If there are several instances of TYPO3\CMS\Core\Log\Writer\FileLogWriter
with different log files configured in $logFile, all log records end up
in one file.

This is caused by improper use of static variable $logFileHandle.
All filehandles except the one of the latest instance are ignored.

Resolves: #48918
Releases: 6.2, 6.1, 6.0
Change-Id: Ie6de5e4789d107b541117daf6c7e9855015e0a46
Reviewed-on: https://review.typo3.org/21325
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Avoid double wrap in css_styled_content 64/21364/3
Francois Suter [Wed, 12 Jun 2013 09:38:47 +0000 (11:38 +0200)]
[BUGFIX] Avoid double wrap in css_styled_content

Since TYPO3 6.0, USER objects have stdWrap property. The
various render methods of css_styled_content still call
stdWrap themselves, resulting in a double wrap.

Remove the stdWrap calls in css_styled_content render methods.

Resolves: #49051
Releases: 6.0, 6.1, 6.2
Change-Id: I3092990a4d1efb12597dc543c222a727135d63ec
Reviewed-on: https://review.typo3.org/21364
Reviewed-by: Francois Suter
Tested-by: Francois Suter
5 years ago[BUGFIX] Missing file extension class with "file links" type 43/21343/2
Stefan Galinski [Mon, 10 Jun 2013 14:50:40 +0000 (16:50 +0200)]
[BUGFIX] Missing file extension class with "file links" type

The content element type "file links" can't render
the the css class for the file extension, because
it uses a non-existing reference from pre-FAL
times. You can find the specific css class on the
generated list item.

Fixes: #48996
Releases: 6.2, 6.1, 6.0
Change-Id: I3031770a6741a331647f3bd5699ea1a2c0d444a9
Reviewed-on: https://review.typo3.org/21343
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] List Module - Reference count limited to 20 41/21341/2
Stefan Galinski [Mon, 10 Jun 2013 15:42:22 +0000 (17:42 +0200)]
[BUGFIX] List Module - Reference count limited to 20

The reference count in the list view is limited
to 20. Use the extended view to render the counter.

Fixes: #49004
Releases: 6.2, 6.1, 6.0
Change-Id: I295f3c5ea93c5cad5e5f64ba4bfd15a8f9193e61
Reviewed-on: https://review.typo3.org/21341
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
5 years ago[BUGFIX] changing FE user password updates tstamp 88/21188/2
Jigal van Hemert [Sat, 1 Jun 2013 20:59:47 +0000 (22:59 +0200)]
[BUGFIX] changing FE user password updates tstamp

When an FE user changes his/her password the tstamp field of the
record is also updated to reflect that the record is changed.

Change-Id: I6907c7af6c46612f5e1d2e6aca6a38e9216d3af3
Fixes: #48685
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21186
Reviewed-by: Thomas Maroschik
Tested-by: Thomas Maroschik
Reviewed-by: Steffen Müller
Tested-by: Steffen Müller
Reviewed-on: https://review.typo3.org/21188

5 years ago[BUGFIX] Disable restricted users to handle page records in pagetree 54/21154/2
Frank Frewer [Thu, 11 Apr 2013 17:53:39 +0000 (19:53 +0200)]
[BUGFIX] Disable restricted users to handle page records in pagetree

This patch hides the context menu entries 'disable'/'enable', 'edit',
'new', 'cut', 'copy', 'paste into', 'paste after' and 'delete' in
case an user is restricted to only non default languages.
Additionally it throws an error message if the user is trying to edit
a page title directly in the pagetree via double click.

Resolves: #47126
Releases: 6.2,6.1, 6.0, 4.7, 4.5
Change-Id: I13537529d4b72763c3a2ff5c75b5ae53a9e3fec1
Reviewed-on: https://review.typo3.org/21154
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
5 years ago[TASK] Merge submodule version into core
Thomas Maroschik [Mon, 27 May 2013 17:05:32 +0000 (19:05 +0200)]
[TASK] Merge submodule version into core

5 years ago[TASK] Merge submodule workspaces into core
Thomas Maroschik [Mon, 27 May 2013 17:05:31 +0000 (19:05 +0200)]
[TASK] Merge submodule workspaces into core

5 years ago[TASK] Merge submodule linkvalidator into core
Thomas Maroschik [Mon, 27 May 2013 17:05:30 +0000 (19:05 +0200)]
[TASK] Merge submodule linkvalidator into core

5 years ago[TASK] Merge submodule fluid into core
Thomas Maroschik [Mon, 27 May 2013 17:05:29 +0000 (19:05 +0200)]
[TASK] Merge submodule fluid into core

5 years ago[TASK] Merge submodule extbase into core
Thomas Maroschik [Mon, 27 May 2013 17:05:27 +0000 (19:05 +0200)]
[TASK] Merge submodule extbase into core

5 years ago[TASK] Merge submodule dbal into core
Thomas Maroschik [Mon, 27 May 2013 17:05:26 +0000 (19:05 +0200)]
[TASK] Merge submodule dbal into core

5 years ago[BUGFIX] uploading extname_1.0.3 (1).zip creates extension "extname (1)" 78/21078/2
Philipp Gampe [Fri, 17 May 2013 15:11:17 +0000 (17:11 +0200)]
[BUGFIX] uploading extname_1.0.3 (1).zip creates extension "extname (1)"

The function getExtensionFromZipFile fails to sanitize any output after
the version. As the function is only interested in the part before the
version which must be the extension key, remove any trailing characters.

Add a unit test to document this behavior.

Resolves: #48332
Releases: 6.2, 6.1, 6.0
Change-Id: I09b810d4bce214b6fa38e1a62200560f30d88984
Reviewed-on: https://review.typo3.org/21078
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Pass $field to BackendUtility::getFlexFormDS 71/21071/2
Wouter Wolters [Sun, 19 May 2013 14:21:37 +0000 (16:21 +0200)]
[BUGFIX] Pass $field to BackendUtility::getFlexFormDS

This bugfix just passes an already existing argument
along to the hook method, making the $field variable
available there.

Change-Id: I5337490920a96a8db0af8f8ecc01e967dba0c9ca
Fixes: #39527
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/21071
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Some TCAdefaults work only with "Page (inside)" 67/21067/2
Wouter Wolters [Sat, 18 May 2013 15:45:17 +0000 (17:45 +0200)]
[BUGFIX] Some TCAdefaults work only with "Page (inside)"

Some TCAdefaults work only with "Page (inside)" and not in
the wizard.

Affected defaults:
* TCAdefaults.pages.hidden = 1
* TCAdefaults.pages.doktype = 2

Change-Id: I71eb301909c31eb8cd160dbe6beadc4ba5102b66
Resolves: #14955
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/21067
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Link to not-existing folder results in fatal error 44/21044/2
Philipp Gampe [Fri, 5 Apr 2013 08:05:06 +0000 (10:05 +0200)]
[BUGFIX] Link to not-existing folder results in fatal error

If a folder is removed from the (default) local storage outside of
TYPO3 while still being linked inside a content element, a fatal error
is thrown.

Catch the fatal error and do not render the link.
Rendering the link text, but no link is the default normal behavior of
links in frontent.

Fixes: #48390
Releases: 6.2, 6.1, 6.0
Change-Id: I7ffbf2e055a3cb204dbe61e145ca54ee18b4982b
Reviewed-on: https://review.typo3.org/21044
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
5 years ago[BUGFIX] Catch FolderDoesNotExist Exception on links/images 42/21042/3
Alexander Opitz [Tue, 7 May 2013 08:25:06 +0000 (10:25 +0200)]
[BUGFIX] Catch FolderDoesNotExist Exception on links/images

If you have RTE content which have false links/images to files, we
get a FolderDoesNotExistException (FileDoesNotExistException in 6.0).
This should be catched.

Reproduce
* Create content element text
* In RTE change to text mode
* Add <img src="nofile" /> for image
or
* Add <a href="nowhere">link</a> for link
* save

Resolves: #46785
Releases: 6.2, 6.1, 6.0
Change-Id: I7b959825e8e36dc5b1941c9fa411afa321a594fb
Reviewed-on: https://review.typo3.org/21042
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
5 years ago[TASK] Set TYPO3 version to 6.0.7-dev 31/21031/2
TYPO3 Release Team [Fri, 24 May 2013 14:47:59 +0000 (16:47 +0200)]
[TASK] Set TYPO3 version to 6.0.7-dev

Change-Id: Ic3f4607c706bb9200e74e18907465a09ba899062
Reviewed-on: https://review.typo3.org/21031
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
5 years ago[RELEASE] Release of TYPO3 6.0.6 30/21030/2 TYPO3_6-0-6
TYPO3 Release Team [Fri, 24 May 2013 14:47:34 +0000 (16:47 +0200)]
[RELEASE] Release of TYPO3 6.0.6

Change-Id: I7898f71d81b807a859cd9d8760e4bc9b133a567f
Reviewed-on: https://review.typo3.org/21030
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
5 years ago[TASK] Raise submodule pointer 24/21024/2
TYPO3 Release Team [Fri, 24 May 2013 14:16:15 +0000 (16:16 +0200)]
[TASK] Raise submodule pointer

Change-Id: I6bb3bfdd2b4377b19f6454b8882da4b3a19292d8
Reviewed-on: https://review.typo3.org/21024
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
5 years agoRevert "[BUGFIX] Adjust extbase record type in TypoScript configuration"
Anja Leichsenring [Thu, 23 May 2013 18:24:10 +0000 (20:24 +0200)]
Revert "[BUGFIX] Adjust extbase record type in TypoScript configuration"

This reverts commit cdf42a343be59fb743c59f9a3a02f7198db64a0f

After some discussion about the overall meaning of this change
the revert was preferred. It introduced a breaking change if
upgrading as minor release from a previous 6.0 version.

Change-Id: I07b8f88e16153bc865e1ddc84868e5f7f15a6e3b
Reviewed-on: https://review.typo3.org/21005
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[BUGFIX] file_upload missing back icon 35/20935/2
Philipp Gampe [Fri, 17 May 2013 04:28:54 +0000 (06:28 +0200)]
[BUGFIX] file_upload missing back icon

Add a back button to:
 * file_upload
 * file_rename
 * file_newfolder

The code is taken from recordlist.

Resolves: #48065
Releases: 6.2, 6.1, 6.0
Change-Id: If328dd20f09875ab486fa3419ec5de9df8955956
Reviewed-on: https://review.typo3.org/20935
Reviewed-by: Steffen Müller
Tested-by: Steffen Müller
6 years ago[BUGFIX] Paste button missing in empty folders 37/20937/2
Philipp Gampe [Fri, 17 May 2013 03:29:42 +0000 (05:29 +0200)]
[BUGFIX] Paste button missing in empty folders

Inside an empty folder is no obvious way to paste the content of the
clipboard.

Add a paste icon to the docheader to paste into the current folder.

Resolves: #48202
Releases: 6.2, 6.1, 6.0
Change-Id: I2192bd853a1c1fada332319812acee8fe821b78a
Reviewed-on: https://review.typo3.org/20937
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Processed folder in a sub folder is shown 90/20490/3
Benjamin Mack [Sat, 4 May 2013 10:41:35 +0000 (12:41 +0200)]
[BUGFIX] Processed folder in a sub folder is shown

In the function fetchFolderListFromDriver of the ResourceStorage class the
processed folder is expected to be in root folder. If it is not the
case the processing folder is shown in all filelists and gets processed
as well. The function has to split the processed folder identifier and
compare it to the current path. To secure the patch also the missing Unit
Tests were added.

Change-Id: I7ebde8488938a7000dcfdb99da8c34ee988b666f
Fixes: #47019
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/20490
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
6 years ago[BUGFIX] BEfunc getProcessedValue doesn't show record title for "group" 22/20522/2
Georg Ringer [Sun, 23 Sep 2012 11:34:08 +0000 (13:34 +0200)]
[BUGFIX] BEfunc getProcessedValue doesn't show record title for "group"

In the list view relation fields using the type group (internal_type=db)
doesn't display the related value as expected. Instead, it shows
the UID of the relation. As these calls go through getProcessedValue,
the issue resolves the records by displaying the record titles correctly
in the TYPO3 backend.

Change-Id: I7d9cc8ec7f02e4a02518fcd14c81cc71f69b8ea7
Resolves: #21410
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/20522
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Fix double-stdWrapping of GIFBUILDER's TEXT object 30/20530/3
jyps [Mon, 8 Oct 2012 16:23:52 +0000 (18:23 +0200)]
[BUGFIX] Fix double-stdWrapping of GIFBUILDER's TEXT object

During extensive overhaul of stdWrap from TYPO3 v4.4 to v4.5 a
bug was introduced that led to double-stdWrapping of all
properties of GIFBUILDER's TEXT object.

Change-Id: Ib74fdc9899f3d0ee3f6fc96ffbb9c7dbc3ee01e2
Fixes: #41487
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/20530
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Empty subpart template if no data given 02/20702/3
Jigal van Hemert [Sun, 5 May 2013 10:03:12 +0000 (12:03 +0200)]
[BUGFIX] Empty subpart template if no data given

substituteMarkerAndSubpartArrayRecursive() should return an empty string
instead of the raw subpart template if no data for that subpart is given.
To clear a subpart the data can be just an empty array.

Change-Id: Ia6dd92168a86058993648c2fe4768b2cc8436cde
Resolves: #47935
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/20702
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Fix last line in table wizard 20/20920/2
Alexander Opitz [Fri, 3 May 2013 08:36:03 +0000 (10:36 +0200)]
[BUGFIX] Fix last line in table wizard

In the table wizard (table ce) you have the possibility to move first line
to the last line and vice versa. But on last line the false icon and
input field is set. We also have a FIXME comment there.

With the patch we fix the problem and you can again move the last line on
top of the lines.

Resolves: #16531
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I7fe69397ba595a6b2aec8cdfba05b286f3b8ebe4
Reviewed-on: https://review.typo3.org/20918
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-on: https://review.typo3.org/20920

6 years ago[BUGFIX][CONF] Remove unused EM related settings 16/20916/2
Jigal van Hemert [Wed, 15 May 2013 19:55:21 +0000 (21:55 +0200)]
[BUGFIX][CONF] Remove unused EM related settings

The settings em_wsdlURL and em_mirrorListURL are not used anymore in
the Extension Manager and should be removed.

Change-Id: I70003ac547cb0cc9bfcf47bc90e174e280b30052
Resolves: #48179
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/20916
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
6 years ago[BUGFIX] be_users.userMods is too small to hold all modules 89/20889/2
Philipp Gampe [Fri, 17 May 2013 20:42:51 +0000 (22:42 +0200)]
[BUGFIX] be_users.userMods is too small to hold all modules

It is impossible to assign all modules to a single user, because the
DB field is too small.  Saving such a record will result in a DB error
and a truncated modules list.

Solution: Change to field from varchar(255) to text to support a larger
number of modules.

This change requires a DB compare to become active. The fix is simply
not present otherwise, but also don't affect existing installations in
any way.

Resolves: #16762
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I67b2ed6b650f9eaf5bdcc9ef81ce93cbbdc54b7f
Reviewed-on: https://review.typo3.org/20889
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
6 years ago[BUGFIX] Can not expand new collapsed IRRE record with RTE field 82/20882/2
Stanislas Rolland [Fri, 17 May 2013 14:44:40 +0000 (10:44 -0400)]
[BUGFIX] Can not expand new collapsed IRRE record with RTE field

Problem: You can not expand newly created, collapsed IRRE records
which have a RTE field.
Solution: Adapt RTE to modified way of hidding IRRE nested element.

Revolves: #44617
Releases: 6.0, 6.1, 6.2
Change-Id: I262056af820054a168e695b01270463d56ea7b18
Reviewed-on: https://review.typo3.org/20882
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
6 years ago[BUGFIX] Fix start of identifier from /./ to / 80/20880/2
Alexander Opitz [Tue, 30 Apr 2013 08:26:21 +0000 (10:26 +0200)]
[BUGFIX] Fix start of identifier from /./ to /

The PHP function dirname returns an dot if the given filename
do not have a path included. On this path we pre- and append a
slash as directory seperator and this leads to /./ for the identifier.

By handling the dot and replace it with a single slash we get the
clean identifier we need. The result of dirname shouldn't be
empty, but we also will replace this with a single slash.

The problem didn't occured yet, as we didn't saved the resulting
file object in the index, which was changed by #46595

Reproducing:
* select the default LocalStorage root directory (fileadmin/)
* Upload a file
* Look in the sys_file table you have 2 entries without this patch.

Resolves: #47705
Releases: 6.2, 6.1, 6.0
Change-Id: I1c927fe768e3b622fde8d9f6665f78bf277b46f7
Reviewed-on: https://review.typo3.org/20880
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] ProcessedFile is persisted in sys_file as well 73/20873/2
Fabien Udriot [Thu, 2 May 2013 17:50:28 +0000 (19:50 +0200)]
[BUGFIX] ProcessedFile is persisted in sys_file as well

The problem appears more generally as soon as @getProperties@ is
called from a file object. FAL will try, by all means, indexing the file
(storing the file into sys_file, in other word)

The change set adds a method telling a File not be indexed by the API.
This is particularly useful if you want to create objects but don't want
them to be persisted.

Change-Id: I8cf0c0f6389dc13e8c3855452f1d2519544b69b9
Fixes: #47211
Fixes: #47782
Releases: 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/20873
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
6 years ago[BUGFIX] Uppercase CSS tag selectors not supported in some mime types 23/20723/2
Patrick Broens [Thu, 25 Apr 2013 13:49:45 +0000 (15:49 +0200)]
[BUGFIX] Uppercase CSS tag selectors not supported in some mime types

css_styled_content is using uppercase CSS tag selectors. These are not
supported using XHTML with the MIME-Type application/xhtml+xml. The XML
parser simply ignores these selectors.

This patch fixes this issue by changing all uppercase CSS selectors in
css_styled_content to lowercase.

Change-Id: I43ea53a1893d03dac6686f519faebc01c2e8f971
Fixes: #40501
Releases: 4.7, 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/20723
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[BUGFIX] Adjust extbase record type in TypoScript configuration
Anja Leichsenring [Sat, 11 May 2013 11:40:46 +0000 (13:40 +0200)]
[BUGFIX] Adjust extbase record type in TypoScript configuration

During the namespacing in Extbase a mistake happend and the record type
setting in the TypoScript configuration, shipped with
extbase for fe_users and fe_usergroups, got namespaced as well.

This caused in the first place updating instances retrieving
user regords to fail, because existing records had the non namespaced
string set in the database.
Second it rendered newly created records not findable, because those got
the non namespaced string set in database as well.
Now all the records were matched against the namespaced comparison and
failed being considered valid by the repository.

So the solution for both scenarios is to reset the TypoScript config
back to non namespaced string, bringing back the matching constraint
for existing records as well as for newly created ones.

Resolves: #48103
Relates: #40098
Releases: 6.0
Change-Id: Idf02c06b70d337469005a9a6ae773f8cf4d7f03f
Reviewed-on: https://review.typo3.org/20692
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[BUGFIX] Sorting not respected for backend layout dropdowns 12/20712/2
Anja Leichsenring [Sun, 12 May 2013 07:02:02 +0000 (09:02 +0200)]
[BUGFIX] Sorting not respected for backend layout dropdowns

The core record backend_layout can be sorted manually, but this is not
reflected in the pages TCA for the dropdowns backend_layout and
backend_layout_next_level.

This patch fixes this issue by adding the sorting in the foreign_where
clause

Thanks to Frans Saris for reporting this issue

Change-Id: I04680278075ddc0de69600423be5fe783e34f562
Resolves: #47688
Releases: 4.5, 4.7, 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/20712
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Raise submodule pointer 11/20711/2
Anja Leichsenring [Sun, 12 May 2013 06:50:37 +0000 (08:50 +0200)]
[TASK] Raise submodule pointer

Change-Id: I426c2af343a61c784fdf89fdf1c987f7ed4f6c1d
Reviewed-on: https://review.typo3.org/20711
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Improvement of LanguageCacheClearer 06/20706/2
Georg Ringer [Sat, 4 May 2013 10:38:26 +0000 (12:38 +0200)]
[BUGFIX] Improvement of LanguageCacheClearer

The cache is cleared no matter if the call is valid
or not. As a solution the relevant line needs to be moved
inside the if clause

Change-Id: I171b28786094a75f9e971685f4384d6631ab9c52
Fixes: #47912
Releases: 6.2,6.1,6.0,4.7
Reviewed-on: https://review.typo3.org/20706
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[BUGFIX] Add support for float values to arrayExport 04/20704/2
Jigal van Hemert [Sat, 11 May 2013 19:13:49 +0000 (21:13 +0200)]
[BUGFIX] Add support for float values to arrayExport

ArrayUtility::arrayExport() must support float values too.

Change-Id: Ibfb0dfa3b7d8f584d41ff01f49a40dbbd991a66e
Releases: 6.2, 6.1, 6.0
Fixes: #48114
Reviewed-on: https://review.typo3.org/20704
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Label in list view is not escaped 09/20509/3
Nicole Cordes [Fri, 5 Apr 2013 20:15:24 +0000 (22:15 +0200)]
[BUGFIX] Label in list view is not escaped

The label of a field in the list view is not escaped,
as the itemLabel function is broken, through the
third parameter which cannot be HSCed afterwards
if it contains HTML.

Change-Id: I5adcf0ce97dd9f5e8fd9546b367f55f1ac0c532e
Fixes: #29409
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/20509
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[TASK] Update PEAR packages 57/20657/2
Daniel Minder [Tue, 7 May 2013 17:52:42 +0000 (19:52 +0200)]
[TASK] Update PEAR packages

Update PEAR package HTTP_Request2 to version 2.1.1 and Net_URL2 to 2.0.0
so that TYPO3 contains the bug fixes contained in these releases.

Resolves: #48027
Resolves: #32387
Related: #37085
Related: #41295
Releases: 4.7, 6.0, 6.1, 6.2
Change-Id: I6795cae9857bdcb71272d9e68abb76bbc6d74fb8
Reviewed-on: https://review.typo3.org/20657
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
6 years ago[TASK] Use PHP lint to check for syntax errors on travis 51/20651/2
Helmut Hummel [Wed, 8 May 2013 19:17:01 +0000 (21:17 +0200)]
[TASK] Use PHP lint to check for syntax errors on travis

Change-Id: I86615ea6bc17e4341077caebc6730469296c5502
Reviewed-on: https://review.typo3.org/20651
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] TCA:Suggest wizard doesn't work for select with maxitems=1 13/20513/2
Stanislas Rolland [Mon, 25 Feb 2013 07:39:07 +0000 (02:39 -0500)]
[BUGFIX] TCA:Suggest wizard doesn't work for select with maxitems=1

For select fields with maxitems = 1, the suggest wizard does
display, but you cannot select an item and transfer it to the
selected list. Once you change it to maxitems > 1 everything
works as expected.

Solution: Avoid maxitems = 1 (unique) select fields being rendered as
multiple selector boxes and add JS that is required whenever a suggest
wizard is rendered.

Fixes: #23789
Releases: 4.5, 4.7, 6.0, 6.1, 6.2
Change-Id: I1847c9dbf2fe3b4072743857bb84b8e6b112598b
Reviewed-on: https://review.typo3.org/4270
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-on: https://review.typo3.org/20513
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
6 years ago[BUGFIX] Clearing label through TS doesn't work 96/20496/2
Markus Klein [Fri, 5 Apr 2013 19:02:00 +0000 (21:02 +0200)]
[BUGFIX] Clearing label through TS doesn't work

Overriding labels of non-default languages using TypoScript
fails if the value is empty.
The problem is that we cannot distinguish between missing translations
and labels cleared by TypoScript.
(In both cases ['target'] === "")

Change-Id: Iac666ecd7fa9af900f9852a777be3127437e0365
Fixes: #43959
Releases: 6.2, 6.1, 6.0, 4.7
Reviewed-on: https://review.typo3.org/20496
Reviewed-by: Markus Klein
Tested-by: Markus Klein
6 years ago[BUGFIX] Don't preserve piVars in felogin links 51/20351/3
Jigal van Hemert [Tue, 16 Apr 2013 12:03:37 +0000 (14:03 +0200)]
[BUGFIX] Don't preserve piVars in felogin links

Change-Id: Icb60d6ab5725da2ffe5f67c2b0dcf02280a91ab3
Releases: 6.1, 6.0, 4.7
Fixes: #46829
Reviewed-on: https://review.typo3.org/20351
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Michael Stucki
Tested-by: Michael Stucki
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Form email validation is case sensitive 25/20525/2
Patrick Broens [Thu, 2 May 2013 14:22:23 +0000 (16:22 +0200)]
[BUGFIX] Form email validation is case sensitive

Currently the FORM email validation is using a regular expression which
checks the email address. This check also inclused case sensitivity.

This patch fixes this by using the email address validator which comes
with the extension core.

Change-Id: Ib1449198f66f023a01c9791e74eb2d634abd77df
Resolves: #43924
Releases: 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/20525
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Resolve asterisk in allowed tables for suggest wizard 11/20511/2
Nicole Cordes [Sun, 21 Apr 2013 00:08:19 +0000 (02:08 +0200)]
[BUGFIX] Resolve asterisk in allowed tables for suggest wizard

In the suggest ajax script the setting of allowed tables is not parsed for
the asterisk (*). If it is set all TCA tables should be parsed and checked
for access and added to queryTables array.

Change-Id: Icc288bcd31595a5f653aa4ac4faa4602535ecbcf
Fixes: #21588
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/20511
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
6 years ago[BUGFIX] Validation with invalid validator causes unrelated errors
Claus Due [Sun, 18 Nov 2012 11:34:49 +0000 (12:34 +0100)]
[BUGFIX] Validation with invalid validator causes unrelated errors

This change checks the resolved validator class name for presence
of the correct interface before accepting it as a validator.

Change-Id: Ic33c4107f7b47903b19377178c5f071c5a668a5a
Fixes: #11374
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19971
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Context menu for offline storages raises exception 95/20195/3
Nicole Cordes [Fri, 22 Mar 2013 13:57:11 +0000 (14:57 +0100)]
[BUGFIX] Context menu for offline storages raises exception

If you try to call the context menu for an offline storage an exception is
raised. Therefore an offline storage shouldn't be linked with a context
menu.

Change-Id: I2845d173bd2a22c96e23bb58bf1a57239109829a
Fixes: #46551
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/20195
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
6 years ago[TASK] Set TYPO3 version to 6.0.6-dev 47/20447/2
TYPO3 Release Team [Fri, 3 May 2013 06:58:55 +0000 (08:58 +0200)]
[TASK] Set TYPO3 version to 6.0.6-dev

Change-Id: Ibea4def67384953b32d81b36b4c57ce750e85ae2
Reviewed-on: https://review.typo3.org/20447
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
6 years ago[RELEASE] Release of TYPO3 6.0.5 46/20446/2 TYPO3_6-0-5
TYPO3 Release Team [Fri, 3 May 2013 06:57:56 +0000 (08:57 +0200)]
[RELEASE] Release of TYPO3 6.0.5

Change-Id: Icacd0c2f2d264b1e0c9b18c9ef18847ccf41e8fb
Reviewed-on: https://review.typo3.org/20446
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
6 years ago[TASK] Reduce severity for set_no_cache() from core 98/20198/2
Georg Ringer [Fri, 26 Apr 2013 17:43:02 +0000 (19:43 +0200)]
[TASK] Reduce severity for set_no_cache() from core

Reduce the severity if an internal flag is set and the a backend user
is logged in.

Resolves: #43735
Related: #43506
Releases: 6.1, 6.0, 4.7, 4.5
Change-Id: Ifd78f67d38b87180ab60df05167974705ee90352
Reviewed-on: https://review.typo3.org/20198
Reviewed-by: Philipp Gampe
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] InlineSettings broken if extJs not loaded 93/20393/2
Benjamin Mack [Sat, 6 Apr 2013 10:11:52 +0000 (12:11 +0200)]
[BUGFIX] InlineSettings broken if extJs not loaded

The pagerenderer can add javascript inline settings to the output.
This does not work if extJs is not loaded, because of missing
initialization of js object TYPO3.
This patch makes sure that TYPO3 object is iniitalized correctly,
if extJs is not loaded.

Change-Id: I2f9750cd0188cbbb042d02b6d3f5c6da2a544589
Fixes: #38879
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/20393
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 42/20342/2
TYPO3 Release Team [Tue, 30 Apr 2013 06:12:02 +0000 (08:12 +0200)]
[TASK] Raise submodule pointer

Change-Id: Ieae28eaeee24282b54f267fde354d9bfca2ec4c3
Reviewed-on: https://review.typo3.org/20342
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
6 years ago[BUGFIX] Filter for groups not working after revisit 18/20318/2
Wouter Wolters [Sun, 28 Apr 2013 22:29:40 +0000 (00:29 +0200)]
[BUGFIX] Filter for groups not working after revisit

When you select a group in the filter and filter it, then switch
to another backend module. If you then go back to the beuser
module the group is not set as selected.

Change-Id: Ia97094f9bfc645b42527d0b8cf12bca813dac433
Fixes: #42901
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/20318
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] Revert abusive deprecation 96/20296/2
Francois Suter [Mon, 29 Apr 2013 05:57:26 +0000 (07:57 +0200)]
[BUGFIX] Revert abusive deprecation

Due to obsolete phpDoc comments, BackendUtility::helpText()
was deprecated while it is still used in the Core.

Update phpDoc comments and remove deprecation.

Resolves: #47681
Releases: 6.0, 6.1, 6.2
Change-Id: I2ddc42b5c3082d22f031e2710614f749323da550
Reviewed-on: https://review.typo3.org/20296
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Providing Core Resource FileReference functionality
Benjamin Rau [Thu, 7 Mar 2013 12:19:25 +0000 (13:19 +0100)]
[FEATURE] Providing Core Resource FileReference functionality

Retrieve file information from Core\Resource by creating
a FAL resource object on the fly when needed.

You can access properties or getters of the object in Fluid
easily with the dot notation:

E.g.:

{myEntity.fileProperty.originalResource.title}
{myEntity.fileProperty.originalResource.properties.identifier}

Resolves: #46102
Releases: 6.1, 6.0
Change-Id: I33ff6a088e61715513446ae7600d3d21cbcfcd5a
Reviewed-on: https://review.typo3.org/20257
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[TASK] Update URLs to documentation 49/20249/2
Wouter Wolters [Sat, 27 Apr 2013 12:32:32 +0000 (14:32 +0200)]
[TASK] Update URLs to documentation

The documentation is now located at docs.typo3.org.
Update the URL accordingly.

Change-Id: Ib9b102e0705742fe0b1498f6a7c22cbc0d23a333
Resolves: #47621
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/20249
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] Empty columns in Page Module view cause warnings 31/20231/2
Christian Zenker [Sat, 27 Apr 2013 12:59:56 +0000 (14:59 +0200)]
[BUGFIX] Empty columns in Page Module view cause warnings

The iteration over columns in the page module layout view
expects arrays. Since it might happen, that there is no element
for a particular column, variables need to be initialized with
an empty array.

Change-Id: I63b4b26a87f1520139c9d66d0c096a78d39e409c
Fixes: #47529
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/20229
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-on: https://review.typo3.org/20231

6 years ago[TASK] Raise submodule pointer 20/20220/2
Anja Leichsenring [Sat, 27 Apr 2013 11:55:54 +0000 (13:55 +0200)]
[TASK] Raise submodule pointer

Change-Id: Idc13d2bc61190c8115d0319e23fe3c782d6cfb3a
Reviewed-on: https://review.typo3.org/20220
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Translation of extbase-core
tomas [Mon, 1 Apr 2013 19:54:48 +0000 (21:54 +0200)]
[BUGFIX] Translation of extbase-core

Made massages from validators and property errors translatable.

Change-Id: I376f55a22d9e7d822146f0f935b1de24098b37cf
Fixes: #6538
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/20218
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Only throw tooDirty if uid part of cleanProperties
Balisky Christophe [Sat, 11 Jun 2011 12:12:56 +0000 (14:12 +0200)]
[BUGFIX] Only throw tooDirty if uid part of cleanProperties

AbstractEntity tooDirty Error should be thrown only if uid field is
actually part of the cleanProperties Array

Change-Id: I6b093b7363d4b7c1fdc0f823f7c1ef66bb07b532
Resolves: #8066
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/20217
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Remove ObjectMapper part from TS-Template
Stefan Froemken [Sun, 14 Apr 2013 10:53:54 +0000 (12:53 +0200)]
[BUGFIX] Remove ObjectMapper part from TS-Template

since porting ObjectMapper Configuration to ext_localconf.php
it is time to remove the same configuration from
ext_typoscript.setup.txt.

Resolves: #47212
Releases: 6.1, 6.0
Change-Id: I4f22f7ad3a82e96543e5476d88009a2d5a376bdd
Reviewed-on: https://review.typo3.org/20216
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] Persist an empty unmodified objectstorage
Marc Bastian Heinrichs [Sun, 14 Apr 2013 10:14:08 +0000 (12:14 +0200)]
[BUGFIX] Persist an empty unmodified objectstorage

If the propertymapper builds an empty objectstorage for a property or
a property is set to a new objectstorage and the objectstorage property
has childobjects before, this objectstore needs to be persisted.

Change-Id: Ibcbd7cd6e1677e5321f0891e58f60bb5a49d529d
Releases: 6.1, 6.0, 4.7
Fixes: #13621
Fixes: #44110
Fixes: #42732
Reviewed-on: https://review.typo3.org/20215
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Remove compat layer for backend module
Nicole Cordes [Wed, 29 Aug 2012 21:35:33 +0000 (23:35 +0200)]
[TASK] Remove compat layer for backend module

Patch replaces calls of old extension classes which were replaced
in TYPO3 6.0

Change-Id: I6b96d54e7505d14cd4f1909f8fda9559ec79a951
Resolves: #40369
Related: #40095
Related: #40240
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/20196
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
6 years ago[TASK] Raise submodule pointer 42/20142/2
TYPO3 Release Team [Thu, 25 Apr 2013 07:52:38 +0000 (09:52 +0200)]
[TASK] Raise submodule pointer

Change-Id: I9b62d65ffe6e110dfe5a034027917dd4b2e772ff
Reviewed-on: https://review.typo3.org/20142
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
6 years ago[BUGFIX] Backend support for native DateTime
Nico de Haen [Mon, 15 Apr 2013 07:15:01 +0000 (09:15 +0200)]
[BUGFIX] Backend support for native DateTime

The getPlainValue method returns a Unix timestamp for DateTime objects.
Thus it is not possible to store native DateTime objects in
database columns of type Date or DateTime.
This patch passes the columnMap as (optional) argument to
the getPlainValue method and uses the new getDateTimeStorageFormat
method to detect the correct format

Change-Id: I6f8cdd9d131f32e46bf9a99b9c4996d48188312e
Fixes: #47223
Releases: 6.0,6.1
Reviewed-on: https://review.typo3.org/20116
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[TASK] Set TYPO3 version to 6.0-dev 92/20092/2
TYPO3 Release Team [Mon, 22 Apr 2013 20:32:53 +0000 (22:32 +0200)]
[TASK] Set TYPO3 version to 6.0-dev

Change-Id: I4394a4e5c01e00c89d25d0ddbabc1f677856fe73
Reviewed-on: https://review.typo3.org/20092
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
6 years ago[RELEASE] Release of TYPO3 6.0.5rc1 91/20091/2 TYPO3_6-0-5rc1
TYPO3 Release Team [Mon, 22 Apr 2013 20:31:56 +0000 (22:31 +0200)]
[RELEASE] Release of TYPO3 6.0.5rc1

Change-Id: I952f506736290dc6e82171f212e877b1450b232e
Reviewed-on: https://review.typo3.org/20091
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
6 years ago[TASK] Raise submodule pointer 83/20083/2
TYPO3 Release Team [Mon, 22 Apr 2013 18:43:35 +0000 (20:43 +0200)]
[TASK] Raise submodule pointer

Change-Id: I1a8fa2e8407a93b3d3496db606f304b2dd522b4f
Reviewed-on: https://review.typo3.org/20083
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
6 years ago[BUGFIX] Incomplete mock raises PHP 5.4 warning 79/20079/2
Christian Kuhn [Mon, 22 Apr 2013 17:11:49 +0000 (19:11 +0200)]
[BUGFIX] Incomplete mock raises PHP 5.4 warning

Fix the travis fail on PHP 5.4, introduced by #45254

Related: #45254
Resolves: #47449
Releases: 6.1, 6.0

Change-Id: I4f4f4df62989ad67c3b32aea304a8718f0c344b2
Reviewed-on: https://review.typo3.org/20079
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Select label element from suggest-list 69/20069/2
Stefan Neufeind [Sat, 20 Apr 2013 19:43:16 +0000 (21:43 +0200)]
[BUGFIX] Select label element from suggest-list

If a sprite is the first child in chosen item from
suggest-list no label is generated.

Therefore select the element depending on the class.
Besides that, e.g. Flexform elements use "invalid" CSS
IDs that contain "[" and "]" characters - using plain
CSS selectors on that does not work and needs to be
escaped first.

Fixes: #47409
Releases: 4.5, 4.7, 6.0, 6.1
Change-Id: I40fad4b6596923cc87889726794f115eb7b58eb5
Reviewed-on: https://review.typo3.org/20069
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] RTE: Tab key in Chrome inserts weird SPAN tags 58/20058/2
Stanislas Rolland [Sun, 21 Apr 2013 22:56:58 +0000 (18:56 -0400)]
[BUGFIX] RTE: Tab key in Chrome inserts weird SPAN tags

Problem: The problem arises when indent/outdent buttons are not
configured in toolbar. Default WebKit action inserts span tag with
special class.

Solution: Stop the event and avoid the default action: do nothing.

Fixes: #47274
Releases: 4.5, 4.7, 6.0, 6.1
Change-Id: I7077d300b7e766a38a004c743dd85ef33645ec9a
Reviewed-on: https://review.typo3.org/20058
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
6 years ago[BUGFIX] Suggest wizard: Display record icon 42/20042/2
Nicole Cordes [Fri, 19 Apr 2013 20:30:22 +0000 (22:30 +0200)]
[BUGFIX] Suggest wizard: Display record icon

Especially for pages the icon is not shown in the list of suggested
records. This patch switches the icons from background images to sprite
icons.

Change-Id: I5bf19c43b2979608270638895022517384f97bea
Fixes: #40731
Releases: 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/20042
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] excludeUidList not checked for ifsub state 37/20037/2
Frederik Vosberg [Tue, 12 Feb 2013 06:28:16 +0000 (07:28 +0100)]
[BUGFIX] excludeUidList not checked for ifsub state

For menu item states IFSUB(RO), ACTIFSUB(RO) and CURIFSUB(RO) the
excludeUidList was not checked. If all submenu items are excluded the
menu item doesn't get the "ifsub" state anymore.

Change-Id: Ia113bb187b778718a501e0f2f6c0956c99cb1d8a
Fixes: #45254
Releases: 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/20037
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] Don't use folders as templates, partials and layouts
Marc Bastian Heinrichs [Sat, 13 Apr 2013 17:11:49 +0000 (19:11 +0200)]
[BUGFIX] Don't use 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.

Releases: 6.1, 6.0, 4.7, 1.3
Fixes: #47186
Fluid Package Issue: #47188

Change-Id: Ib64e180e01d66777bb5b0683cce26d88ec2a9fd6
Reviewed-on: https://review.typo3.org/19968
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
6 years ago[BUGFIX] ProcessedFile/Thumbnail is always regenerated 09/19809/3
Oliver Hader [Thu, 11 Apr 2013 18:58:58 +0000 (20:58 +0200)]
[BUGFIX] ProcessedFile/Thumbnail is always regenerated

A ProcessedFile/Thumbnail is always regenerated even if there
are not modifications to the original file.

The reasons for this spread all over the ProcessedFile handling
and boils down to a new ProcessedFile is being persisted in the
file-system by using a regular ResourceStorage::addFile() call
that results in a plain File object. The indexer then tries to
load this file and will create a new UID for the thumbnail in
sys_file. This uid value is then used to update(!) the
sys_file_processedfile entry - which fails since the uid
was taken from sys_file.

The bug was introduced in
I53e4eb42def291ba88ce18209a348b1e2f592185 were the
processedFile is updated with information of a File object and
the wrong uid is transfered as property.

Fixes: #47140
Releases: 6.1, 6.0
Change-Id: I4252b237d6022485c51ad32a7f956f5afcda8c08
Reviewed-on: https://review.typo3.org/19809
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[TASK] Use __DIR__ instead of dirname(__FILE__)
Stefan Neufeind [Sun, 14 Apr 2013 00:42:25 +0000 (02:42 +0200)]
[TASK] Use __DIR__ instead of dirname(__FILE__)

Supported since PHP 5.3.0.
Fluid from Flow uses __DIR__ and the backporter
used a replacement to transform it to
dirname(__FILE__).

See also patch for backporter:
https://review.typo3.org/19955

Resolves: #47206
Releases: 6.0, 6.1
Change-Id: If32852e74625990b6323848074fe54fc5e1fb554
Reviewed-on: https://review.typo3.org/19960
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] Mark objectstorage clean after saving
Marc Bastian Heinrichs [Sat, 13 Apr 2013 21:42:40 +0000 (23:42 +0200)]
[BUGFIX] Mark objectstorage clean after saving

Release: 6.1, 6.0, 4.7
Fixes: #36103
Change-Id: Id1bbe3397e18105a51de751c4fbccad55d34a47e
Reviewed-on: https://review.typo3.org/19947
Reviewed-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-on: https://review.typo3.org/19962

6 years ago[TASK] Add namespaing to ConfigurationManagerInterface
Stefan Neufeind [Sat, 13 Apr 2013 22:20:36 +0000 (00:20 +0200)]
[TASK] Add namespaing to ConfigurationManagerInterface

Resolves: #47201
Releases: 6.0, 6.1
Change-Id: I5098a63e9cad8848e2c14da9d9e99de6885d45e9
Reviewed-on: https://review.typo3.org/19958
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
6 years ago[BUGFIX] TypoScript stripProfile not forwarded to ProcessedFile 57/19957/2
Oliver Hader [Thu, 11 Apr 2013 22:02:49 +0000 (00:02 +0200)]
[BUGFIX] TypoScript stripProfile not forwarded to ProcessedFile

The TypoScript stripProfile feature not forwarded to
ProcessedFile anymore. Example of the feature that has
been available in TYPO3 CMS 4.x:

10 = IMAGE
10.file = fileadmin/images/image1.jpg
10.file.stripProfile = 1

The protected method modifyImageMagickStripProfileParameters()
does not make any sense anymore since the actual ImageMagick
processing has been moved around in TYPO3 CMS 6.0.

Fixes: #47145
Releases: 6.0, 6.1
Change-Id: If9a36def32327d3fc610b5f4ebc998bee2babf49
Reviewed-on: https://review.typo3.org/19814
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-on: https://review.typo3.org/19957
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] Catch correct exception if file has been removed 46/19946/2
Georg Ringer [Sat, 13 Apr 2013 20:53:45 +0000 (22:53 +0200)]
[BUGFIX] Catch correct exception if file has been removed

If having a file in the clipboard and the file gets removed,
the wrong exception is caught.

Change-Id: I8561465c3ec2577ebfb2b77e481e3c9dd3821958
Fixes: #47189
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19945
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-on: https://review.typo3.org/19946

6 years ago[BUGFIX] Clearing label through TS doesn't work
Markus Klein [Fri, 5 Apr 2013 19:03:05 +0000 (21:03 +0200)]
[BUGFIX] Clearing label through TS doesn't work

Overriding labels of non-default languages using TypoScript
fails if the value is empty.
The problem is that we cannot distinguish between missing translations
and labels cleared by TypoScript.
(In both cases ['target'] === "")

Fixes: #43959
Releases: 6.1, 6.0, 4.7, 4.6
Change-Id: I06697d44a5e4621f8bf45feb5fd3551705af8a2b
Reviewed-on: https://review.typo3.org/19619
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-on: https://review.typo3.org/19934

6 years ago[TASK] Fix typehints in docblocks of Mapper
Stefan Neufeind [Fri, 12 Apr 2013 21:32:15 +0000 (23:32 +0200)]
[TASK] Fix typehints in docblocks of Mapper

Resolves: #47174
Releases: 6.0, 6.1
Change-Id: Ib29e83b59f6f97e19f3123700d8971e1ea2ea7e8
Reviewed-on: https://review.typo3.org/19928
Reviewed-by: Tymoteusz Motylewski
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[TASK] Typo3DbBackend: Drop non-functional code
Stefan Neufeind [Sat, 13 Apr 2013 12:56:15 +0000 (14:56 +0200)]
[TASK] Typo3DbBackend: Drop non-functional code

array_fill_keys() used without function

Change-Id: Ibbf3a8b9de2fa5ebed684d95698bed323e7381dc
Resolves: #47185
Releases: 1.3, 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/19931
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
6 years ago[TASK] Raise submodule pointer 27/19927/2
Christian Kuhn [Sat, 13 Apr 2013 15:59:34 +0000 (17:59 +0200)]
[TASK] Raise submodule pointer

Change-Id: Id55bb3924471bb98497c7c99e047ffd8c09d757d
Reviewed-on: https://review.typo3.org/19927
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] getPlainValue for @lazy objects
Benjamin Bretz [Sat, 13 Apr 2013 12:30:22 +0000 (14:30 +0200)]
[BUGFIX] getPlainValue for @lazy objects

Typo3DbBackend::getPlainValue now loads lazy objects if they are
instances of LazyLoadingProxy

Fixes: #28149
Releases: 6.1, 6.0
Change-Id: Ibb7c342d2e0910190dcf414cef60a0e7d5f9d051
Reviewed-on: https://review.typo3.org/19926
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Add/drop usage of preg_quote() where needed 25/19925/2
Stefan Neufeind [Wed, 2 May 2012 23:20:14 +0000 (01:20 +0200)]
[TASK] Add/drop usage of preg_quote() where needed

In some places preg_quote() is not used or is used incorrectly.
In other places there are preg_quote() calls which had no
real function.

Change-Id: If201394036d17a68cea41903f849c6c5ea11b069
Releases: 4.5, 4.6, 4.7, 6.0, 6.1
Resolves: #36793
Reviewed-on: https://review.typo3.org/19925
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] Inefficient cache handling in LocalizationFactory 21/19921/2
Christian Kuhn [Sat, 13 Apr 2013 12:13:56 +0000 (14:13 +0200)]
[BUGFIX] Inefficient cache handling in LocalizationFactory

Calling has() in front of get() is inefficient and can be optimized.

Change-Id: Id8048023cc2305534a494664b402d47911087db6
Fixes: #47184
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/19921
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 19/19919/2
Christian Kuhn [Sat, 13 Apr 2013 13:17:12 +0000 (15:17 +0200)]
[TASK] Raise submodule pointer

Change-Id: I0d015e18dc179432169fe82593e40fc89a92cf34
Reviewed-on: https://review.typo3.org/19919
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Localization ignores extensionName argument for TypoScript labels
Tymoteusz Motylewski [Sat, 13 Apr 2013 11:35:16 +0000 (13:35 +0200)]
[BUGFIX] Localization ignores extensionName argument for TypoScript labels

Localization utility should pass extesnionName to configurationManager
when fetching TypoScript _LOCAL_LANG labels.
Without this parameter configurationManager returns configuration
of the current plugin.
For example having
<f:translate key="foo" extensionName="news" />
in the blog_example extension template should load translation
from "news" extesnion.

This patch also makes LocalizationUtility::loadTypoScriptLabels()
testable.

Resolves: #46042
Releases: 4.7, 6.0, 6.1
Change-Id: If3785617defe2894cf3a8dc201e66acd182c18c0
Reviewed-on: https://review.typo3.org/19916
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Language cache is not cleared anymore 09/19909/2
Oliver Hader [Sat, 13 Apr 2013 11:53:54 +0000 (13:53 +0200)]
[BUGFIX] Language cache is not cleared anymore

The language cache is not cleared anymore due to
wrong condition in the hook method.

Change-Id: If549d57580d05a547f8c879eed31a1f72667c661
Related: #46205
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/19909
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] RequestBuilder must not call $request->setMethod with NULL
Anja Leichsenring [Sat, 13 Apr 2013 10:10:46 +0000 (12:10 +0200)]
[BUGFIX] RequestBuilder must not call $request->setMethod with NULL

If running a cli script the variable $_SERVER['REQUEST_METHOD'] is
not set at all. So when dispatching a sub webrequest the variable is
still not set and the RequestBuilder sets the method of Request to
NULL which is not allowed.

Therefore the variable will now be fetched from the Environment
and falls back to "GET" in case no value can be fetched this way.

Releases: 6.1, 6.0, 4.7, 1.3
Resolves: #13845
Change-Id: I5e33aba48605895f9eae1e3b710364091e7e84f0
Reviewed-on: https://review.typo3.org/19889
Reviewed-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring