Packages/TYPO3.CMS.git
5 years ago[BUGFIX] Upload in backend does not index file 94/20194/4
Steffen Ritter [Sat, 23 Mar 2013 14:19:01 +0000 (15:19 +0100)]
[BUGFIX] Upload in backend does not index file

If a file is uploaded within the backend (f.e. file-module)
the file is not automatically indexed. If done within the
file-module the indexing happens when the folder is shown.
If the file is uploaded somehow else using the
ExtendedFileUtility it's not indexed.

Add the indexing to the upload function.

Releases: 6.1, 6.0
Fixes: #46595
Change-Id: I9ea30797390f960a8e382a1f2c456259d3daa60c
Reviewed-on: https://review.typo3.org/20194
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
5 years ago[BUGFIX] Rootline utility must respect pageOverlayFields 23/21723/2
Stefan Galinski [Wed, 15 May 2013 14:18:05 +0000 (16:18 +0200)]
[BUGFIX] Rootline utility must respect pageOverlayFields

The rootline calculation always overlays all fields
from the pages table. This causes trouble in e.g. the
case that you want to reuse media images from the default
language in other languages. In the previous implementation
(pre 6.x) only the overlay fields from the
 $GLOBALS['TYPO3_CONF_VARS']['FE']['pageOverlayFields']
setting were overlaid.

Fixes: #48224
Releases: 6.2, 6.1, 6.0
Change-Id: I6f5a10150c916df24542ee83e33663a27bdb593f
Reviewed-on: https://review.typo3.org/21723
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski
5 years ago[BUGFIX] RTE: Importing google webfonts breaks style sheet parsing 62/21862/2
Stanislas Rolland [Wed, 3 Jul 2013 22:45:12 +0000 (18:45 -0400)]
[BUGFIX] RTE: Importing google webfonts breaks style sheet parsing

Problem: Firefox raises a security error because the file is not in the
same domain as the executing script. Probably a Firefox bug since the
file certainly has adequate headers: the font are indeed displayed in
the RTE.

Solution: Since the Webfont style sheet does not contain any css rules
anyways, we will catch the error, and if it is a security error, log it
to the Javascript console (or Firebug) and silently continue. Re-throw
any other type of error.

Resolves: #49648
Releases: 4.5, 4.7, 6.0, 6.1, 6.2
Change-Id: I225152ad5d84de50f29d3830be6f1f3e10f249c8
Reviewed-on: https://review.typo3.org/21862
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
5 years ago[BUGFIX] Invalid cache backend option "compression" for NullBackend 01/21801/2
Xavier Perseguers [Tue, 2 Jul 2013 12:55:07 +0000 (14:55 +0200)]
[BUGFIX] Invalid cache backend option "compression" for NullBackend

If a Typo3DatabaseBackend is changed to NullBackend, the compression flag
may be set and should be part of the NullBackend interface.

Change-Id: Id70dc582ddbe87eb8388dd79963364c23900e417
Fixes: #49585
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21801
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[BUGFIX] EM: Scheduler task does not persist to database 93/21793/2
Alexander Opitz [Mon, 1 Jul 2013 11:47:42 +0000 (13:47 +0200)]
[BUGFIX] EM: Scheduler task does not persist to database

The scheduler task for updating extension list of the extension
manager does not persist his data to database. As Scheduler is no
extbase extension and the task is no extbase task this peristence
isn't called at end of script.

Change-Id: I75629874f698f45f1b7dab47636857b5865e8d24
Resolves: #49528
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21793
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[BUGFIX] Wrong top/bottom margin rendering in CSC 87/21787/2
Patrick Broens [Thu, 25 Apr 2013 12:38:50 +0000 (14:38 +0200)]
[BUGFIX] Wrong top/bottom margin rendering in CSC

When a top or bottom margin has been chosen together with section_frame
"no frame" -> 66, no entry is made in the temporary stylesheet.

This patch solves this issue by changing the stdWrap variable to
classStdWrap for the method renderSpace().

Change-Id: Iee6c98537e2a4a8c917dfd450289f26ce50e3ca9
Fixes: #47403
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/20155
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-on: https://review.typo3.org/21787

