Packages/TYPO3.CMS.git
6 years ago[BUGFIX] Remove delete button for sys_file 17/17917/2
Helmut Hummel [Fri, 1 Feb 2013 10:27:16 +0000 (11:27 +0100)]
[BUGFIX] Remove delete button for sys_file

The edit view of file meta data currently has
a delete button, which sets the record of this
file to deleted, but does not delete the file itself.

It might be useful at some point
to use this to implement some recycler
functionality, but currently the FAL layer
has no support for it and a file with a deleted
meta data record is an inconsistent state
which has to be avoided by all means.

Resolves: #45065
Releases: 6.0, 6.1

Change-Id: I5033107cf4021d127e274bbe12e3aa08ea1b4ef6
Reviewed-on: https://review.typo3.org/17917
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[CLEANUP] Cleanup calls and docheaders in Core/Classes/Resource 93/17493/5
Anja Leichsenring [Sat, 12 Jan 2013 15:40:07 +0000 (16:40 +0100)]
[CLEANUP] Cleanup calls and docheaders in Core/Classes/Resource

In the Core/Classes/Resource Folder many calls to classes can be
used with shorthand syntax (without the namespace).

Many docheaders miss one or more @throws clauses for Exceptions to throw.

Resolves: #44476
Releases: 6.1, 6.0

Change-Id: Ia9c4b6e29fa924d42df8ff0e1e68ed607ce8256f
Reviewed-on: https://review.typo3.org/17493
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Remove EXT:lang FormEngineBasedCheckboxGroupViewHelper 40/17540/4
Sebastian Michaelsen [Tue, 15 Jan 2013 10:05:09 +0000 (11:05 +0100)]
[TASK] Remove EXT:lang FormEngineBasedCheckboxGroupViewHelper

Remove EXT:lang FormEngineBasedCheckboxGroupViewHelper this
is not used anymore in the core.

Resolves: #44527
Releases: 6.1, 6.0

Change-Id: I06925b20d7399181be6bb2d5f5439cade1fca7c1
Reviewed-on: https://review.typo3.org/17540
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Oliver Klee
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] DataHandler::getAutoVersionId() should be public 03/17903/2
Oliver Hader [Thu, 31 Jan 2013 18:17:41 +0000 (19:17 +0100)]
[TASK] DataHandler::getAutoVersionId() should be public

The method getAutoVersionId() in DataHandler/t3lib_TCEmain
should be public. The method is a helper to access the accordant
member variable that get's filled during workspace actions and
thus is useful in hooks as well.

Change-Id: Ie1f55d92b8e72e6ab68a563f0c1c52762239e102
Resolves: #45050
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Reviewed-on: https://review.typo3.org/17903
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] Remove save and new button for sys_file 98/17898/2
Helmut Hummel [Thu, 31 Jan 2013 16:46:22 +0000 (17:46 +0100)]
[BUGFIX] Remove save and new button for sys_file

The save and new button does not make any sense for file
meta data, so we should not display it.

Resolves: #45044
Releases: 6.0, 6.1

Change-Id: Ic25edee5b208103f74c7d566acb93099bdd3c19f
Reviewed-on: https://review.typo3.org/17898
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] ext:aboutmodules broken link to ext:reports 76/17876/2
Christian Kuhn [Wed, 30 Jan 2013 21:11:36 +0000 (22:11 +0100)]
[BUGFIX] ext:aboutmodules broken link to ext:reports

ext:aboutmodules shows some message box if ext:reports
is installed and found some serious problem. The message
box has a link to reports module that is broken and fixed
by the patch.

Change-Id: I7d0b2b6573eb960028cb1de0463808eaf5860fbc
Resolves: #40218
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/17876
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] displayWarningMessages uses wrong returnUrl 43/17543/4
Sebastian Michaelsen [Tue, 15 Jan 2013 13:29:33 +0000 (14:29 +0100)]
[BUGFIX] displayWarningMessages uses wrong returnUrl

The warning in the "About Modules" module about an
insecure admin offers a link to edit this user. Following
this link and then closing the form again leads to a 404.
The reason is a wrong returnUrl in
BackendUtility:: displayWarningMessages.

Resolves: #44537
Releases: 6.1, 6.0
Change-Id: I41d361d8b7314ac0bace8b8a5979a6f69128657c
Reviewed-on: https://review.typo3.org/17543
Reviewed-by: Mattias Nilsson
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] LocalConfiguration extListArray should be written without keys 11/17811/4
Jan-Erik Revsbech [Tue, 29 Jan 2013 19:46:05 +0000 (20:46 +0100)]
[BUGFIX] LocalConfiguration extListArray should be written without keys

When writing LocalConfiguration.php, arrays should be written without keys
if all the keys are numeric, even if the keys contain leaps.

Fixes: #44938
Releases: 6.1, 6.0
Change-Id: Ic1d929d54a75b091ecbe4f0f4b82049d507ccd95
Reviewed-on: https://review.typo3.org/17811
Reviewed-by: Mattias Nilsson
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Add missing labels for Extension Manager 12/17812/2
Wouter Wolters [Tue, 29 Jan 2013 21:18:01 +0000 (22:18 +0100)]
[BUGFIX] Add missing labels for Extension Manager

The Extension Manager is missing the labels when opening
the About Modules in the backend.

Change-Id: I4ea3a312e707dd1af22f6a693298170c32e19ecc
Fixes: #44941
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/17812
Reviewed-by: Jan-Erik Revsbech
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Create CSS Styled Content TypoScript configuration for 6.0 30/17830/4
Sebastian Michaelsen [Wed, 30 Jan 2013 12:18:32 +0000 (13:18 +0100)]
[TASK] Create CSS Styled Content TypoScript configuration for 6.0

For backwards compatibility we keep versions of the CSS Styled
Content TypoScript configuration files selectable as rendering
template.

The current setup.txt and constants.txt are just copied into
the 6.0 folder. After this change the branches may diverge

Resolves: #44963
Releases: 6.1
Change-Id: I3eef95b796f7f05bb176044ee556a7bf6ab270a7
Reviewed-on: https://review.typo3.org/17830
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[FEATURE] FLUIDTEMPLATE cObj settings array support 49/17849/4
Christian Kuhn [Wed, 30 Jan 2013 16:43:13 +0000 (17:43 +0100)]
[FEATURE] FLUIDTEMPLATE cObj settings array support

extbase action controllers give a settings typoscript sub array
to the view, if it exists. This feature is very handy, it allows
full typoscript magic like constants access on this sub array.

The FLUIDTEMPLATE content object has a the variables typoscript
configuration, but this allows only other content objects in it. This
is unpractical if just some key-value nested array should be given
to the view.

The patch adds a settings property to the FLUIDTEMPLATE cObj that
behaves similar to the extbase action controller. If given, this
array is just assigned as is to the view.

Example:

lib.globalSettings {
# Access to constants works, too.
foo = value
}
page = PAGE
page.10 = FLUIDTEMPLATE
page.10 {
file = fileadmin/templates/MyTemplate.html
settings < lib.globalSettings
}

In the view, the value can then be used: {settings.foo}

Change-Id: Ie48911275832d422525e7d8891096fefcc0af152
Resolves: #23853
Releases: 6.1
Reviewed-on: https://review.typo3.org/17849
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] Reset legacy fields if no relations are found 48/17848/2
Helmut Hummel [Wed, 30 Jan 2013 16:39:28 +0000 (17:39 +0100)]
[BUGFIX] Reset legacy fields if no relations are found

If you add multiple images to a tt_content element
but mark all of them hidden, an image is shown which has
the uid of the number of images added to the element.

This is the case because TYPO3 puts the relation count in the
field and the frontend adapter service does not reset
the field if no relations are found.

The solution is to set the legacy fields in any case.

This change adds a test which fails without a fix
and another test which shows that the original behaviour
is not affected.

Resolves: #44988
Releases: 6.0, 6.1

Change-Id: Ia4690fb0a68cd4d6832aef6712bc69adf00f8a5f
Reviewed-on: https://review.typo3.org/17848
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] Remove obsolete flushByTags() from wincache 09/17809/2
Christian Kuhn [Tue, 29 Jan 2013 19:29:31 +0000 (20:29 +0100)]
[BUGFIX] Remove obsolete flushByTags() from wincache

Method flushByTags() was removed from the cache backend interface
since core version 4.6 and fully removed in 6.0. The wincache
backend still implements this method, but it is never used
anywhere, so it can be removed.

Change-Id: I038f1839f77b33173122bb8a0485dd005ee8a5a4
Fixes: #44937
Related: #35818
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/17809
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Register suite integrity tests again 07/17807/2
Christian Kuhn [Tue, 29 Jan 2013 19:13:13 +0000 (20:13 +0100)]
[BUGFIX] Register suite integrity tests again

The integrity unit tests executed at the very bottom of the
test suite very accidentally removed during issue #40950.
Add them again.

Change-Id: Ifc59f201c98a79e1cf376e1c1e1124408cd37c10
Fixes: #44936
Related: #40950
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/17807
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[FEATURE] Accept template from content objects FLUIDTEMPLATE 41/16241/5
Helmut Hummel [Tue, 6 Nov 2012 19:40:38 +0000 (20:40 +0100)]
[FEATURE] Accept template from content objects FLUIDTEMPLATE

Add possibility to use content objects as Fluid
template source.

This adds a new property "template" to the FLUIDTEMPLATE
cObj to be in line with the TEMPLATE cObj

Resolves: #39767
Releases: 6.1

Change-Id: Iacd291f503ab88fb530f3b439e26cb755d17dee2
Reviewed-on: https://review.typo3.org/16241
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] FLUIDTEMPLATE cObj uses wrong template file 97/17797/2
Christian Kuhn [Tue, 29 Jan 2013 16:09:03 +0000 (17:09 +0100)]
[BUGFIX] FLUIDTEMPLATE cObj uses wrong template file

Due to some weird instance re-usage in the content object renderer,
the view object in FLUIDTEMPLATE content object must be re-created
for every call to render() to avoid some nasty cache issues.

Change-Id: If2ec0b171b8227aba9204d343a9e9010b69ecc78
Resolves: #44610
Related: #42182
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/17797
Reviewed-by: Marcus Krause
Reviewed-by: Oliver Hader
Tested-by: Marcus Krause
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] EXT:reports Minor typo in HTML 77/17777/2
Christian Kuhn [Tue, 29 Jan 2013 09:12:49 +0000 (10:12 +0100)]
[TASK] EXT:reports Minor typo in HTML

Change-Id: I141db7aa51add26d1a0840ad80b4aa40c40d45db
Related: #44895
Releases: 6.1
Reviewed-on: https://review.typo3.org/17777
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] EXT:reports Improve xclass reporting 76/17776/4
Christian Kuhn [Mon, 28 Jan 2013 22:19:47 +0000 (23:19 +0100)]
[TASK] EXT:reports Improve xclass reporting

Since TYPO3 CMS 6.0, the XCLASS registration changed and the old
registration style does not work anymore. Additionally, 6.0 comes
with a basic check for old XCLASS registration to warn users about
that.

The patch adds a new report for newly registered XCLASS'es and
adapts the messages to better notify that neither old nor new
registrations are a real problem, but that those classes should
be kept an eye on during upgrading.

Change-Id: I8c0052b9c7fb0e88aff62a71c9592bf51bcec7ad
Resolves: #44895
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/17776
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[TASK] Remove function usage ctype_alnum in PageRenderer 17/17017/3
Ingo Pfennigstorf [Fri, 7 Dec 2012 15:18:44 +0000 (16:18 +0100)]
[TASK] Remove function usage ctype_alnum in PageRenderer

This fixes the problem that on some servers the PHP ctype extension
is not installed by default and results in a blank backend screen
when trying to edit a page.

Fixes: #43726
Releases: 6.1, 6.0

Change-Id: Icb029a39107c092c06c9e70bbde0b2217e5860f7
Reviewed-on: https://review.typo3.org/17017
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] tt_content: exclude config fields 67/17767/3
Felix Kopp [Mon, 28 Jan 2013 15:45:44 +0000 (16:45 +0100)]
[BUGFIX] tt_content: exclude config fields

Adds missing option to restrict access for properties
in tt_content elements within backend user group:

* imageorient (Image orientation)
* imagecols (Image columns)

Without those options no minimal configuration
for backend user privileges can be setup.

Fixes: #44890
Release: 6.0, 6.1
Change-Id: Ia5ed4779db27f90fb7d44eb47c3290c523027a21
Reviewed-on: https://review.typo3.org/17767
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Backend groups: exclude config fields 66/17766/2
Felix Kopp [Mon, 28 Jan 2013 15:21:52 +0000 (16:21 +0100)]
[BUGFIX] Backend groups: exclude config fields

Adds missing option to restrict access to the fields:

* content_from_pid (Show content from different page)
* alias (Url alias)

within backend user group configuration.

Without these exclude fields backend user right can not
be stripped to the minimum: edit page title only.

Fixes: #40866
Releases: 6.0, 6.1
Change-Id: I1d5a1f08ea72cbeb11ade0302ebb0ecb7a5bfe2a
Reviewed-on: https://review.typo3.org/17766
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Possible warning in about module 68/17768/2
Christian Kuhn [Mon, 28 Jan 2013 16:47:21 +0000 (17:47 +0100)]
[BUGFIX] Possible warning in about module

ext:about includes ext_emconf.php files of loaded extensions.
The code raises a warning if those files are not found. This
can happen for example, if some extension is loaded in
LocalConfiguration "extList", but does not exist in the file
system.

Solution is to check for file existance before include.

Change-Id: Ic58adfc908ff02d5f0d9e79b69719d02c6b429ab
Fixes: #44892
Releases: 6.1, 6.0, 4.7
Reviewed-on: https://review.typo3.org/17768
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Make submit button save all tabs in extension manager 57/17757/3
Jan-Erik Revsbech [Mon, 28 Jan 2013 10:29:13 +0000 (11:29 +0100)]
[BUGFIX] Make submit button save all tabs in extension manager

Each category is rendered as separate sheets/tabs, but should
share a single form and submit button. Otherwise changes to
one sheet are not saved when clikting submit in another sheet.

Fixes: #44876
Related: #44559
Releases: 6.1, 6.0

Change-Id: Idce5c70c20faebe495b9241ac0f2f0ea0aec6c2a
Reviewed-on: https://review.typo3.org/17757
Reviewed-by: Jan-Erik Revsbech
Tested-by: Jan-Erik Revsbech
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] EM: Refactor Configuration handling 31/17731/3
Christian Kuhn [Sat, 26 Jan 2013 16:29:33 +0000 (17:29 +0100)]
[TASK] EM: Refactor Configuration handling

Classes ConfigurationUtility and ConfigurationItemRepository handle
the extension managers extension configuration settings.

Configuration sources are ext_conf_template.txt files,
LocalConfiguration.php and the extension manager configuration
forms. They all have different formats and structures, thus
the code to merge all that is not exactly easy.

This patch shifts some code around in order to make the current
handling better understandable for easier debugging. The API is
still not as simple as it should be, but for now some
code smell is solved:

* Use @inject annotation for dependency injection to reduce
  number of code lines.
* Remove dependency injected objects if possible and rely on
  injection of objectManager only if the object is not widely
  used in the class.
* Disentangle a method call chain from InstallUtility to
  ConfigurationUtility back to InstallUtility by removing method
  writeExtensionTypoScriptStyleConfigurationToLocalconf() from
  InstallUtility and merging functionality with
  ConfigurationUtility->writeConfiguration().
* Remove public method createArrayFromConstants() from
  ConfigurationItemRepository and move to ConfigurationUtility
  under new name
  getDefaultConfigurationFromExtConfTemplateAsFlatItemArray().