5 years ago[BUGFIX] Increase the width of the content element of type Plain HTML 67/21767/2
Philipp Gampe [Sun, 19 May 2013 15:55:35 +0000 (17:55 +0200)]
[BUGFIX] Increase the width of the content element of type Plain HTML

The current editor field for content elements of type HTML is for too
small. Without t3editor it is only 5 lines in height and with t3editor
it is limited to 200px which is not much more.

Increase the default size for tt_content.bodytext to 80x15 and set the
height for t3editor fields to 60% as done in setup.

Resolves: #43112
Releases: 6.2, 6.1, 6.0
Change-Id: Icc27cb013cc3009dace5dedef2f9515af1975ec0
Reviewed-on: https://review.typo3.org/20923
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-on: https://review.typo3.org/21766
Reviewed-on: https://review.typo3.org/21767

5 years ago[BUGFIX] Do not show System Extensions Wizard when done 52/21752/2
Helmut Hummel [Sun, 30 Jun 2013 14:34:52 +0000 (16:34 +0200)]
[BUGFIX] Do not show System Extensions Wizard when done

The check if the wizard has been executed before and
includes all available system extensions have been installed
is wrong. Rather than casting to bool, we should
check if the difference between "seen extensions" and
available system extensions is an empty array.

This correctly shows the wizard when not finished and
hides it when finished.

Resolves: #49256
Releases: 6.2, 6.1, 6.0
Change-Id: I7bd655b2b7eeaaa5b1dd91e80564f150b1d0d038
Reviewed-on: https://review.typo3.org/21752
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[TASK] createEncryptionKey always returns key with 96 characters 50/21750/2
Mario Rimann [Tue, 29 Nov 2011 21:00:51 +0000 (22:00 +0100)]
[TASK] createEncryptionKey always returns key with 96 characters

Update the createEncryptionKey method to use the same underlying
call as its copy in the eID script.

Change-Id: I666a3620080fd0f5281e899250f5c710e2550173
Resolves: #29220
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/21750
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
5 years ago[BUGFIX] EM: TimeSinceLastUpdateViewHelper fatals if never updated 46/21746/2
Alexander Opitz [Fri, 14 Jun 2013 13:22:08 +0000 (15:22 +0200)]
[BUGFIX] EM: TimeSinceLastUpdateViewHelper fatals if never updated

If the repository was never updated (or the update failed) last_update
has the value of zero in the database.
Then NULL->format in the TimeSinceLastUpdateViewHelper leads to the fatal
error.

Resolves: #47726
Releases: 6.2, 6.1, 6.0
Change-Id: Ia41c50f2037fb1c7ef935a8855a200b303347383
Reviewed-on: https://review.typo3.org/21746
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] Improve error message in NotFoundView to identify source 34/21734/2
Claus Due [Sat, 29 Jun 2013 12:43:54 +0000 (14:43 +0200)]
[TASK] Improve error message in NotFoundView to identify source

The error message before this change would only report the
action name, after this change it will reflect the controller and
extension name as well.

Set to apply to all maintained version since this changes no functions
whatsoever - it only improves error feedback.

Resolves: #49519
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I61dc32a4542b8664ca9443414278e983bc181c4a
Reviewed-on: https://review.typo3.org/21734
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Wrong placement of image caption in text with image 27/21727/2
Philipp Gampe [Sat, 29 Jun 2013 12:42:36 +0000 (14:42 +0200)]
[BUGFIX] Wrong placement of image caption in text with image

If you omit the first caption, then the following captions are shifted
into this position, meaning the the captions are off by the number of
empty captions in front.

This happens because the captions are stored with a newline "\n" as
separator which is removed by a trim = 1.

Remove this trim from tt_content.image.20.caption.1.1 as the trimming of
the actual content happens with
tt_content.image.20.caption.1.stdWrap.trim = 1.

The change also has a few cleanups that popped up in PhpStorm while
investigation the issue.

Resolves: #48354
Releases: 6.2, 6.1, 6.0
Change-Id: I4523fa40cbf991b3941d18145a09e72d5e5254d3
Reviewed-on: https://review.typo3.org/21727
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] Fix localization of the BE user module 25/21725/2
Wouter Wolters [Sat, 29 Jun 2013 12:14:59 +0000 (14:14 +0200)]
[BUGFIX] Fix localization of the BE user module

Fix some hardcoded labels by replacing them with
f:translate tags.

Change-Id: Ic75f7bd021ff8353b7709906859d2c02eb452b23
Resolves: #49402
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21725
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] compressJs returns wrong filenames 10/21410/2
Philipp Gampe [Thu, 16 May 2013 18:23:00 +0000 (20:23 +0200)]
[BUGFIX] compressJs returns wrong filenames

If you enable
    config.concatenateJs = 1
    config.compressJs = 1
then the uncompressed version of the file is linked.

This does not change much, because compression is disabled and the files
will always be uncompressed, however the right link should be generated.

The allows extension to override the compress method and implement
compression without fixing the rest of the code.

The bug is a regression introduced with: #27694 (4.6).

Return the correct filename by overriding the filename with the returned
value of compressJsFile.

Resolves: #48213
Related: #27694
Releases: 6.2, 6.1, 6.0, 4.7
Change-Id: I1f65576db8084b54f9e5a13947ced258eef893d7
Reviewed-on: https://review.typo3.org/20845
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-on: https://review.typo3.org/21410

5 years ago[BUGFIX] stdWrap for special.value applied twice 87/21687/2
Markus Klein [Fri, 14 Sep 2012 07:28:59 +0000 (09:28 +0200)]
[BUGFIX] stdWrap for special.value applied twice

In HMENU the stdWrap for special.value is applied twice.
This patches removes the superfluous call
in HierarchicalMenuContentObject.php.

Furthermore it also moves the stdWrap for excludeUidList
to AbstractMenuContentObject.php for consistency reasons.

Change-Id: Ia6594a76602acdab8b39d50803595343e65f6d02
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Fixes: #40855
Reviewed-on: https://review.typo3.org/21687
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[TASK] Add support for "outdated" extensions 20/21720/2
Jigal van Hemert [Sun, 23 Jun 2013 18:50:20 +0000 (20:50 +0200)]
[TASK] Add support for "outdated" extensions

Extension Manager displays installed extensions which are marked as
"outdated" with different styling. Reports module also checks for
installed and available "outdated" extensions.

Change-Id: I3050f3f7142e4153954f1b7f76b4bf64a3066223
Resolves: #49350
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/21720
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
5 years ago[BUGFIX] ActionController must use namespaced object view pattern 13/21713/2
Alexander Schnitzler [Fri, 28 Jun 2013 12:39:48 +0000 (14:39 +0200)]
[BUGFIX] ActionController must use namespaced object view pattern

The ActionController still uses the old pattern like
Tx_@extension_View_@controller_@action@format for resolving
custom view objects. When using a namespaced extension it
must be possible to also use namespaced view objects.
Therefore a new view object pattern has to be introduced:
@vendor\@extension\View\@controller\@action@format

Releases: 6.2, 6.1, 6.0
Resolves: #47609
Change-Id: Iedc6120469f2277b482c5e1c40b89790404e9bbe
Reviewed-on: https://review.typo3.org/21713
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Fix property mapping of checkbox arrays 00/21700/2
Helmut Hummel [Thu, 27 Jun 2013 18:09:37 +0000 (20:09 +0200)]
[BUGFIX] Fix property mapping of checkbox arrays

If multiple checkboxes are rendered but none of it is
selected, an exception is thrown as the value of the hidden field,
that is submitted is a string.

This must be the case because we need to be able to clear out
selected checkboxes and cannot craft a hidden field that will
be translated to a GET/POST arument which is an empty array.

Because of that the ArrayConverter must be able to convert
empty strings to an empty array, just like the "old"
property mapper did.

Change-Id: I115831014caca4868d1f421eb968e01178e1169b
Resolves: #47832
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21700
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[BUGFIX] Fix localization of the language module 77/21677/2
Wouter Wolters [Wed, 26 Jun 2013 18:10:51 +0000 (20:10 +0200)]
[BUGFIX] Fix localization of the language module

The table headers are not translatable yet.
Replace them with f:translate tags.

Change-Id: Ibe9fc989eba193f3401f40b1b7f5f8be081189ef
Resolves: #49401
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21677
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
5 years ago[BUGFIX] Fix one language label in the extension manager 75/21675/2
Krzysztof Adaczmyk [Wed, 26 Jun 2013 09:09:24 +0000 (11:09 +0200)]
[BUGFIX] Fix one language label in the extension manager

Make hardcoded "Search:" label translatable.

Change-Id: I006f6b98f45f0d2e82c02c1b40ed549a15ac93fd
Resolves: #49404
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21675
Reviewed-by: Markus Klein
Tested-by: Markus Klein
5 years ago[BUGFIX] Wrong result on unequal globalVar condition 64/21664/2
Marc Bastian Heinrichs [Wed, 26 Jun 2013 13:01:31 +0000 (15:01 +0200)]
[BUGFIX] Wrong result on unequal globalVar condition

A TypoScript condition like "[globalVar = LIT:10 != 10]"
returns a true value instead of the expected false value.
The reason for that is a superfluous trinity (type safe)
comparator.

Change-Id: Ib9f468da0a129f08d5d071a4f97bd09904f0c91b
Fixes: #45165
Releases: 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/21664
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
5 years ago[BUGFIX] Record history shows two back buttons in docheader 12/21612/3
Wouter Wolters [Sun, 23 Jun 2013 12:46:46 +0000 (14:46 +0200)]
[BUGFIX] Record history shows two back buttons in docheader

The back-button is loaded twice in the record history module.
Also we add back the CSH which was missing too.

Change-Id: Ib509661bdb814f27ebff633d08ef85ada0b8e8ec
Resolves: #49338
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21612
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
5 years ago[BUGFIX] Invisible icon blocks mousefocus of non-required inputfields 09/21609/2
Zbigniew Jacko [Sat, 22 Jun 2013 14:05:35 +0000 (16:05 +0200)]
[BUGFIX] Invisible icon blocks mousefocus of non-required inputfields

Set z-index for clear.gif, so a backend user can select the text
inside input fields. Now it's also possible to set focus on the
input field by clicking at the beginning of it.

Fixes: #34042
Releases: 6.0, 6.1, 6.2
Change-Id: Icacbaf99d46da979a4eae715f97108df39e0728e
Reviewed-on: https://review.typo3.org/21609
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Insert rows only once in exec_INSERTmultipleRows 06/21406/2
Jigal van Hemert [Fri, 14 Jun 2013 00:21:59 +0000 (02:21 +0200)]
[BUGFIX] Insert rows only once in exec_INSERTmultipleRows

For native handler types multiple rows can be inserted using the mysql
INSERTmultipleRows API call. When another handler was used, the operation
was done twice, due to a missing else after the native handler condition.
This resulted in two database records for every INSERT statement.

The patch adds the missing else branch for the condition, preventing
the second run that was only meant to handle non-native handler types.

Change-Id: Ibab98a0c73b379bac063c8d1c19e30e93f38faf4
Resolves: #48220
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Related: #34327
Reviewed-on: https://review.typo3.org/21406
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[TASK] Update URL to the exception collection 88/21588/2
Piotr Molewski [Sat, 22 Jun 2013 12:20:57 +0000 (14:20 +0200)]
[TASK] Update URL to the exception collection

Updated TYPO3_URL_EXCEPTION constant
from http://typo3.org/go/exception/v4/
to http://typo3.org/go/exception/CMS/

Resolves: #49066
Releases: 6.0, 6.1, 6.2
Change-Id: Ibfb36aab1a09a016cda2b378a396390573ff1c6d
Reviewed-on: https://review.typo3.org/21588
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Flexform field is available but not passed to sub-function calls 77/21577/2
Claus Due [Fri, 21 Jun 2013 18:47:45 +0000 (20:47 +0200)]
[BUGFIX] Flexform field is available but not passed to sub-function calls

This change fixes three occurrences of calls to FlexForm DS
processing methods which accept a $fieldName argument but in
the current state of the code is given an empty string instead
of the $field variable which exists in all three contexts and
contains the proper value.

Passing the field name along to these sub functions allows hook
subscribers to use the field name - among other things. In any
case this fixes an unexpected behaviour turning it into an
expected one.

Resolves: #49331
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I078b0734f3bfa74a9acd61773c5c380f091286f8
Reviewed-on: https://review.typo3.org/21577
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Illegal string offset warning in AjaxLoginHandler 71/21571/2
Markus Klein [Fri, 21 Jun 2013 17:40:21 +0000 (19:40 +0200)]
[BUGFIX] Illegal string offset warning in AjaxLoginHandler

After logout $GLOBALS['BE_USER']->user['uid'] is checked.
This is done without isset() which triggers a warning, as ->user is unset,
if the logout was successful.

Resolves: #49327
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: Ia13af7f2a75090050113ff6a5d388b790df0bab1
Reviewed-on: https://review.typo3.org/21571
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Misleading label in beuser module 68/21568/2
Markus Klein [Fri, 21 Jun 2013 17:24:08 +0000 (19:24 +0200)]
[BUGFIX] Misleading label in beuser module

Change the wording of "loginBefore" label from
"Login before"
to
"Logged in before".

This should clarify the meaning of this filter.

Resolves: #49318
Release: 6.2, 6.1, 6.0
Change-Id: I1aa15c054630c3f01859fb9ef2a40f3ca0ffad2b
Reviewed-on: https://review.typo3.org/21568
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years agoRevert "[BUGFIX] Nested FLUIDTEMPLATE doesn't work anymore" 52/21552/3
Wouter Wolters [Thu, 20 Jun 2013 20:19:32 +0000 (22:19 +0200)]
Revert "[BUGFIX] Nested FLUIDTEMPLATE doesn't work anymore"

This reverts commit 1ba19b02542087ee2f26407be28d938d663c17a4

The Unit-test breaks because it is based on a FEATURE that
has been merged in 6.1,
commit 17ba001ccaec73a90b499de19d1aeefc74242b44

Change-Id: If1fec2c489bc1258716171236165f9ce388559e4
Reviewed-on: https://review.typo3.org/21552
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Nested FLUIDTEMPLATE doesn't work anymore 86/21486/2
Stefan Galinski [Tue, 7 May 2013 14:53:07 +0000 (16:53 +0200)]
[BUGFIX] Nested FLUIDTEMPLATE doesn't work anymore

It's impossible since version 6.0 to render a
FLUIDTEMPLATE content object inside a
FLUIDTEMPLATE, because the internal fluid view
instance of the parent FLUIDTEMPLATE will be
overridden by the children FLUIDTEMPLATE.

Fixes: #48021
Releases: 6.2, 6.1, 6.0
Change-Id: I776a3b0a388bb47d2995041679e39ec7442459c2
Reviewed-on: https://review.typo3.org/21486
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Fix JS error with Context Sensitive Help 46/21546/2
Michel Nederlof [Wed, 19 Jun 2013 21:47:02 +0000 (23:47 +0200)]
[BUGFIX] Fix JS error with Context Sensitive Help

Using the edit form for records in a new pop window leads
to a JS error, as "top" is not defined in the new window.

Resolves: #26588
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I2eab83a2c9df2fed13fd5bcc1c829bf4f2b9a055
Reviewed-on: https://review.typo3.org/21546
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
5 years ago[BUGFIX] Failing FAL unit test 43/21543/3
Christian Kuhn [Thu, 20 Jun 2013 16:47:39 +0000 (18:47 +0200)]
[BUGFIX] Failing FAL unit test

Using 0042 as create mask for files in unit test from issue #49029
triggers a warning and lets the test fail when the test file is
removed again. Relaxing the create mask to 0642 solves the issue.

Change-Id: I1bfdb344df5160505d853a725584c2a98f30494b
Resolves: #49296
Related: #49029
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/21543
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
5 years ago[BUGFIX] Correct permissions of new files 33/21533/2
Michael Knabe [Tue, 11 Jun 2013 12:26:35 +0000 (14:26 +0200)]
[BUGFIX] Correct permissions of new files

Set the correct file permissions of files created with
FAL according to the fileCreateMask.

Change-Id: I4d6562f926cd79a98c3d6b0545a14915c1d7a766
Resolves: #49029
Releases: 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/21533
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
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
5 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
5 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
5 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
5 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
5 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
5 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

5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 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

5 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