* Rename ConfigurationItemRepository->findByExtension() to
  findByExtensionKey() and always let it return an
  ObjectStorage, even if empty.
* Simplify several method signatures, mostly of protected methods
  to one parameter only, moving only the extension key around.
* Better encapsulating of low level code in protected methods
  instead of duplicated low level code in in entry methods
  or controller logic.
* Resolve code smell in unit tests with better mocking and
  structured tests.

Change-Id: I441280a3907e2487cd7fe7ba1856e9ef04c72a42
Resolves: #44818
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/17731
Reviewed-by: Jan-Erik Revsbech
Tested-by: Jan-Erik Revsbech
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Raise submodule pointer 42/17742/2
Christian Kuhn [Sat, 26 Jan 2013 21:23:41 +0000 (22:23 +0100)]
[TASK] Raise submodule pointer

Change-Id: I045cc3a5c7b1046f2339ca411027335371caeab3
Reviewed-on: https://review.typo3.org/17742
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Invalid description of noPHPscriptInclude 40/17040/3
dprecup [Sun, 9 Dec 2012 11:20:12 +0000 (13:20 +0200)]
[BUGFIX] Invalid description of noPHPscriptInclude

default of ['FE']['noPHPscriptInclude'] as documented in
t3lib/stddb/DefaultConfiguration.php is not 'media/scripts/' but
one one of 'typo3/ext/', 'typo3/sysext/' or 'typo3conf/ext'

Resolves: #43730
Releases: 6.0

Change-Id: Idb5f63ffc3c555a6b096077302b8e56cd0b82983
Reviewed-on: https://review.typo3.org/17040
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Fix error listing in belog 49/17049/5
Tomita Militaru [Sun, 9 Dec 2012 14:29:04 +0000 (16:29 +0200)]
[BUGFIX] Fix error listing in belog

Added an array with the error codes into the query constraint when
action Errors (-1) was selected.

Fixes: #43797
Releases: 6.0, 6.1
Change-Id: Iccf5db777d1e93bcad24fc72b3eef935464d3582
Reviewed-on: https://review.typo3.org/17049
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Use property injection in LanguageController 34/17534/4
Sebastian Michaelsen [Tue, 15 Jan 2013 09:03:51 +0000 (10:03 +0100)]
[TASK] Use property injection in LanguageController

\TYPO3\CMS\Lang\Controller\LanguageController has 4
inject* Methods which a pretty vanilla and can be replaced
by property injection.

Resolves: #44526
Releases: 6.1, 6.0

Change-Id: I37181e2bbbd12c9c7fe7b34fe8adafe6f4becec3
Reviewed-on: https://review.typo3.org/17534
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Cleanups for sysext belog 70/17670/4
Sebastian Michaelsen [Wed, 23 Jan 2013 11:11:20 +0000 (12:11 +0100)]
[TASK] Cleanups for sysext belog

* Fix references to old classes
* Use property injection where possible

Resolves: #44744
Releases: 6.1, 6.0
Change-Id: I3076f48876fdc7566e85810eaf22aaa87d5c71e8
Reviewed-on: https://review.typo3.org/17670
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Fix problem with saving extension configuration in different tabs 80/16280/4
Jan-Erik Revsbech [Thu, 8 Nov 2012 00:38:58 +0000 (01:38 +0100)]
[BUGFIX] Fix problem with saving extension configuration in different tabs

The new ConfigurationUtility is working internally with configuration as
valued array, but the existing configuration is serialized in the old
nested format. When merging these two, exising configuration was not
merged correctly, resulting in error where configuration set in other tabs
was lost when saving.

Change-Id: I9007a0f80974A72610b3afc1e1dc76f7cad31fca
Fixes: #42775
Releases: 6.0
Change-Id: I9007a0f80974a72610b3afc1e1dc76f7cad31fca
Reviewed-on: https://review.typo3.org/16280
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Jan-Erik Revsbech
Tested-by: Jan-Erik Revsbech
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Sebastian Michaelsen
Tested-by: Sebastian Michaelsen
Reviewed-by: Francois Suter
Tested-by: Francois Suter
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Add cursor:pointer to inline header 04/17704/2
Georg Ringer [Fri, 25 Jan 2013 14:01:41 +0000 (15:01 +0100)]
[TASK] Add cursor:pointer to inline header

the header + icon of a IRRE header should have a cursor:pointer as this is
the area which opens the related record

Change-Id: I71b91f049bf912661d6b6a1e38cb56ba0a9fea1e
Resolves: #44808
Releases: 6.1,6.0
Reviewed-on: https://review.typo3.org/17704
Reviewed-by: Wouter Wolters
Reviewed-by: Ingo Renner
Tested-by: Ingo Renner
6 years ago[BUGFIX] Avoid PHP Warning if there are empty columns in Page Module 62/17562/2
Roland Waldner [Wed, 16 Jan 2013 07:18:46 +0000 (08:18 +0100)]
[BUGFIX] Avoid PHP Warning if there are empty columns in Page Module

Change-Id: I218065a3445211d88ce131ecf23da3a947eb2e70
Resolves: #44540
Branches: 6.1, 6.0
Reviewed-on: https://review.typo3.org/17562
Reviewed-by: Mattias Nilsson
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[BUGFIX] EM: un/install visual feedback 91/17091/2
Felix Kopp [Tue, 11 Dec 2012 06:27:07 +0000 (07:27 +0100)]
[BUGFIX] EM: un/install visual feedback

Adds a visual feedback to the un/install button action in EM:
Masks the extension manager during un/install operations
are in progress - after success a page redirect is fired.

Introduces a CSS class that class can be added to any link in EM:
.onClickMaskExtensionManager

Change-Id: If7aa0b15eeab1afb162b103662a10920f4da149f
Fixes: #43856
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/17091
Reviewed-by: Sebastian Michaelsen
Tested-by: Sebastian Michaelsen
Reviewed-by: Tobias Liebig
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[BUGFIX] Correct TCA inclusion for uploads rendering 50/17250/2
Alexander Stehlik [Thu, 20 Dec 2012 10:08:03 +0000 (11:08 +0100)]
[BUGFIX] Correct TCA inclusion for uploads rendering

In the method that renders the uploads in css_styled_content
the call to load the TCA was replaced with its Frontend
counterpart to enable access to the configuration of custom
fields in tt_content.

Fixes: #44145
Branches: 4.5, 4.6, 4.7, 6.0, 6.1

Change-Id: I26f67fcfbf11db25c80ebe93ddd1e81167d828a9
Reviewed-on: https://review.typo3.org/17250
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[TASK] Remove deprecated code from "about" and "aboutmodules" 43/16843/6
Wouter Wolters [Wed, 28 Nov 2012 21:06:00 +0000 (22:06 +0100)]
[TASK] Remove deprecated code from "about" and "aboutmodules"

Remove deprecated code from "about" and "aboutmodules"

Change-Id: I2296d4039ce8ffd16a39c3643365886b1f696a69
Resolves: #44761
Releases: 6.1
Reviewed-on: https://review.typo3.org/16843
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Missing subcategories labels in EM 60/17660/4
Francois Suter [Tue, 22 Jan 2013 22:16:28 +0000 (23:16 +0100)]
[BUGFIX] Missing subcategories labels in EM

The (new) Extension Manager correctly uses subcategories for sorting
and grouping extension configuration options (in the configuration
form), but does not display the related labels. This makes the form
rather weird and unhelpful. This information must be restored.

Resolves: #44701
Releases: 6.0, 6.1
Change-Id: I0dde1d294edc403404ad39985f91e3772ef0b710
Reviewed-on: https://review.typo3.org/17660
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Add save only button to Scheduler task 90/17590/6
Lorenz Ulrich [Fri, 18 Jan 2013 14:17:06 +0000 (15:17 +0100)]
[TASK] Add save only button to Scheduler task

Scheduler tasks currently miss a save only button. Since Firefox and
Opera don't send the value of an <input type="submit">, the save and
save & close buttons are wrapped in a <button type="submit"> to ensure
saving and saving & closing is cross-browser compatible.

Change-Id: Ia5e32efc2e5e2af2943374c9a570a3a94b0511b4
Fixes: #44152
Releases: 6.1, 6.0, 4.7
Reviewed-on: https://review.typo3.org/17590
Reviewed-by: Lorenz Ulrich
Tested-by: Lorenz Ulrich
Reviewed-by: Ingo Renner
Tested-by: Ingo Renner
Reviewed-by: Christopher Seidel
Tested-by: Christopher Seidel
Reviewed-by: Francois Suter
Tested-by: Francois Suter
6 years ago[BUGFIX] IRRE forms not using full width 60/17560/2
Ingo Renner [Wed, 16 Jan 2013 00:09:51 +0000 (16:09 -0800)]
[BUGFIX] IRRE forms not using full width

In 4.7 IRRE forms used to be full width of the parent form.
A change introduced in 6.0 now causes the forms to collapse
to less than the full width.

Change-Id: Ie326a339c762c539440e6f70cc51b467e39a666c
Fixes: #44549
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/17560
Reviewed-by: Gaëtan MARMASSE
Tested-by: Gaëtan MARMASSE
Reviewed-by: Ingo Renner
Tested-by: Ingo Renner
6 years ago[BUGFIX] Instantiate new classes in typo3/* files 50/17650/2
Francois Suter [Tue, 22 Jan 2013 13:11:33 +0000 (14:11 +0100)]
[BUGFIX] Instantiate new classes in typo3/* files

Most typo3/*.php files instantiate the new controllers, but some have
been forgotten. This doesn't break the backend thanks to the legacy
classes mapping, but breaks the XCLASSing mechanism.

Resolves: #44718
Releases: 6.0, 6.1
Change-Id: I0d5b44652f7e3c2c793f77fee7a90da283c0769b
Reviewed-on: https://review.typo3.org/17650
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Oliver Klee
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] ConfigurationUtility loses extension key 00/17600/2
Francois Suter [Sat, 19 Jan 2013 20:56:44 +0000 (21:56 +0100)]
[BUGFIX] ConfigurationUtility loses extension key

The EM's ConfigurationUtility::getCurrentConfiguration() method looks for
the extension key at the wrong place. Rather than using the key
it receives as a parameter, it tries to get it from
$GLOBALS['TYPO3_LOADED_EXT'] where it does not exist.

Releases: 6.0, 6.1
Resolves: #44665
Change-Id: Ifc18dcc68eee7eb2b0d21ebdbec48e868c6b7d4d
Reviewed-on: https://review.typo3.org/17600
Reviewed-by: Francois Suter
Tested-by: Francois Suter
6 years ago[BUGFIX] array_merge_recursive_overrule: __UNSET for array values 96/17096/3
Sebastian Michaelsen [Tue, 11 Dec 2012 10:43:57 +0000 (11:43 +0100)]
[BUGFIX] array_merge_recursive_overrule: __UNSET for array values

Using __UNSET on keys that hold array values does not unset them.
However the documentation does not mention this restriction.
Therefore this is considered a bug and fixed by this patch.

Resolves: #43874
Releases: 6.1, 6.0, 4.7

Change-Id: Ie9f96c6f608da7e91fec2bc639dba9f3bcc8f426
Reviewed-on: https://review.typo3.org/17096
Reviewed-by: Markus Klein
Reviewed-by: Wouter Wolters
Reviewed-by: Tobias Liebig
Tested-by: Tobias Liebig
6 years ago[TASK] Remove references to oldstyle Login News (TYPO3_CONF_VARS) 19/17519/3
Sebastian Michaelsen [Mon, 14 Jan 2013 11:16:58 +0000 (12:16 +0100)]
[TASK] Remove references to oldstyle Login News (TYPO3_CONF_VARS)

Adding Login News via
$GLOBALS['TYPO3_CONF_VARS']['BE']['loginNews'] is not longer
supported but there are still references to it in the code that should be
removed.

Resolves: #44506
Releases: 6.0, 6.1

Change-Id: I2c91c3209dc4a1dc55e570e569825acb3167150e
Reviewed-on: https://review.typo3.org/17519
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[BUGFIX] Fix incomplete mocking in ResourceStorage test 09/17509/3
Helmut Hummel [Sun, 13 Jan 2013 17:24:51 +0000 (18:24 +0100)]
[BUGFIX] Fix incomplete mocking in ResourceStorage test

Due to a not mocked FileRepository object, a warning
is issued which leads to a failed test.

Add a FileRepository mock and clean up all usage
of the FileRepository in ResourceStorage.

Fixes: #44439
Releases: 6.0, 6.1

Change-Id: I214fce4635d452764bd9edc8e11f863bd76961a6
Reviewed-on: https://review.typo3.org/17508
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-on: https://review.typo3.org/17509

6 years ago[BUGFIX] Persist files that are updated in ResourceStorage 78/17478/2
Helmut Hummel [Sat, 12 Jan 2013 14:46:39 +0000 (15:46 +0100)]
[BUGFIX] Persist files that are updated in ResourceStorage

When renaming or moving folders all files in that
folder needs to be updated. ResourceStorage handles
that, but the changes to the properties are not
persisted, which leads to inconsistent file records.

Persist updated files using the FileRepository and
clean up the code a bit.

Fixes: #44439
Releases: 6.0, 6.1

Change-Id: I9a21040fdd6741e030d812df165cd33959dd8db1
Reviewed-on: https://review.typo3.org/17478
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Use array in check for new CE button 02/17502/2
Jigal van Hemert [Sun, 13 Jan 2013 09:42:41 +0000 (10:42 +0100)]
[BUGFIX] Use array in check for new CE button

After #44470 the content elements in a column are stored in an array.
Checks for the new content element button, etcetera must check that
array instead of counting the elements in the query result that was used
before.

Change-Id: I6f9def862a4398ea0e8972b395d5a58a4dc4a241
Fixes: #44481
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/17502
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years agoRevert "[BUGFIX] LocalDriver needs to respect "is_writeable"" 98/17498/2
Helmut Hummel [Sat, 12 Jan 2013 18:26:56 +0000 (19:26 +0100)]
Revert "[BUGFIX] LocalDriver needs to respect "is_writeable""

This change broke the tests

This reverts commit e9543738e14e235087d303abeb1492cf0c8e5f01

Change-Id: I6638ca1c82482bd1b9477fb343b7d566e8fe559c
Reviewed-on: https://review.typo3.org/17498
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Content elements in wrong column in page module 68/17468/3
Oliver Hader [Fri, 11 Jan 2013 17:29:34 +0000 (18:29 +0100)]
[BUGFIX] Content elements in wrong column in page module

If working on workspaces, it might happen that content elements
just appear in the wrong column. The reason is, that live(!)
content elements are selected using a specific column value and
then are overlaid with workspace data.

If the column value has been modified in a workspace, this is
currently just ignored during rendering.

Change-Id: I9eccc2ff5b7220544cd28ee6de8f55453c04a5d1
Fixes: #44470
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Reviewed-on: https://review.typo3.org/17468
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] LocalDriver needs to respect "is_writeable" 13/17413/9
Georg Ringer [Thu, 10 Jan 2013 09:37:21 +0000 (10:37 +0100)]
[BUGFIX] LocalDriver needs to respect "is_writeable"

The LocalDriver needs also to respect the flag "is_writeable".
This means: if the flag is not set, no folder/file can be edited/moved...

Change-Id: I6fc1edd452555381388bd5bfaa46dd8241dc853b
Fixes: #44370
Releases: 6.0,6.1
Reviewed-on: https://review.typo3.org/17413
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] FAL: update wizard fails if file does not exist 33/16533/6
Andreas Wolf [Sat, 17 Nov 2012 16:02:40 +0000 (17:02 +0100)]
[BUGFIX] FAL: update wizard fails if file does not exist

The FAL update wizard throws an exception during migration if a file is
missing. As we cannot do that much about a missing source file, we
should at least not fatal here, but give the user a warning message in
the logs instead.

Change-Id: I3ab0ecd8d8f60e782b7459d7f92f89d2c0a9fd40
Resolves: #42882
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/16533
Reviewed-by: Franz Holzinger
Tested-by: Franz Holzinger
Reviewed-by: Francois Suter
Tested-by: Francois Suter
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Problem with special character in files and folders 65/17465/3
Christian Weiske [Fri, 11 Jan 2013 15:23:21 +0000 (16:23 +0100)]
[BUGFIX] Problem with special character in files and folders

This patch sanitizes the file name when creating a new file
in the file list.
Folder names already get sanitized.

Change-Id: If97b4a2f41de1334a2b07add6afc1f9d99af3117
Fixes: #42873, #42933
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/17465
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] File-Upload does not sanitize umlauts in filenames 64/17464/3
Christian Weiske [Fri, 11 Jan 2013 14:46:15 +0000 (15:46 +0100)]
[BUGFIX] File-Upload does not sanitize umlauts in filenames

This patch sanitizes file names for uploaded files, fixing thumbnail
and deletion issues for files with umlauts.

Change-Id: I9c02e357b7b37d1c09656ed14f50a8adb7593d52
Fixes: #42925
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/17464
Reviewed-by: Tilo Baller
Tested-by: Tilo Baller
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Add access check in FAL renameFolder() 45/17445/3
Georg Ringer [Thu, 10 Jan 2013 09:55:43 +0000 (10:55 +0100)]
[BUGFIX] Add access check in FAL renameFolder()

Currently no access check is done when trying to rename a folder.
This is marked also as todo in the code.

Change-Id: Ie1909804c0ccc7cfa5c495ba98322cad7d712c96
Fixes: #44425
Releases: 6.1,6.0
Reviewed-on: https://review.typo3.org/17445
Reviewed-by: Andreas Wolf
Reviewed-by: Mattias Nilsson
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Adjust hooks after moving/namespacing 01/17001/3
Stefan Neufeind [Fri, 7 Dec 2012 00:09:07 +0000 (01:09 +0100)]
[BUGFIX] Adjust hooks after moving/namespacing

Change-Id: I4e8de22ee8b04bcee8dabbc3bce1203f68146f51
Fixes: #43676
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/17001
Reviewed-by: Nicole Cordes
Reviewed-by: Tilo Baller
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Reviewed-by: Mattias Nilsson
Tested-by: Tilo Baller
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Fix array_merge when creating FAL access rights 46/17446/2
Georg Ringer [Thu, 10 Jan 2013 12:48:06 +0000 (13:48 +0100)]
[BUGFIX] Fix array_merge when creating FAL access rights

The arguments of array_merge need to be changed, otherwise
the default settings always win.

Change-Id: Ic430e5fdc2f8e5ec868ec2f5a7c0dd21c28a408c
Fixes: #44429
Releases: 6.1,6.0
Reviewed-on: https://review.typo3.org/17446
Reviewed-by: Mattias Nilsson
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Fix rootline translation 92/16992/7
Helmut Hummel [Thu, 6 Dec 2012 14:20:04 +0000 (15:20 +0100)]
[BUGFIX] Fix rootline translation

The fix in #42029 introduced a regression
as TSFE->tmpl->rootLine holds a reversed
rootline array, while in TSFE->rootLine
the order is "normal"

Additionally the call to getPageOverlay was wrong
because the result of the overlay was never used.

Lastly use the correct uid for looking up the
relation fields.

This change also cleans up the unit tests for
RootlineUtility and adds regression tests for
these issues.

Fixes: #43668
Fixes: #44312
Releases: 6.0, 6.1

Change-Id: I4a577ad749bde397a572ca48ae810e3dfe8a5740
Reviewed-on: https://review.typo3.org/16992
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] Apc Cache backend has side effects 45/12145/9
Daniel Pötzinger [Sun, 17 Jun 2012 12:09:41 +0000 (14:09 +0200)]
[BUGFIX] Apc Cache backend has side effects

If two caches use the APC cache backend,
one cache can write and get entries from the
 other by just using the same key!
So the backend should also use cache id as prefix

Change-Id: I46f7a04386427efb2e1753bef6dfa588508d076c
Fixes: #38135
Releases: 4.5,4.6,4.7,6.0
Reviewed-on: https://review.typo3.org/12145
Reviewed-by: Stefan Neufeind
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Fix shown references of files 86/15986/5
Helmut Hummel [Sun, 28 Oct 2012 12:19:08 +0000 (13:19 +0100)]
[BUGFIX] Fix shown references of files

Currently the references of files are only fetched from
the sys_file_reference table. This does not take all direct
references and soft references into account.

Besides that, the count shown in the list is taken from the
count of tooltip hints instead of real references.

Fix both issues with this change.

Fixes: #42453
Releases: 6.1, 6.0

Change-Id: I82995896b5d62ee8df7baa175a752a6a25ce9c24
Reviewed-on: https://review.typo3.org/15986
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Include file tables in access list 83/17283/3
Helmut Hummel [Fri, 28 Dec 2012 14:36:02 +0000 (15:36 +0100)]
[BUGFIX] Include file tables in access list

The BackendUtility::getExcludeFields method does not respect the
"ignoreRootLevelRestriction" configuration for these tables.
The result is that editors never see exclude fields as it is not
possible to set them in the access list in a backend group record.

Solution is to ignore the root level configuration if
"ignoreRootLevelRestriction" is also set in TCA.

This change also adds unit tests to check the fixed behavior
as well as the default behavior of this method.

Fixes: #44242
Releases: 6.0, 6.1

Change-Id: I2bb0d989028134388b24fa7ae4f139f2ebf8ee93
Reviewed-on: https://review.typo3.org/17283
Reviewed-by: Mattias Nilsson
Reviewed-by: Stefan Neufeind
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Change localconf.php to LocalConfiguration.php 81/17281/2
Adrian Giurgiu [Sun, 9 Dec 2012 12:52:34 +0000 (14:52 +0200)]
[BUGFIX] Change localconf.php to LocalConfiguration.php

Change localconf.php to LocalConfiguration.php in the text
How to configure TYPO3 from InstallTool

Resolves: #43425
Releases: 6.1, 6.0

Change-Id: Iebd49647ec7657162fd92cc194ba5463109f61dc
Reviewed-on: https://review.typo3.org/17281
Reviewed-by: Mattias Nilsson
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
6 years ago[BUGFIX] Invalid call to t3lib_TCEmain::processRemapStack() 45/17345/2
Oliver Hader [Fri, 4 Jan 2013 07:46:09 +0000 (08:46 +0100)]
[BUGFIX] Invalid call to t3lib_TCEmain::processRemapStack()

The remap stack in t3lib_TCEmain/DataHandler is dedicated to
process pending records and references after all database
operations. This occurs if child-parent-structures are handled
and not all data has been persisted yet.

However, there's one call that at least influences this
behaviour on workspaces using IRRE records, which should happen
at the end of processing data-map or command-map - here's the
call-stack:
* copyRecord_raw($table, $uid, $pid, $overrideArray, ...)
* insertNewCopyVersion($table, $fieldArray, $realPid)
* processRemapStack()

This behaviour has been introduced in 2007 with commit
ecff9833c02e6bc61d98a6ff4b34b741c5d732ad for a first draft to
get IRRE working in workspaces, which was then partly reverted
during TYPO3 4.2 development - but some changes obviously have
been overseen.

Change-Id: Ibfb77b1202b0a8136f71bcf5191848fd8e60d390
Fixes: #44301
Releases: 4.5, 4.6, 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/17345
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[TASK] Raise submodule pointer 61/17361/2
TYPO3 Release Team [Fri, 4 Jan 2013 09:04:21 +0000 (10:04 +0100)]
[TASK] Raise submodule pointer

Change-Id: Ic9f4fbbdbb2c3c47655969500efa707a448cbde7
Reviewed-on: https://review.typo3.org/17361
Reviewed-by: TYPO3 Release Team
Tested-by: TYPO3 Release Team
6 years ago[BUGFIX] Suggest wizard is behind form inputs 67/15767/3
Xavier Perseguers [Wed, 17 Oct 2012 17:21:37 +0000 (19:21 +0200)]
[BUGFIX] Suggest wizard is behind form inputs

Change-Id: I5a847fe0024161f40f541a7d1ebe120ec9a8e7a5
Fixes: #42092
Releases: 4.5, 4.6, 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/15767
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
6 years ago[BUGFIX] phpdoc: $urlParameters can be a string 02/17302/2
Stefan Neufeind [Tue, 1 Jan 2013 11:01:16 +0000 (12:01 +0100)]
[BUGFIX] phpdoc: $urlParameters can be a string

In functions like getTypoLink() $urlParameters can also
be a string. A string is expected to be URL-encoded already,
as an array the keys are expected to be URL-encoded already
but the values not. Clearly point that out in the phpdocs.

Change-Id: Ifc767550464449fc9610f16f2e0d511b84391f60
Fixes: #44263
Releases: 4.5, 4.6, 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/17302
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] Syslog error icons problem 30/17130/4
Tomita Militaru [Wed, 12 Dec 2012 13:31:36 +0000 (15:31 +0200)]
[BUGFIX] Syslog error icons problem

Add an array with the possible error messages and shows
the corresponding icon.

Fixes: #43796
Releases: 6.1, 6.0
Change-Id: I6cbdcdf92147c438a443d29664965bee17c29d51
Reviewed-on: https://review.typo3.org/17130
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] BE login shows unaesthetic scrollbars 82/17282/2
Torben Hansen [Mon, 10 Dec 2012 13:34:15 +0000 (14:34 +0100)]
[BUGFIX] BE login shows unaesthetic scrollbars

CSS adjustments for login screen in t3skin

Fixes: #43330
Releases: 6.1, 6.0

Change-Id: Ifeb141ff9963f54e35c26ca41bc73bc12d79b7c2
Reviewed-on: https://review.typo3.org/17282
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Torben Hansen
Tested-by: Torben Hansen
Reviewed-by: Felix Kopp
Tested-by: Felix Kopp
Reviewed-by: Stefan Neufeind
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[BUGFIX] Fix erroneous replacement of language label 79/17279/2
Helmut Hummel [Thu, 27 Dec 2012 19:09:11 +0000 (20:09 +0100)]
[BUGFIX] Fix erroneous replacement of language label

The refactoring script replaced "tx_rtehtmlarea_acronym" with
"TYPO3\\CMS\\Rtehtmlarea\\Extension\\Acronym" which is wrong
where this string is used as translation label.

Fixes: #44237
Releases: 6.0, 6.1

Change-Id: I1d696d40bb5504b81a4dc8cbdb6f7397aed2f1ee
Reviewed-on: https://review.typo3.org/17279
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Fix typos in stdWrap_crop description 39/17139/2
Markus Klein [Wed, 12 Dec 2012 22:45:09 +0000 (23:45 +0100)]
[BUGFIX] Fix typos in stdWrap_crop description

Fixes: #43919
Releases: 6.1, 6.0, 4.7, 4.6, 4.5

Change-Id: Ib4b447f825122ea069802a7c9139602362430bdc
Reviewed-on: https://review.typo3.org/17139
Reviewed-by: Wouter Wolters
Reviewed-by: Oliver Klee
Reviewed-by: Sebastian Michaelsen
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[BUGFIX] Missing Task.php 50/17050/3
Philipp Gampe [Sun, 9 Dec 2012 15:19:23 +0000 (16:19 +0100)]
[BUGFIX] Missing Task.php

During Ibef1d71f1d3a6aa3683331464b33118b88b1ec01 the file
Classes/Task.php has been renamed to Classes/Task/AbstractTask.php, but
the change has not been reflected in the old v4 filename.

This changes the filename in the legacy file too.

Fixes: #43715
Related: #42803
Releases: 6.0, 6.1

Change-Id: Iefcf0d03b07aa30990015cacec39d50fa987df50
Reviewed-on: https://review.typo3.org/17050
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Fix phpDoc of BackendUtility::displayWarningMessages 90/17190/3
Sebastian Michaelsen [Mon, 17 Dec 2012 13:15:21 +0000 (14:15 +0100)]
[TASK] Fix phpDoc of BackendUtility::displayWarningMessages

phpDoc says "@return void" but the method returns the messages as
HTML string

Resolves: #44051
Releases: 6.1, 6.0

Change-Id: I7b60510fb0374c9fa419dc598cf30bdf72fb2555
Reviewed-on: https://review.typo3.org/17190
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Alexander Schnitzler
Tested-by: Alexander Schnitzler
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Oliver Klee
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Update checksums after file processing 07/17207/2
Helmut Hummel [Mon, 17 Dec 2012 21:17:01 +0000 (22:17 +0100)]
[BUGFIX] Update checksums after file processing

When recreating an already processed file the LocalImageProcessor
updates the width, height and filesize of the new image but not
the checksum.

Because of that the file will be deleted in FileProcessingService
when $processedFile->isProcessed() is called. Since the checksum
is wrong this call assumes that the file needs to be recreated and
deletes the "old" file on the go.

This will lead to an exception in this request, when getPublicUrl is
called on this object.

Fixes: #44073
Releases: 6.1, 6.0

Change-Id: Ib2df87b54866262e0092fbb24b4222f0b298e9d6
Reviewed-on: https://review.typo3.org/17207
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[FEATURE] Enable INCLUDE_TYPOSCRIPT for be_layouts 52/17052/4
Anja Leichsenring [Mon, 10 Dec 2012 08:28:16 +0000 (09:28 +0100)]
[FEATURE] Enable INCLUDE_TYPOSCRIPT for be_layouts

The backend layout config field contains a TypoScript like syntax
to define the columns and rows. After all TypoScript containing fields
(setup, constants, userTS, pageTs) understand the INCLUDE_TYPOSCRIPT
notation to read the configuration from an external file, this should
be possible for the backend layout config field as well.

The patch only enables the reading out of files, the whole write to
file functionality is not provided.

Resolves: #28880
Releases: 6.1

Change-Id: Ic43d103cf64b904c62e0866a252bb529f9091bb2
Reviewed-on: https://review.typo3.org/17052
Reviewed-by: Sebastian Michaelsen
Tested-by: Sebastian Michaelsen
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Always allow access to processing folder 61/17161/2
Helmut Hummel [Fri, 14 Dec 2012 12:48:58 +0000 (13:48 +0100)]
[BUGFIX] Always allow access to processing folder

Processed files are temporary files which can be recreated
without problems. So there is no need to check the permissions
for these.

Currently backend users get an exception when a processed file
needs to be recreated,  because the processed folder is not within
the filemounts.

Releases: 6.0, 6.1
Fixes: #44013

Change-Id: I79b49e7a0be1563e3786a0947a3ba838ff5560ec
Reviewed-on: https://review.typo3.org/17161
Reviewed-by: Andreas Wolf
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
6 years ago[BUGFIX] Element Browser rendering hook is wrong 23/17123/2
Oliver Hader [Wed, 12 Dec 2012 10:48:42 +0000 (11:48 +0100)]
[BUGFIX] Element Browser rendering hook is wrong

The hook to modify rendering of the Element Browser is wrong.
The look-up ${$TYPO3_CONF_VARS} needs to be $TYPO3_CONV_VARS.

Change-Id: Ie87de5e479241320e648e774aa8a114685f4bf4a
Fixes: #43909
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/17123
Reviewed-by: Wouter Wolters
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
6 years ago[BUGFIX] Incorrect RTE transform of external URL with @ character 71/8971/5
Stanislas Rolland [Mon, 10 Dec 2012 23:19:54 +0000 (18:19 -0500)]
[BUGFIX] Incorrect RTE transform of external URL with @ character

Problem: External url with @ character is transformed in mail href
on way to the RTE
Solution: Check for presence of scheme as is done by
tslib_cObj->typolink.
Add unit tests cases.

Change-Id: I513fd823684f69dd2228b33023dfc17e8fdd13d0
Resolves: #32605
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/8971
Reviewed-by: Markus Klein
Reviewed-by: Tomita Militaru
Reviewed-by: Stefan Neufeind
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
6 years ago[BUGFIX] Enable the RTE with WebKit version 534 on iOS and Android 63/16963/2
Stanislas Rolland [Tue, 4 Dec 2012 23:26:09 +0000 (18:26 -0500)]
[BUGFIX] Enable the RTE with WebKit version 534 on iOS and Android

Since WebKit version 534, contenteditable is supported on iOS and
Android, e.g., iOS 5 and Android 3.

Change-Id: Icd6479e03657ffce67b6bf050ce0d28441593406
Releases: 4.5, 4.7, 6.0, 6.1
Resolves: #43603
Reviewed-on: https://review.typo3.org/16963
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
6 years ago[BUGFIX] Fix broken logo file in Install Tool 38/17038/3
Tomita Militaru [Sun, 9 Dec 2012 10:02:25 +0000 (12:02 +0200)]
[BUGFIX] Fix broken logo file in Install Tool

Replace the broken TYPO3 logo file with the correct logo.

Fixes: #43426
Releases: 6.1, 6.0, 4.7, 4.6

Change-Id: I7e31ff4d9178dd077c1bf9a54a21015ab56f9dac
Reviewed-on: https://review.typo3.org/17038
Reviewed-by: Adrian Giurgiu
Tested-by: Adrian Giurgiu
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
6 years ago[FEATURE] Add a TS option to disable body tag generation 85/14685/5
Michael Kunze [Tue, 18 Sep 2012 08:25:52 +0000 (10:25 +0200)]
[FEATURE] Add a TS option to disable body tag generation

When using TemplaVoila for page generation, you sometimes need to be
able to set classes directly on the body tag.

Unfortunately, TYPO3 itself generates the <body> tag, too - so we have 2
body tags in the HTML document. To solve this problem, TYPO3 needs a way
to not generate a <body> tag.

Therefore introduce the config.disableBodyTag TypoScript option. When it
is set, TYPO3's page generator does not generate a <body> tag at all.

Change-Id: Ifcbe67134a910cdf26075af45fbd2b2c0efe203b
Resolves: #40986
Releases: 6.1
Reviewed-on: https://review.typo3.org/14685
Reviewed-by: Christian Weiske
Tested-by: Christian Weiske
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
6 years ago[BUGFIX] IE9 crashes after saving with RTE 33/17033/2
Stanislas Rolland [Sat, 8 Dec 2012 15:49:42 +0000 (10:49 -0500)]
[BUGFIX] IE9 crashes after saving with RTE

Problem: A cleaning operation is performed too early for IE9.

Change-Id: I888c5b8c29ef3d1bf2787fc598aafeef92c7d5f4
Resolves: #43766
Releases: 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/17033
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
6 years ago[BUGFIX] Remove HTML in RuntimeException from sysext 'install'
Philipp Gampe [Sun, 23 Sep 2012 10:34:53 +0000 (12:34 +0200)]
[BUGFIX] Remove HTML in RuntimeException from sysext 'install'

It is not possible to use HTML code inside runtime exceptions. This code
will be htmlspecialchared and printed to the user.

Replace <em></em> with double quotes and remove the <br /> tags
completely, because exception messages are single line only.

Fixes: #38472
Releases: 6.1, 6.0, 4.7, 4.6, 4.5

Change-Id: I36fab81586daa4288f3e41c8084c954a47363621
Reviewed-on: http://review.typo3.org/12477
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
6 years ago[TASK] Provide a reason if set_no_cache() is called
Philipp Gampe [Sat, 1 Dec 2012 19:03:48 +0000 (20:03 +0100)]
[TASK] Provide a reason if set_no_cache() is called

Since #20849, we can specify a reason why we call
GLOBALS['TSFE']->set_no_cache().

Provide a reason for all calls done in core.

Resolves: #43506
Related: #20849
Releases: 6.1

Change-Id: Id786a041ef5d9f1db49d644459a593aaf54b5018
Reviewed-on: http://review.typo3.org/16925
Reviewed-by: Stefan Neufeind
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
6 years ago[TASK] CleanUp References to old ClassNames
Steffen Ritter [Tue, 4 Dec 2012 13:50:47 +0000 (14:50 +0100)]
[TASK] CleanUp References to old ClassNames

There are plenty references calls to old classnames
which need to be clean up.

Change-Id: I45065edccf30e548ee7ccbdada04d2fa552ee3de
Releases: 6.1, 6.0
Resolves: #43584
Reviewed-on: http://review.typo3.org/16953
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
6 years ago[BUGFIX] Catch all errors in EM ViewHelper
Georg Ringer [Thu, 6 Dec 2012 15:12:13 +0000 (16:12 +0100)]
[BUGFIX] Catch all errors in EM ViewHelper

Catching all errors which can happen during image generation
to avoid a non caught exception for users.

Problem is especially the Exception "File has been deleted"
which happens at some sites when having empty
typo3temp/_processed_/ directory and empty sys_file DB table.

Change-Id: I5f4e9ce520c828c222f91a2a816263cd433c5c60
Fixes: #43484
Releases: 6.1, 6.0
Reviewed-on: http://review.typo3.org/16993
Reviewed-by: Mattias Nilsson
Tested-by: Wolfgang Freund
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[BUGFIX] INTincScript_loadJSCode() causes PHP warnings
Markus Klein [Mon, 19 Dec 2011 13:34:32 +0000 (14:34 +0100)]
[BUGFIX] INTincScript_loadJSCode() causes PHP warnings

This function uses implode() on several variables without properly
checking if they are actually arrays.
This might cause PHP warnings.

Change-Id: I83d2de074a49f1d724f95ee0def6b3c8a170317e
Fixes: #32278
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/7042
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
6 years ago[BUGFIX] FE session records are never removed
Steffen Müller [Sat, 17 Mar 2012 14:43:23 +0000 (15:43 +0100)]
[BUGFIX] FE session records are never removed

The FE session records are never removed,
even if no session data are left.

Change-Id: Ibc281b2831567476dc0ba607de0753cd6ad39bc9
Fixes: #34964
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/9719
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
6 years ago[BUGFIX] Compatibility fix for get_html_translation_table()
Michael Stucki [Tue, 27 Nov 2012 00:12:31 +0000 (01:12 +0100)]
[BUGFIX] Compatibility fix for get_html_translation_table()

t3lib_cs::entities_to_utf8() triggers a PHP warning on versions
lower than 5.3.4 because too many parameters were given.
See http://php.net/manual/en/function.get-html-translation-table.php

Change-Id: Ic302f2b8c2902ec8685dfb2d974273071bbbdcb7
Fixes: #39287
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/13504
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
6 years ago[FEATURE] stdWrap for string-padding (like PHP-function str_pad)
Stefan Neufeind [Mon, 20 Aug 2012 14:40:45 +0000 (16:40 +0200)]
[FEATURE] stdWrap for string-padding (like PHP-function str_pad)

Name is .strPad to follow usual TypoScript-syntax.
Parameters:
* left (number)
* padWith (string; default: space)
* type (left, right, both; default: right)

Change-Id: Iedb29a774b6a696b9f3de09049ba9da5a75cd9b8
Resolves: #40001
Releases: 6.1
Reviewed-on: http://review.typo3.org/13969
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
6 years ago[FEATURE] Expand db function searchQuery to handle AND and OR constraints
Nicole Cordes [Thu, 22 Nov 2012 16:34:59 +0000 (17:34 +0100)]
[FEATURE] Expand db function searchQuery to handle AND and OR constraints

The database function searchQuery can build queries for multiple search
words. But those words are expected to be all in the field. Sometimes it
is useful to use an OR constraint. So this function should be extended to
have another parameter to do so.

Change-Id: Ie2d83d5875ce5de6680a4a45b43995be4b48debc
Resolves: #43234
Releases: 6.1
Reviewed-on: http://review.typo3.org/16686
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
6 years ago[BUGFIX] Errorpage background color (t3skin)
Felix Kopp [Sun, 2 Dec 2012 10:41:42 +0000 (11:41 +0100)]
[BUGFIX] Errorpage background color (t3skin)

The login screen gradient and background color was changed.
This background image is shared with the error pages.
Now the error page background color must also be adapted.

Also see
EXT: t3skin/stylesheets/visual/login_screen.css
#typo3-index-php

Change-Id: I9d8acbf97be6affd66e03e29f520e75098756c53
Fixes: #43518
Releases: 6.0, 6.1
Reviewed-on: http://review.typo3.org/16936
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Misspelled functionname in GeneralUtility
Stefan Neufeind [Sun, 2 Dec 2012 00:35:00 +0000 (01:35 +0100)]
[BUGFIX] Misspelled functionname in GeneralUtility

static protected function geImplementationForClass()

Change-Id: Ia6334e533794bbb26c85bce8fb810f03f0d722b4
Fixes: #43510
Releases: 6.0, 6.1
Reviewed-on: http://review.typo3.org/16929
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Wrong category assignment in sys_note
Wouter Wolters [Fri, 30 Nov 2012 20:49:10 +0000 (21:49 +0100)]
[BUGFIX] Wrong category assignment in sys_note

Wrong category assignment in sys_note. For example select the
"to-do" category and save the note. After saving the category is
called "Template"

Change-Id: I41e2c9e84e3cc8cf8bdcfddb416a7b87b8ce01a7
Fixes: #43433
Releases: 6.1, 6.0
Reviewed-on: http://review.typo3.org/16908
Reviewed-by: Stefan Neufeind
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
6 years ago[TASK] Rename bg-image (login/error) to avoid browser caching issues
Ernesto Baschny [Thu, 29 Nov 2012 19:30:30 +0000 (20:30 +0100)]
[TASK] Rename bg-image (login/error) to avoid browser caching issues

Once you upgrade to TYPO3 6.0 your browser might still use the old cached
gray gradient background "images/login/background.png" which doesn't fit
the new login screen layout.

By renaming it, we make sure that browser will fetch the new one.

As the file is also being used by the "error page", we move it to a more
generic location (images/backgrounds instead of images/login).

Releases: 6.1, 6.0
Resolves: #43323
Change-Id: I8e5e96112878006a111d1bff37500c699dd279a3
Reviewed-on: http://review.typo3.org/16864
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Prevent type hinting for user functions in EM configuration
Nicole Cordes [Tue, 27 Nov 2012 02:40:13 +0000 (03:40 +0100)]
[BUGFIX] Prevent type hinting for user functions in EM configuration

As user functions have their own output the type adding should be
prevented.

Change-Id: Iee9bec99f746dddeb56c3de8be089011fcfa6e30
Fixes: #43321
Releases: 6.0
Reviewed-on: http://review.typo3.org/16774
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Fix wrong column title in web>list for field colpos
Martin Kästner [Wed, 28 Nov 2012 14:14:26 +0000 (15:14 +0100)]
[BUGFIX] Fix wrong column title in web>list for field colpos

When activating the field colPos for tt_content elements and using
a backend_layout the wrong column titles are shown, without respect
to a backend_layout set.

Resolves: #25113
Releases: 6.1, 6.0, 4.7, 4.6, 4.5

Change-Id: Ie85bf8ba195343faa2c846aa6eb847646510a13e
Reviewed-on: http://review.typo3.org/16838
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] SqlParser: trim all kinds of whitespaces
Stefan Neufeind [Thu, 29 Nov 2012 22:55:57 +0000 (23:55 +0100)]
[BUGFIX] SqlParser: trim all kinds of whitespaces

SqlParser only trimmed semicolon and newlines
from end of string. Make it strip all characters
usually stripped by trim().

Add a unit test to avoid regressions.

Change-Id: I2ddc1fca2ac0db1b6ca0989c93c37ab39e0675d8
Fixes: #43470
Releases: 4.5, 4.6, 4.7, 6.0, 6.1
Reviewed-on: http://review.typo3.org/16875
Tested-by: Stefan Neufeind
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] Remove typo3.pageModule.js
Falk Kühnel [Thu, 29 Nov 2012 20:18:17 +0000 (21:18 +0100)]
[TASK] Remove typo3.pageModule.js

Remove typo3.pageModule.js as it is not used in the core

Resolves: #43459
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Change-Id: I5090c29e99a9ca8ce93e3fa47b46f48ed775a875
Reviewed-on: http://review.typo3.org/16867
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Fix Task examples in scheduler
Wouter Wolters [Fri, 30 Nov 2012 19:45:49 +0000 (20:45 +0100)]
[BUGFIX] Fix Task examples in scheduler

Fix the Task examples in scheduler. The values cannot be saved
due the namespace change

Change-Id: I091c7982fb08add4c4640d2da32c80f38fbad384
Fixes: #43468
Releases: 6.1, 6.0
Reviewed-on: http://review.typo3.org/16899
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Installer: Reference images wrong
Stefan Neufeind [Thu, 29 Nov 2012 10:10:46 +0000 (11:10 +0100)]
[BUGFIX] Installer: Reference images wrong

The reference images for reading PDF and AI images
in the Install Tool > Image Processing are still
using the old TYPO3 logo.

Replace both images with a freshly generated copy.

Note: The images have been generated with
'gdlib_png' => 1,
'im_version_5' => 'gm',

Change-Id: I90069d89abd8afa9d6dd9d572e4888d9b1b33372
Fixes: #42292
Releases: 4.5, 4.6, 4.7, 6.0, 6.1
Reviewed-on: http://review.typo3.org/16850
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[TASK] ext:form Unit test all filters
Andreas Lappe [Thu, 29 Nov 2012 23:00:02 +0000 (00:00 +0100)]
[TASK] ext:form Unit test all filters

Add several tests for each filter of the form extension.

Resolves: #43473
Releases: 6.1, 6.0

Change-Id: I1c5ebf074cb68cbab12b3ea25cd895853284f686
Reviewed-on: http://review.typo3.org/16877
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] Error in configuration of scheduler task
Philipp Gampe [Thu, 29 Nov 2012 23:03:43 +0000 (00:03 +0100)]
[BUGFIX] Error in configuration of scheduler task

the saltedpassword conversion task has been adopted to the namespace
changes. However the HTTP GET variable must not be namespaced.

Change the GET variable to tx_scheduler again.

Fixes: #40706
Releases: 6.0, 6.1

Change-Id: Ic646bd16600d1eb07e78677dd60dd61eb87f6c88
Reviewed-on: http://review.typo3.org/16876
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Mario Rimann
Reviewed-by: Mattias Nilsson
Tested-by: Mattias Nilsson
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
6 years ago[BUGFIX] ClassLoader error after installing extension
Oliver Hader [Wed, 28 Nov 2012 10:42:33 +0000 (11:42 +0100)]
[BUGFIX] ClassLoader error after installing extension

When e.g. installing tt_news version 3.4.0 (compatible to
TYPO3 CMS 6.0.0) a fatal error will be shown since tt_news
uses a class in ext_tables.php that requires the autoloader's
registry information.

The following happens on installing an extension:
* flushing the caches (including the class loader cache)
* redirecting to list view of extension manager
* triggering shutdown method in ClassLoader
* updating cache if $cacheUpdateRequired is set

This updates the autoloader registry with old data since
the extension's ext_autoload.php has not been considered at
that time.

The issue is fixed by explicitly reloading the ClassLoader
cache after TYPO3_LOADED_EXT has been reloaded.

Change-Id: Ifd2240bf004dbdfd34ded76618a5650f7af08d0e
Fixes: #43381
Releases: 6.0, 6.1
Reviewed-on: http://review.typo3.org/16832
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn