Packages/TYPO3.CMS.git
4 years ago[BUGFIX] Update misleading help text about deprecated/removed features 27/36727/3
Michael Schams [Sat, 7 Feb 2015 13:52:26 +0000 (00:52 +1100)]
[BUGFIX] Update misleading help text about deprecated/removed features

This patch corrects misleading help texts about deprecated curl*
functions such as curlProxyServer, curlProxyTunnel, curlProxyUserPass and
curlTimeout. The texts claim, these settings have been removed in 6.2,
which is not true (they are still used and required).

Resolves: #64920
Releases: 6.2
Change-Id: I0f33bb059e1be6861ecca84c190b0e5b2b19f632
Reviewed-on: http://review.typo3.org/36727
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Remove RemoveXSS credit link 35/37535/2
Christian Kuhn [Wed, 4 Mar 2015 18:45:25 +0000 (19:45 +0100)]
[BUGFIX] Remove RemoveXSS credit link

The current link to RemoveXSS project is broken and
no new one can be found. The patch removes the link
from about module but keeps other references in the
source files

Change-Id: Iff9590aae3cd093c17553a94d1d5c88afde54834
Releases: master, 6.2
Resolves: #65485
Reviewed-on: http://review.typo3.org/37535
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Regression when scaling/cropping in GIFBUILDER 33/37533/2
Torben Hansen [Tue, 3 Mar 2015 08:34:41 +0000 (09:34 +0100)]
[BUGFIX] Regression when scaling/cropping in GIFBUILDER

The fix for issue #64224 introduced a regression in GIFBUILDER
resulting in problems with image scaling/cropping.

For $fileInfo and $maskInfo: use 'processedFile' for FAL files
if available and correctly distinguish between FAL- and non-FAL files
otherwise by checking for 'origFile'.

Resolves: #65378
Related: #64224
Releases: master, 6.2
Change-Id: Ib472bdcdc7f814e50ebd18e084f5fbe7d09fc410
Reviewed-on: http://review.typo3.org/37533
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Do not fetch records from tables without references 78/37478/3
Stephan Großberndt [Tue, 9 Dec 2014 13:42:05 +0000 (14:42 +0100)]
[BUGFIX] Do not fetch records from tables without references

If no field of a table can contain a reference by its TCA definition
do not fetch record from this table at all. For tables with fields
which can possibly contain references fetch only these fields instead
of all.

Cache list of fields which don't have to be checked in the local member
'nonRelationFields' instead of recreating the list for each and every
record.

Don't try to update references for tables sys_log, sys_history and
tx_extensionmanager_domain_model_extension since they cannot contain
references and usually have a big amount of records.

Introduce some early returns to make code more readable.

Improves performance for both bulk inserts and updating the reference
index from the command line.

Resolves: #63676
Resolves: #63782
Releases: master, 6.2
Change-Id: Ibc6f988bfde6042339595bf7b3e18125c64ae72d
Reviewed-on: http://review.typo3.org/37478
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Prevent infinite loop in TceformsUpdateWizard 32/37032/6
Nicole Cordes [Fri, 20 Feb 2015 00:55:57 +0000 (01:55 +0100)]
[BUGFIX] Prevent infinite loop in TceformsUpdateWizard

If you have more than 1000 missing files within file relations in
tt_content.image and pages.media an infinite loop pops up, because
always the same records are fetched from database. This patch stores
the uids of failed records for each table to prevent the infinite loop
and restart processing after timeout.

Releases: 6.2
Resolves: #57393
Change-Id: I559be13efe88ae3111321dafb8d6a79886f903ae
Reviewed-on: http://review.typo3.org/37032
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Göran Bodenschatz <coding@46halbe.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Fix listAll GET parameter case in indexed_search 70/37470/2
Alexander Stehlik [Mon, 2 Mar 2015 18:44:30 +0000 (19:44 +0100)]
[BUGFIX] Fix listAll GET parameter case in indexed_search

The GET parameter that is set is called listAll. We now read this
parameter instead of listALL to make the link for listing all
entries work again.

Releases: master, 6.2
Resolves: #65468
Change-Id: Ic1e13bf0e6f7426d5efb54b0996323ac681c2ed4
Reviewed-on: http://review.typo3.org/37470
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Properly handle XLF translation file detection 75/37475/3
Markus Klein [Wed, 25 Feb 2015 13:26:51 +0000 (14:26 +0100)]
[BUGFIX] Properly handle XLF translation file detection

The GeneralUtility::llXmlAutoFileName() method will now also correctly
handle paths to files that are not placed within a known directory
(ext, sysext, etc.) if the call is made with $sameFile = TRUE.
This allows placing language files in arbitrary storage.

This change finally re-enables the usage of locallang files in TypoScript
or f:translate-ViewHelpers which use the XLIFF format and are not placed
within an extension.
This has always been working with files in the XML format.

Resolves: #65273
Releases: master, 6.2
Change-Id: Ibb647cea32a9fc04e9dfdf707a5e8690ad399d5c
Reviewed-on: http://review.typo3.org/37475
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Add property "uidLocal" to extbase FileReference model 63/37463/2
Jost Baron [Sun, 1 Mar 2015 16:07:33 +0000 (17:07 +0100)]
[BUGFIX] Add property "uidLocal" to extbase FileReference model

This is needed so extbase persists FileReferences created in the
frontend correctly. Otherwise the field "uid_local" would always
be set to 0 in the database, creating an invalid file reference.

Resolves: #48965
Related: #5718

Releases: 6.2, master
Change-Id: I1e620c18d60546fdc081410b1d27a1b1de6f3e5b
Reviewed-on: http://review.typo3.org/37463
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Show data of valid columns in element info 62/37462/2
Marc Bastian Heinrichs [Wed, 5 Feb 2014 15:18:42 +0000 (16:18 +0100)]
[BUGFIX] Show data of valid columns in element info

The element information show rows for the data from
the special fields crdate, cruser_id and tstamp also if they
are not defined in TCA. They are also hardcoded and
doesn't rely on the settings in TCA ctrl.

Resolves: #55699
Releases: master, 6.2
Change-Id: I7c9a387c75d367618117ffcb6f04592ee519cecc
Reviewed-on: http://review.typo3.org/37462
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Invalid back path of ImageViewHelper in TYPO3 backend 08/37408/3
Oliver Hader [Sun, 1 Mar 2015 13:36:27 +0000 (14:36 +0100)]
[BUGFIX] Invalid back path of ImageViewHelper in TYPO3 backend

If rendering an image in the TYPO3 backend, the regular case is
to prepend "../" to an URI with the assumption that the original
HTTP request was handled by typo3/backend.php.

For the page module for instance, the request points to
typo3/sysext/cms/layout/db_layout.php, thus the back path way
does not work anymore.

To overcome that behavior the absolute path shall be used
instead by determining TYPO3_SITE_PATH. For the case that
some custom processing relies on "../" this change might
be breaking.

Resolves: #65433
Releases: master, 6.2
Change-Id: I969f6a3bdd000b7efb7607e533d1117c8d363959
Reviewed-on: http://review.typo3.org/37408
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Backport functional / unit bootstrap changes to 6.2 54/37454/2
Oliver Klee [Sat, 31 Jan 2015 17:27:38 +0000 (18:27 +0100)]
[TASK] Backport functional / unit bootstrap changes to 6.2

Merge a couple of changes from master to 6.2 to keep the
unit / functional test environment better in sync.

* Putting bootstrap code into classes
* A bugfix in functional tests if typo3temp does not exist
* Minor cleanups

Change-Id: If0f89fcf1ec9eefb27b539a99fb8ee58cf47a869
Resolves: #65454
Related: #64662
Related: #64715
Related: #64843
Releases: 6.2
Reviewed-on: http://review.typo3.org/37454
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Invalid reference count on storing new child records in FlexForm 46/37346/2
Oliver Hader [Sat, 28 Feb 2015 15:08:45 +0000 (16:08 +0100)]
[BUGFIX] Invalid reference count on storing new child records in FlexForm

If creating a new parent record that contains inline child
records as part of a FlexForm configuration, the resulting
reference count is the temporary "NEW..." identifier. The
expected result is to have the number of child references
in that case as well.

Resolves: #58307
Releases: master, 6.2
Change-Id: I36a4dd06a38ad5d9f197190658b97f8a3b5fa234
Reviewed-on: http://review.typo3.org/37346
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Prevent redirection loop for shortcuts 49/37449/2
Nicole Cordes [Mon, 2 Mar 2015 10:05:16 +0000 (11:05 +0100)]
[BUGFIX] Prevent redirection loop for shortcuts

This patch prevents the redirection to another page if the returned
URL is empty which would trigger a redirection loop.

Releases: master, 6.2
Resolves: #65447
Change-Id: Ida0fc65c83d32ca7ae45db2d02b87d7eb0c8d345
Reviewed-on: http://review.typo3.org/37449
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] File must use MIME type from index record 11/37211/2
Andreas Wolf [Wed, 25 Feb 2015 12:52:22 +0000 (13:52 +0100)]
[BUGFIX] File must use MIME type from index record

The MIME type is stored in a field "mimetype" in the drivers, while the
field is called "mime_type" in the database. As the file object deals
with both when retrieving the type, it must respect this mismatch.

Change-Id: I06882c4d77e38284a48f7f7d7527bfc1c535edf3
Resolves: #65335
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/37211
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Let Scheduler handle storage indexing exception 24/37424/2
Francois Suter [Tue, 24 Feb 2015 09:05:43 +0000 (10:05 +0100)]
[BUGFIX] Let Scheduler handle storage indexing exception

The FileStorageIndexingTask should not handle exceptions itself.
Instead it should let them bubble up to let the Scheduler take
care of the reporting.

Resolves: #65248
Releases: 6.2, master
Change-Id: Ib29c20b40de8abd27869682c9f6d4479718d25f5
Reviewed-on: http://review.typo3.org/37424
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[FOLLOWUP][BUGFIX] Respect interfaces as well when checking class existence 22/37422/2
Helmut Hummel [Sun, 1 Mar 2015 17:36:51 +0000 (18:36 +0100)]
[FOLLOWUP][BUGFIX] Respect interfaces as well when checking class existence

Add accidentally forgotten guard clause for case insensitivity.

Releases: master, 6.2
Resolves: #65434
Change-Id: I374a7201f3c5ef356883302fc0825f9a02ef0c30
Reviewed-on: http://review.typo3.org/37422
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Respect interfaces as well when checking class existence 13/37413/2
Helmut Hummel [Sun, 1 Mar 2015 14:23:33 +0000 (15:23 +0100)]
[BUGFIX] Respect interfaces as well when checking class existence

As a backwards compatibility measure, the composer class loader
checked for class existence before requiring a class file, which
could only happen if wrong class name casing was used before.

We now enable this also for interfaces.

Releases: master, 6.2
Resolves: #65434
Change-Id: I6dc1dc6cbf8cb7018ceeff1eb881c80658c11e33
Reviewed-on: http://review.typo3.org/37413
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Code completion in t3editor behind operator 10/37410/2
Frederic Gaus [Tue, 10 Feb 2015 16:02:07 +0000 (17:02 +0100)]
[BUGFIX] Code completion in t3editor behind operator

Fix code completion in t3editor when substituing a value with
completed code behind a typoscript operator.

Change-Id: Id1fbb99aba850ee0787dba4b8562d0a22c119979
Resolves: #25594
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/36804
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
(cherry picked from commit 149a94180add7c2d490fad6d245238f3e3e4bb14)
Reviewed-on: http://review.typo3.org/37410

4 years ago[BUGFIX] Check default storage first to find default upload folder 01/37401/2
Frans Saris [Tue, 24 Feb 2015 10:22:34 +0000 (11:22 +0100)]
[BUGFIX] Check default storage first to find default upload folder

Resolves: #65040
Releases: master, 6.2
Change-Id: I14d6d362db1796c90b03254f6339cb131f152a45
Reviewed-on: http://review.typo3.org/37401
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] t3editor: Add code autocompletion for listNum 00/37400/2
Frederic Gaus [Tue, 10 Feb 2015 14:21:54 +0000 (15:21 +0100)]
[BUGFIX] t3editor: Add code autocompletion for listNum

Add code autocompletion for property listNum and property
preIfEmptyListNum in t3editor.

Resolves: #25732
Releases: master, 6.2
Change-Id: I13c15e2e262a926e8444d7f50933823b27cdcd9d
Reviewed-on: http://review.typo3.org/37400
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Do not respect autoload info if core repo is composer root 80/37380/2
Helmut Hummel [Sat, 28 Feb 2015 21:20:38 +0000 (22:20 +0100)]
[TASK] Do not respect autoload info if core repo is composer root

Doing a composer install directly in typo3 source has been
a requirement for core development for a while and a convenient shortcut
to quickly set up a TYPO3 installation for executing tests for extensions.

Respecting the class loading information generated in that location is
unfortunate however as it would require editing of the core composer.json
if additional classes from the core should respected.

Instead of respecting this as valid composer autoload file location,
we always fall back to the hard coded and committed class loading info
if no autoload file of a composer distribution call is found.

Releases: master, 6.2
Resolves: #65420
Change-Id: I1953303c6d2b5b221017deb7d2d7a0b43e4d08bf
Reviewed-on: http://review.typo3.org/37380
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[FOLLOWUP][BUGFIX] Allow file:// links in Element Browser 78/37378/3
Nicole Cordes [Sat, 28 Feb 2015 19:19:43 +0000 (20:19 +0100)]
[FOLLOWUP][BUGFIX] Allow file:// links in Element Browser

This patch allows the use of links with file scheme in typolink().

Releases: master, 6.2
Resolves: #65358
Change-Id: I25a8ca88637d1ecab4881127cf2228214b6c954a
Reviewed-on: http://review.typo3.org/37378
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] SelectViewHelper must respect option(Value|Label)Field for arrays 76/37376/2
Alexander Schnitzler [Sat, 14 Feb 2015 16:32:28 +0000 (17:32 +0100)]
[BUGFIX] SelectViewHelper must respect option(Value|Label)Field for arrays

The SelectViewHelper tries to resolve the value and label
field as long as options are of type object, i.e. domain
objects but that functionality must also exist for arrays
because their structure is similar to objects.

Example:
<f:form.select
options="{items}"
optionValueField="uid"
optionLabelField="title"
/>

$items = array(
    0 => array(
        'uid' => 1,
        'title' => 'Foo'
    ),
);

Currently the view helper tries to use the array key as
value field (i.e. 0) and the array value (i.e. array) as
label and fails calling htmlspecialchars on the array.

This patch allows values to be arrays themselves and to
be treated like domain objects.

Resolves: #65073
Releases: master, 6.2
Change-Id: Ia803ceb38c1f7488d48863f5a6781b229def50c4
Reviewed-on: http://review.typo3.org/37376
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[FOLLOWUP][BUGFIX] Prevent wrong ref_index for fields with soft references 75/37375/2
Nicole Cordes [Sat, 28 Feb 2015 20:34:25 +0000 (21:34 +0100)]
[FOLLOWUP][BUGFIX] Prevent wrong ref_index for fields with soft references

This patch resolved failing functional tests.

Releases: 6.2
Resolves: #65421
Change-Id: I1500cd766aa74199601dc74a4b82f255f4aa5067
Reviewed-on: http://review.typo3.org/37375
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Prevent wrong ref_index for fields with soft references 72/37372/2
Nicole Cordes [Thu, 19 Feb 2015 09:55:13 +0000 (10:55 +0100)]
[BUGFIX] Prevent wrong ref_index for fields with soft references

If you add a page link to a field which is defined as softrefs, the
ReferenceIndex creates an index to a FAL record if there exists a file
record with the page id. As file links are always prefixed with 'file:'
this patch adds a proper check before generating a file ref_index.

Because the functional tests of impexp extension still use a hardcoded
file path for the header_link field the patch corrects the value to
refer to a file.

Furthermore if you add a file or folder link, the field is referenced
twice for the FAL record. So we have to suppress the softreference for
those records.

Releases: master, 6.2
Resolves: #60226
Change-Id: I969224e2a291491cb7ece1f61b375071bf0eaebc
Reviewed-on: http://review.typo3.org/37372
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Escape regex chars when building sWordRegEx 66/37366/2
Alexander Stehlik [Fri, 27 Feb 2015 19:13:53 +0000 (20:13 +0100)]
[BUGFIX] Escape regex chars when building sWordRegEx

The submitted sword_list GET parameters are parsed through
preg_quote() when loaded into  TSFE->sWordRegEx to prevent
invalid regular expressions.

The initialization is moved to a seperate method
PageGenerator::initializeSearchWordDataInTsfe() and unit
tests are added.

Releases: master, 6.2
Resolves: #41728
Change-Id: Id96fd5e201c25b06001f7e1c7811d6c38239aafa
Reviewed-on: http://review.typo3.org/37366
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Allow file:// links in Element Browser 65/37365/2
Nicole Cordes [Fri, 27 Feb 2015 19:20:36 +0000 (20:20 +0100)]
[BUGFIX] Allow file:// links in Element Browser

Due to FAL checks it's not possible to link to a file:// resource as
external link. This patch checks for correct "file:" prefix for FAL
relations and allows the use of file:// as external link scheme.

Furthermore a Javascript error is resolved which prevents the closing
of the Element Browser in Chrome.

Releases: master, 6.2
Resolves: #65358
Change-Id: I706fd975654bf82a0830d9901f08ae9de7cc49bf
Reviewed-on: http://review.typo3.org/37365
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Rethrow Extbase scheduler task exceptions 55/37355/2
Mathias Brodala [Wed, 18 Feb 2015 08:10:37 +0000 (09:10 +0100)]
[BUGFIX] Rethrow Extbase scheduler task exceptions

This makes sure exception details thrown in Extbase scheduler tasks
can be shown by the Scheduler.

Resolves: #49071
Releases: master, 6.2
Change-Id: Ic703568715bf92523a9cbd0dcab6c5606ea278bb
Reviewed-on: http://review.typo3.org/37355
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Workspaces: Fix broken buttons in frontend 34/37234/2
Andreas Fernandez [Mon, 23 Feb 2015 07:08:45 +0000 (08:08 +0100)]
[BUGFIX] Workspaces: Fix broken buttons in frontend

Adds a font size to the button text, so the button text in the
"send stage" windows in the workspace dialogs used in the
frontend become visible again. Also, a background color is
added to the top buttons to fix the "cut".

Resolves: #65102
Releases: master, 6.2
Change-Id: I928299e602829b322e3c6515367bcf1ac59b2479
Reviewed-on: http://review.typo3.org/37234
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Fix cookie evaluation order 82/37282/2
Helmut Hummel [Sun, 22 Feb 2015 08:11:06 +0000 (09:11 +0100)]
[BUGFIX] Fix cookie evaluation order

The workaround added for IE8 in #22084 is not needed any more
and removed without substitution.

This avoids problems with multiple cookies which might be sent
due to nested instances or due to moving an instance around in the
folder hierarchy.

Resolves: #65187
Releases: master, 6.2
Change-Id: I75c3ebcde62257cef91837bf1fc8272e2dd77eac
Reviewed-on: http://review.typo3.org/37282
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Display Info of File in popup instead of File Metadata 82/36482/3
Fabien Udriot [Mon, 13 Oct 2014 15:20:20 +0000 (17:20 +0200)]
[BUGFIX] Display Info of File in popup instead of File Metadata

To stay inline with the File List, the popup from the list
should display info of a File and not of the File Metadata. Otherwise,
it will display misleading information for the End User such
as different creation / modification date.

Releases: master, 6.2
Resolves: #56655
Change-Id: I84ac293dc63d222d1111dd35bd1474709449bafa
Reviewed-on: http://review.typo3.org/36482
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
4 years ago[BUGFIX] Set correct workspace ID when updating referenceIndex for files 81/36481/3
Markus Klösges [Fri, 16 Jan 2015 13:00:35 +0000 (14:00 +0100)]
[BUGFIX] Set correct workspace ID when updating referenceIndex for files

When publishing a workspace the referenceIndex entries of the affected
sys_file_reference rows were not updated with the new workspace. That's
because the user is always in the affected workspace and therefore
the workspace is not set to live as expected.
Now updating referenceIndex for both workspaces when swapping.

Resolves: #64253
Releases: master, 6.2
Change-Id: Icfb4fcd1ae92da4ea881105b387c3d6db20ece95
Reviewed-on: http://review.typo3.org/36481
Tested-by: Michael Schams <typo3@2014.trash.schams.net>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[TASK] Set TYPO3 version to 6.2.11-dev 88/37288/2
TYPO3 Release Team [Thu, 26 Feb 2015 18:24:07 +0000 (19:24 +0100)]
[TASK] Set TYPO3 version to 6.2.11-dev

Change-Id: I6d8de31ab0d180f239cb017b2475ee068e45479a
Reviewed-on: http://review.typo3.org/37288
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
4 years ago[RELEASE] Release of TYPO3 6.2.10 87/37287/2 6.2.10 TYPO3_6-2-10
TYPO3 Release Team [Thu, 26 Feb 2015 18:23:23 +0000 (19:23 +0100)]
[RELEASE] Release of TYPO3 6.2.10

Change-Id: I0dc5879b38dffd53ecb16c816ce50fa4f428de76
Reviewed-on: http://review.typo3.org/37287
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
4 years ago[BUGFIX] Prevent duplicate '/' in filepath when uploading file 04/37204/2
Sascha Egerer [Mon, 23 Feb 2015 11:02:46 +0000 (12:02 +0100)]
[BUGFIX] Prevent duplicate '/' in filepath when uploading file

To prevent a duplicate '/' in a filepath the function
LocalDriver::getAbsolutePath should be used instead of
concatenating strings by hand.
This fixes also an issue that file uploads are not
possible on windows machines due to a incorrect filepath.

Resolves: #65230
Releases: master, 6.2
Change-Id: Ibe6ff9c8c1d6579c8da24f14cfd6e528f57a8e4f
Reviewed-on: http://review.typo3.org/37204
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[TASK] Harmonize allowed characters of backend usernames 11/37111/2
Sascha Egerer [Mon, 23 Feb 2015 11:44:19 +0000 (12:44 +0100)]
[TASK] Harmonize allowed characters of backend usernames

When creating new backend users from the intall tool, any
character is now accepted for the username. Whitespaces get
trimmed and uppercase is converted to lowercase.
This is already the case for TCA of be_users.username

Resolves: #65224
Releases: master, 6.2
Change-Id: I0edabd2cb82dc59bdc52dd385c1e198f04be6017
Reviewed-on: http://review.typo3.org/37111
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
4 years ago[BUGFIX] Prevent double slash in canonicalizeAndCheckFolderIdentifier 09/37109/4
Sascha Egerer [Sat, 31 Jan 2015 20:45:39 +0000 (21:45 +0100)]
[BUGFIX] Prevent double slash in canonicalizeAndCheckFolderIdentifier

If the value given to AbstractHierarchicalFilesystemDriver->
canonicalizeAndCheckFolderIdentifier()
is '.' the return was '//' but should be '/'.

Resolves: #64706
Releases: master, 6.2
Change-Id: I63900c44be3180b0a9b8e31d89c6c896382db6b7
Reviewed-on: http://review.typo3.org/37109
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
4 years ago[BUGFIX] Show "Add task" after stopping a running task 85/37185/2
Andreas Fernandez [Mon, 23 Feb 2015 14:01:23 +0000 (15:01 +0100)]
[BUGFIX] Show "Add task" after stopping a running task

Check if CMD is "stop" to make "Add task" visible.

Resolves: #65235
Releases: master, 6.2
Change-Id: Ia5b87f6105e14e224e8db0541d6fe36a021d8ba3
Reviewed-on: http://review.typo3.org/37185
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years agoRevert "[BUGFIX] Prevent wrong ref_index for fields with soft references" 83/37083/2
Nicole Cordes [Sat, 21 Feb 2015 20:26:36 +0000 (21:26 +0100)]
Revert "[BUGFIX] Prevent wrong ref_index for fields with soft references"

This reverts commit 91732f299bfa625f3e9e54873efbad2fda96d11a.

Change-Id: Ic25804fb0ef1b96a78d83285d9c425dc5d37f02d
Reviewed-on: http://review.typo3.org/37083
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Prevent wrong ref_index for fields with soft references 77/37077/3
Nicole Cordes [Thu, 19 Feb 2015 09:55:13 +0000 (10:55 +0100)]
[BUGFIX] Prevent wrong ref_index for fields with soft references

If you add a page link to a field which is defined as softrefs, the
ReferenceIndex creates an index to a FAL record if there exists a file
record with the page id. As file links are always prefixed with 'file:'
this patch adds a proper check before generating a file ref_index.

Furthermore if you add a file or folder link, the field is referenced
twice for the FAL record. So we have to suppress the softreference for
those records.

Releases: master, 6.2
Resolves: #60226
Change-Id: Ieb9179d393e23eda4fdb1bb47ba4693bd92e75d9
Reviewed-on: http://review.typo3.org/37077
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Use current domain if found in domain record 69/37069/4
Helmut Hummel [Fri, 20 Feb 2015 15:46:55 +0000 (16:46 +0100)]
[BUGFIX] Use current domain if found in domain record

The introduction of domain record cache with #24389 introduced a regression.
Previously if multiple domain names were found for one subtree,
the domain name which matched the current host name was preferred.
After the introduction of the cache, only the first domain record was
considered.

This patch properly checks the domain records against the current domain
in use and selects the most appropriate one.

Releases: master, 6.2
Resolves: #62556
Change-Id: I9cae580af9c9de0c1f6ed02d5ac8ad6a90a0fa2b
Reviewed-on: http://review.typo3.org/37069
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Keep image order during upgrade 42/37042/4
Nicole Cordes [Fri, 20 Feb 2015 11:29:25 +0000 (12:29 +0100)]
[BUGFIX] Keep image order during upgrade

After upgrading from 4.5 to 6.2 the image sorting is messed. This patch
adds sorting rows to file references to keep the correct order. The sort
interval matches the default value of DataHandler.

Releases: 6.2
Resolves: #65193
Change-Id: I0e340d0fe422447ce6b8616be0297d6a7204b4fe
Reviewed-on: http://review.typo3.org/37042
Tested-by: Philipp Mueller <philipp.mueller@lavitto.ch>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Install tool error message if session file not writeable 28/37028/2
Christian Kuhn [Thu, 19 Feb 2015 16:32:21 +0000 (17:32 +0100)]
[BUGFIX] Install tool error message if session file not writeable

In a rare case it may happen that the install tool created a session
file in typo3temp/InstallToolSessions and later those files can not
be written or updated due to permission problems.
The install tool then fails silently without error message.
Since write out of session data happens in __destruct() a proper
error message can not be created at this point anymore. Solution
is to "test write" the session file after opening it and throw
an exception if that fails.

Resolves: #65014
Releases: master, 6.2
Change-Id: I9478f0cfb58a047842d48350b7005e64f50f52ff
Reviewed-on: http://review.typo3.org/37028
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Display error message for "Check for broken extensions" 59/37059/2
Nicole Cordes [Thu, 19 Feb 2015 16:24:08 +0000 (17:24 +0100)]
[BUGFIX] Display error message for "Check for broken extensions"

If you try to uninstall an extension, which is needed by another one,
the process triggers an error without any information for the user. This
patch catches the exception and shows it in frontend.

Releases: master, 6.2
Resolves: #63672
Change-Id: I339b3cb533e7ec22cbdd27a2661e1b775ac665c0
Reviewed-on: http://review.typo3.org/37059
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Prevent warning in FAL "Update storage index" scheduler task 51/37051/2
Nicole Cordes [Fri, 20 Feb 2015 08:47:24 +0000 (09:47 +0100)]
[BUGFIX] Prevent warning in FAL "Update storage index" scheduler task

Due to the use of intval within array_walk a warning is triggered,
because array_walk calls the function with two parameters where intval
only expects one. This patch replaces the array_walk function with
DatabaseConnection::cleanIntArray.

Releases: master, 6.2
Resolves: #65189
Change-Id: Ic487f2da589e1610bd9ac7ec721d48a2735ef980
Reviewed-on: http://review.typo3.org/37051
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Fix static access to enumeration constants 27/37027/2
Mathias Brodala [Tue, 10 Feb 2015 14:27:59 +0000 (15:27 +0100)]
[BUGFIX] Fix static access to enumeration constants

Enumeration constants need to be loaded on static access
without requiring a instance before.

Resolves: #64971
Releases: master,6.2
Change-Id: Iaaefe5648ab70743cfc2efc73c81f870833b730d
Reviewed-on: http://review.typo3.org/37027
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Prevent warning in Upgrade Wizard 12/37012/5
Nicole Cordes [Thu, 19 Feb 2015 08:16:05 +0000 (09:16 +0100)]
[BUGFIX] Prevent warning in Upgrade Wizard

The ReferenceIntegrityUpdateWizard looks for existing FAL file references.
If you start the Upgrade Wizard without any database update before, FAL
tables don't exists yet and the database request returns a non array
value. As the Wizard expects an array to be returned without proper
casting, a warning is thrown.

Releases: 6.2
Resolves: #65159
Change-Id: Ib4e6c308d1e2de8e7f7e2523d62a4ff97ef47bb5
Reviewed-on: http://review.typo3.org/37012
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[BUGFIX] Install tool fatal with options for cache_classes 00/37000/2
Christian Kuhn [Wed, 18 Feb 2015 18:17:58 +0000 (19:17 +0100)]
[BUGFIX] Install tool fatal with options for cache_classes

Setting an option like cacheDirectory for cache_classes or
cache_core triggers a fatal if calling the install tool.
This happens because the install tool calls the bootstrap
loadConfigurationAndInitialize() with $allowCaching = FALSE
which then calls disableCoreAndClassesCache() and sets the
backend of both caches to NullBackend. The cacheDirectory
option however is not supported by this backend.
Solution is to unset any options configured for these caches
within disableCoreAndClassesCache().

Resolves: #65153
Releases: master, 6.2
Change-Id: I3200d6752794c1769fe4e049c301ee8fa185ecf9
Reviewed-on: http://review.typo3.org/37000
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Fix regression in GeneralUtility::rmFromList() 90/36990/3
Markus Klein [Tue, 17 Feb 2015 12:55:20 +0000 (13:55 +0100)]
[BUGFIX] Fix regression in GeneralUtility::rmFromList()

Removing multiple occurrences of the same element now works again.

Resolves: #65123
Releases: master, 6.2
Change-Id: I3e973f019b68ebe19cee0e01f20b9e51e6a7ae28
Reviewed-on: http://review.typo3.org/36990
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] ElementBrowser: Show triggered flash messages 58/36958/3
Nicole Cordes [Sat, 14 Feb 2015 20:57:01 +0000 (21:57 +0100)]
[BUGFIX] ElementBrowser: Show triggered flash messages

If you try to add a new folder with empty name or an error during the
file upload happens, a FlashMessage is generated and added to the
FlashMessageQueue but not display within the ElementBrowser. The patch
adds output of the FlashMessageQueue above the navigation.

Releases: master, 6.2
Resolves: #65075
Change-Id: I9196fce917893ff04aad55a7f96c57a0b09f4fc3
Reviewed-on: http://review.typo3.org/36958
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Fix core update if core location exists 64/36664/3
Frederic Gaus [Thu, 5 Feb 2015 01:18:46 +0000 (02:18 +0100)]
[BUGFIX] Fix core update if core location exists

If multiple installations are symlinked to the same core location,
the core updater fails on the second update because the new version
already exists.

Check for this situation and skip unneeded tasks during the update
process.

Change-Id: I4c3c11f0e45c240e15913d5de5a3156ef5ad0aa6
Resolves: #58009
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/36664
Reviewed-by: Frederic Gaus <gaus@flagbit.de>
Tested-by: Frederic Gaus <gaus@flagbit.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] ElementBrowser: Fix JS error after folder creation 16/36916/2
Nicole Cordes [Sat, 14 Feb 2015 19:45:42 +0000 (20:45 +0100)]
[BUGFIX] ElementBrowser: Fix JS error after folder creation

Add missing parameters in returnUrl to prevent a Javascript error
blocking all further Javascript execution.

Releases: master, 6.2
Resolves: #65074
Change-Id: I34cb27eaf9678b6bab1297b579fec3a6d5385149
Reviewed-on: http://review.typo3.org/36916
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUFGIX] Add modification time to processedfile checksum 98/36898/2
ruud [Sat, 31 Jan 2015 16:59:10 +0000 (17:59 +0100)]
[BUFGIX] Add modification time to processedfile checksum

Added modification time to processed file checksum so the filename of
the processed files changes when the original is replaced.

Resolves: #44645
Releases: master, 6.2
Change-Id: I12bf445ee2a75a9a69b3d8e9603ae5035028a195
Reviewed-on: http://review.typo3.org/36898
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Make sure orig file is not removed when deleting processed files 11/36911/2
Frans Saris [Thu, 12 Feb 2015 10:04:36 +0000 (11:04 +0100)]
[BUGFIX] Make sure orig file is not removed when deleting processed files

A processed file only needs to be deleted from storage if it has its
own identifier.

Releases: master, 6.2
Resolves: #65021
Change-Id: I76c3f1afa6ba7fa5d8898f7281bef78f1ccb4a35
Reviewed-on: http://review.typo3.org/36911
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] ElementBrowser: After file upload no file can be selected 05/36905/2
Wouter Wolters [Sat, 14 Feb 2015 13:19:06 +0000 (14:19 +0100)]
[BUGFIX] ElementBrowser: After file upload no file can be selected

Resolves: #65027
Releases: master, 6.2
Change-Id: I6df1361be3572497fadcea321b6d8d7f000062e0
Reviewed-on: http://review.typo3.org/36905
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Do not call bidir_htmlspecialchars as static function 93/36893/2
Markus Klein [Sat, 14 Feb 2015 10:52:49 +0000 (11:52 +0100)]
[BUGFIX] Do not call bidir_htmlspecialchars as static function

The static call of bidir_htmlspecialchars throws a notice.
Just refactored the code to use the class instance instead.

Resolves: #64827
Releases: master, 6.2
Change-Id: I384646ccb07c05e5db76100228f3bb61c2a07d93
Reviewed-on: http://review.typo3.org/36893
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Scheduler: Show exception when invalid CommandController present 18/36718/2
Armin Ruediger Vieweg [Tue, 3 Feb 2015 19:43:44 +0000 (20:43 +0100)]
[BUGFIX] Scheduler: Show exception when invalid CommandController present

When a CommandController in an extbase extension has been registered,
but the class does not contain the string "CommandController"
an exception will be thrown. Before this patch, this exception
will never show up.

This patch adds the output of exception's message in Scheduler module,
which gives the developer a hint why the "add new task" form is not
displayed properly.

Also it extends the exception with description why the class name is invalid.

Resolves: #64836
Releases: master, 6.2
Change-Id: I309ed02c7fd4597b99388518abf842e600b27a9a
Reviewed-on: http://review.typo3.org/36718
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] RTE: Selected table style name not displayed correctly 51/36851/2
Stanislas Rolland [Wed, 11 Feb 2015 22:28:56 +0000 (17:28 -0500)]
[BUGFIX] RTE: Selected table style name not displayed correctly

The name of the selected table style is not displayed correctly
in table properties dialogue.

Releases: 6.2
Resolves: #49257
Change-Id: I69efeb05e4c51ec54b2f271d408af9e78d0b4e57
Reviewed-on: http://review.typo3.org/36851
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
4 years ago[BUGFIX] RTE: Mixed up configuration options of the Acronym button 25/36725/2
Stanislas Rolland [Sat, 7 Feb 2015 03:46:00 +0000 (22:46 -0500)]
[BUGFIX] RTE: Mixed up configuration options of the Acronym button

The Acronym button will be enabled even when no acronym record exists.
The Abbreviation tab will be shown even if no acronym record of this
type exists; in such case, the predefined abbreviation fieldset will not be shown.
However, the Acronym tab will not be shown if no acronym record of this
type exists. If the current selection is empty and not within an abbr
tag, the Abbreviation fieldset will not be show. If the current
selection is empty and not within an acronym tag, the Acronym fieldset
will not be show.

Releases: 6.2
Resolves: #64165
Change-Id: I590acd8d2ee10f2e9509ecb15c9b65876a363eda
Reviewed-on: http://review.typo3.org/36725
Tested-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
4 years ago[BUGFIX] Use saltedpasswords for scheduler user creation 24/36824/2
Markus Klein [Mon, 9 Feb 2015 09:54:08 +0000 (10:54 +0100)]
[BUGFIX] Use saltedpasswords for scheduler user creation

Remove the hardcoded md5-hashing and let saltedpasswords do that for us.

Resolves: #64936
Releases: master, 6.2
Change-Id: I608a2106690d64b3ac64a5657d6b4ffa4be721a1
Reviewed-on: http://review.typo3.org/36824
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Correct typoscript log message in USER cObj 19/36819/2
Frederic Gaus [Wed, 11 Feb 2015 07:46:17 +0000 (08:46 +0100)]
[BUGFIX] Correct typoscript log message in USER cObj

Correct typoscript log message in UserContentObject

Change-Id: I5a36e4d67278f96fa6cfd269fc7efbbb0df0b7bf
Resolves: #64979
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/36819
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Catch possible NULL values to avoid exception 88/36788/2
Andreas Fernandez [Tue, 10 Feb 2015 08:16:34 +0000 (09:16 +0100)]
[BUGFIX] Catch possible NULL values to avoid exception

If references are not maintained properly, all reference information
may be NULL or empty string (depending on it's type). Catch NULL values
and return early.

Resolves: #64955
Releases: master, 6.2
Change-Id: Id525e011f7b70190bc8f1f0c27e8c4b091325304
Reviewed-on: http://review.typo3.org/36788
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
4 years ago[BUGFIX] Set version to 6.2.10-dev 66/36766/2
Francois Suter [Mon, 9 Feb 2015 11:01:36 +0000 (12:01 +0100)]
[BUGFIX] Set version to 6.2.10-dev

After the released of 6.2.10rc1, the TYPO3 version was reset
to 6.2-dev. It should be 6.2.10-dev instead.

Using 6.2-dev breaks extensions using version_compare().

Releases: 6.2
Change-Id: Id8301b872b0b3f07ef5d64b5bd74e9558d76f416
Reviewed-on: http://review.typo3.org/36766
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years agoRevert "[BUGFIX] CSS3 function calc must retain whitespace" 83/36783/3
Christian Kuhn [Mon, 9 Feb 2015 19:09:53 +0000 (20:09 +0100)]
Revert "[BUGFIX] CSS3 function calc must retain whitespace"

This reverts commit 5cfb009da9b36fc022aec19a57dc6965ff80a9ff.

The change introduced a huge regex that leads to PHP segfaults
with old PCRE versions that are usually bundled with PHP versions
5.3 and 5.4. A test script link was added to the forge issue.

The patch reverts the patch for issue #62463 for 6.2 while
master will receive an install tool check for recent PCRE versions.

Change-Id: I63b4ff282ecac34730eef52c4127ad7acfb8dbba
Resolves: #64950
Reverts: #62463
Releases: 6.2
Reviewed-on: http://review.typo3.org/36783
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] RTE: WebKit may insert line-height style attribute on paste 50/36750/2
Stanislas Rolland [Sun, 8 Feb 2015 18:39:10 +0000 (13:39 -0500)]
[BUGFIX] RTE: WebKit may insert line-height style attribute on paste

Problem: When pasting content that contains (un)ordered lists, WebKit
browsers may insert line-height style attributes on the ul/ol elements.
Solution: Remove the added attributes if enableWordClean is set.

Releases: master, 6.2
Resolves: #63982
Change-Id: I64fe918aa1f0edcc52466736e390ae60b09e7ef8
Reviewed-on: http://review.typo3.org/36750
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
4 years ago[BUGFIX] RTE: Incorrect dialog window height when browser zoom is used 36/36736/2
Stanislas Rolland [Sun, 8 Feb 2015 00:07:00 +0000 (19:07 -0500)]
[BUGFIX] RTE: Incorrect dialog window height when browser zoom is used

Problem: When browser zoom is used, ExtJS does not calculate correctly the
height of tabpanels that contain fieldsets.
Solution: Calculate the correct height and set the tabpanel height.

Releases: master, 6.2
Resolves: #45616

Change-Id: I0bc6d95b6699378b19fe81df8aaab7915e933c4d
Reviewed-on: http://review.typo3.org/36736
Reviewed-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Tested-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
4 years ago[BUGFIX] Cleaner scripts crashes due to incomplete flexform content 22/36722/3
Jose Antonio Guerra [Fri, 6 Feb 2015 18:32:29 +0000 (19:32 +0100)]
[BUGFIX] Cleaner scripts crashes due to incomplete flexform content

Failure to check arguments used on recursive function call
causes PHP runtime error.

Resolves: #64914
Releases: master, 6.2
Change-Id: Id61ae9961415ab5d9d4294b224c90f2e02df6f14
Reviewed-on: http://review.typo3.org/36722
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Memcached backend identifierPrefix only based on PATH_site 21/36721/2
Arjen Hoekema [Fri, 30 Jan 2015 14:15:20 +0000 (15:15 +0100)]
[BUGFIX] Memcached backend identifierPrefix only based on PATH_site

Change the 'identifierPrefix' in the MemcachedBackend so it is
caculated based on:
* PATH_site
* Context (production/developement)
* Cache identifier (cache_pages, cache_hash)

This avoids cache collisions when using a single Memcached backend
for multiple caching configurations when using the same
'entryIdentifier' in set()

Resolves: #64588
Releases: master, 6.2
Change-Id: Ib1702caa06dc29937cdc4bf574a0f05d89a8d10c
Reviewed-on: http://review.typo3.org/36721
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Properly check type of POST vars on clipboard action 14/36714/2
Markus Klein [Thu, 5 Feb 2015 23:47:03 +0000 (00:47 +0100)]
[BUGFIX] Properly check type of POST vars on clipboard action

Avoid a PHP warning by checking the type of data retrieved via POST.

"CBC" is an array of checkboxes, which can be null if nothing is selected.
"CBH" is an array of hidden fields. If this is not an array, something
is messed up in HTML generation and an Exception should be thrown then
(because of a PHP warning).

Also adapt the list module code accordingly.

Resolves: #64897
Releases: master, 6.2
Change-Id: Ife7d079a6d666e8bdbbce7b7eef34dbf5636c425
Reviewed-on: http://review.typo3.org/36714
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[TASK] Set TYPO3 version to 6.2-dev 09/36709/2
TYPO3 Release Team [Fri, 6 Feb 2015 08:15:43 +0000 (09:15 +0100)]
[TASK] Set TYPO3 version to 6.2-dev

Change-Id: I9e37ea1649d58788d6dd653a0c4c87f124fe4529
Reviewed-on: http://review.typo3.org/36709
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
4 years ago[RELEASE] Release of TYPO3 6.2.10rc1 08/36708/2 6.2.10-rc1 TYPO3_6-2-10rc1
TYPO3 Release Team [Fri, 6 Feb 2015 08:15:06 +0000 (09:15 +0100)]
[RELEASE] Release of TYPO3 6.2.10rc1

Change-Id: I91e5f610b5ef6b8d6a4556822ce3c0fe6497239f
Reviewed-on: http://review.typo3.org/36708
Reviewed-by: TYPO3 Release Team <typo3v4@typo3.org>
Tested-by: TYPO3 Release Team <typo3v4@typo3.org>
4 years ago[BUGFIX] Ensure variable imageSizes is an array before accessing its values 98/36698/2
Fabien Udriot [Thu, 5 Feb 2015 14:01:04 +0000 (15:01 +0100)]
[BUGFIX] Ensure variable imageSizes is an array before accessing its values

It could be the PHP function "getimagesize" will fail to get the width and
the height of an image if the format is not supported by PHP. The patch
prevent accessing the value of an array which may be not an array.

Resolves: #64875
Releases: master, 6.2
Change-Id: Ibcbeb6edc7e23a2468cbcce40c2ecb0c2ba21142
Reviewed-on: http://review.typo3.org/36698
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Make composer class loading case insensitive 70/36670/5
Helmut Hummel [Thu, 5 Feb 2015 14:05:37 +0000 (15:05 +0100)]
[BUGFIX] Make composer class loading case insensitive

To fix an edge case where wrong casing of a class name
in third party code did not produce a fatal error in TYPO3 6.2,
we change the composer class loader which is shipped by default
to allow case insensitive class loading of core classes.

This behavior can be switched on and off for fully composer based projects.
It is off by default (which will be the case in master)
and on in TYPO3 6.2 for full backwards compatibility.

Releases: 6.2
Resolves: #64873
Change-Id: I9b4de69fdd2b56616cc7ca249395a22f242b0c33
Reviewed-on: http://review.typo3.org/36670
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
4 years ago[BUGFIX] Keep linktype on core update 16/36616/2
Frederic Gaus [Mon, 2 Feb 2015 20:59:33 +0000 (21:59 +0100)]
[BUGFIX] Keep linktype on core update

Keep the linktype of the symlink pointing to the TYPO3 core. Currently
the CoreUpdateService always creates an absolute link even if the
link was relative before. This patch checks for the correct link type
during a core update. This could be important in some environments,
e.g. in a chrooted environemnt.

Change-Id: I47bbe0d54a88853adc4160937a21d641b756f20f
Resolves: #58000
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/36616
Reviewed-by: Frederic Gaus <gaus@flagbit.de>
Tested-by: Frederic Gaus <gaus@flagbit.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
4 years ago[BUGFIX] Remove superfluous getInstance calls in Bootstrap 11/36611/3
Helmut Hummel [Mon, 2 Feb 2015 19:21:29 +0000 (20:21 +0100)]
[BUGFIX] Remove superfluous getInstance calls in Bootstrap

Releases: 6.2, master
Resolves: #64770
Change-Id: I9ae4cd9476b45a17c0246edf65fb01a54b7dd24f
Reviewed-on: http://review.typo3.org/36611
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
4 years ago[CLEANUP] Add missing signature to DatabaseConnection phpDoc updateQuery 69/36569/2
Ruud Silvrants [Thu, 29 Jan 2015 11:26:15 +0000 (12:26 +0100)]
[CLEANUP] Add missing signature to DatabaseConnection phpDoc updateQuery

Fix the bug of the missing code documentation at the PHPDoc of
execUpdateQuery and updateQuery to expect also an array or string
necessary for fullQuoteArray().

Resolves: #64511
Releases: master, 6.2
Change-Id: I310291f3686cca8ac17bad3aedf7f94cfbe6370c
Reviewed-on: http://review.typo3.org/36569
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
4 years ago[CLEANUP] Comments, usages and phpdoc of InlineElement 91/36591/2
Stephan Großberndt [Sat, 31 Jan 2015 21:25:53 +0000 (22:25 +0100)]
[CLEANUP] Comments, usages and phpdoc of InlineElement

Clean up formatting, comments, typos, unused variables, uses and
phpdoc of TYPO3\CMS\Backend\Form\Element\InlineElement.

Resolves: #64705
Releases: master, 6.2
Change-Id: I9d9b2ea61350359c21f1b05a357027b5e6c7aa4b
Reviewed-on: http://review.typo3.org/36591
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Prevent folder deletion with referenced files 77/36577/2
Armin Ruediger Vieweg [Fri, 30 Jan 2015 11:57:34 +0000 (12:57 +0100)]
[BUGFIX] Prevent folder deletion with referenced files

Currently a folder can be deleted without any check if included files
are still in use anywhere within the website. This can lead to lost
files and can be harmful for the user. The patch adds a test if files
within a folder, which should be deleted, are still referenced and
prevents deleting it if files where found. The user is notified with a
warning shown above the file list.

Resolves: #48893
Releases: master, 6.2
Change-Id: If1c79d86e1f6c7a32a6a3e94e639951f882302d7
Reviewed-on: http://review.typo3.org/36577
Reviewed-by: Armin Ruediger Vieweg <armin@v.ieweg.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years agoRevert "[CLEANUP] Rework/simplify copyright header and remove @package" 00/36600/2
Anja Leichsenring [Mon, 2 Feb 2015 11:58:17 +0000 (12:58 +0100)]
Revert "[CLEANUP] Rework/simplify copyright header and remove @package"

This reverts commit 32060091876342826de9e99550ab04951891552c.
Releases: master, 6.2

Change-Id: I5522232323c7cfbe420744b6aed0083a412c6507
Reviewed-on: http://review.typo3.org/36600
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUFGIX] Remove all existing processed files on file replace 97/36597/3
ruud [Sat, 31 Jan 2015 16:59:10 +0000 (17:59 +0100)]
[BUFGIX] Remove all existing processed files on file replace

When a file gets replaced by calling replaceFile() or by overriding
on uploading all processed files of the original file get removed.

Resolves: #63976
Releases: master, 6.2
Change-Id: I865503e46ac9044b22f976e0db5b163ac7e2e4c9
Reviewed-on: http://review.typo3.org/36597
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
4 years ago[TASK] Do not create uploads/tf directory 82/36582/2
Stephan Großberndt [Sun, 1 Feb 2015 15:12:27 +0000 (16:12 +0100)]
[TASK] Do not create uploads/tf directory

No longer create the directory uploads/tf in the default folder
structure in install tool. This directory was used until TYPO3 CMS 4.7
to store resources related to sys_template-records. The definition of
the "resources"-field was removed in TYPO3 CMS 6.0, but the default
folder creation was overlooked.

Resolves: #64721
Releases: master, 6.2
Change-Id: I96f14183d82d39945399b4554eb6216395cd852d
Reviewed-on: http://review.typo3.org/36582
Reviewed-by: Stephan Großberndt <stephan@grossberndt.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[BUGFIX] Avoid to call recordInfo for new records 95/36595/2
Stephan Großberndt [Wed, 10 Dec 2014 11:15:53 +0000 (12:15 +0100)]
[BUGFIX] Avoid to call recordInfo for new records

Avoid to call recordInfo for new records in DataHandler->checkValue by
checking the id. This improves performance for bulk inserts.

Resolves: #63733
Releases: master, 6.2
Change-Id: I02c2d282f487defe3c74d89e7041ecb8b0eae7b8
Reviewed-on: http://review.typo3.org/36595
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
4 years ago[BUGFIX] Create typo3temp/_processed_/ by default 60/36560/3
Sebastian Fischer [Sun, 1 Feb 2015 09:33:02 +0000 (10:33 +0100)]
[BUGFIX] Create typo3temp/_processed_/ by default

By this the needed folder for files from default storage
is created.

Resolves: #55833
Releases: master, 6.2
Change-Id: I5f31203a58d2a093362305aebf1f264f175980c3
Reviewed-on: http://review.typo3.org/36560
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Ingo Schmitt <is@marketing-factory.de>
Tested-by: Ingo Schmitt <is@marketing-factory.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
4 years ago[FOLLOWUP][BUGFIX] FAL: Do not paste a folder into itself 79/36579/2
Wouter Wolters [Sun, 1 Feb 2015 12:31:10 +0000 (13:31 +0100)]
[FOLLOWUP][BUGFIX] FAL: Do not paste a folder into itself

Add missing @throws annotation for the added function.

Also the correct exception is thrown in ResourceStorage
if it occurs anyway.

Resolves: #51670
Releases: master, 6.2
Change-Id: I52551012c88326cc3fd58d2e72e53f58fedb334b
Reviewed-on: http://review.typo3.org/36579
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
4 years ago[BUGFIX] Enhancing StripNewLinesFilter for Windows line breaks 78/36578/2
Ronny Vorpahl [Sun, 1 Feb 2015 11:20:58 +0000 (12:20 +0100)]
[BUGFIX] Enhancing StripNewLinesFilter for Windows line breaks

Currently the filter does not handle Windows line breaks.
This results in unfiltered Windows line breaks.
This patch adds Windows line break support to the filter function.
Furthermore the unit tests for the filter are extended to check
Windows line breaks as well.

Resolves: #64710
Releases: master, 6.2
Change-Id: I503657daaf693f1a28589bc7d8a9321ebae54e61
Reviewed-on: http://review.typo3.org/36578
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
4 years ago[BUGFIX] FAL: Do not paste a folder into itself 48/36548/2
Helmut Hummel [Thu, 29 Jan 2015 21:03:57 +0000 (22:03 +0100)]
[BUGFIX] FAL: Do not paste a folder into itself

If a folder is selected in fileadmin, which is already in
the clipboard, the paste icon is not shown to prevent
a endlessly nested folder structure.

Also the correct exception is thrown in ResourceStorage
if it occurs anyway.

Resolves: #51670
Releases: master, 6.2
Change-Id: I996cb8eede1371e479f756f18e1ede03f65950cb
Reviewed-on: http://review.typo3.org/36548
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
4 years ago[BUGFIX] ExtractorRegistry can not handle Extractors with same priority 55/36555/2
Fabien Udriot [Sat, 31 Jan 2015 13:24:11 +0000 (14:24 +0100)]
[BUGFIX] ExtractorRegistry can not handle Extractors with same priority

The ExtractorRegistry::getExtractors() overrides existing
instances with the same execution priority. There is no check
or notification about this. As instance, it could be that you
have a extractor for Local driver and an extractor for a remote
driver with the same execution priority, that is currently not possible.

The change set also keep in sync some part of the code with
the FileRenderRegistry which is very close to the Extractor Registry.

Change-Id: I42fdd3916410536a0b097d96cf833129f5359d72
Releases: master, 6.2
Resolves: #56727
Reviewed-on: http://review.typo3.org/36555
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
4 years ago[BUGFIX] Felogin: Ignore scheme in isInCurrentDomain 54/36554/2
Jigal van Hemert [Fri, 14 Dec 2012 21:30:18 +0000 (22:30 +0100)]
[BUGFIX] Felogin: Ignore scheme in isInCurrentDomain

While determining if the referrer is in the current domain the
scheme part should be ignored. This makes it possible to have the
login page using https and the rest http.

Resolves: #32618
Releases: master, 6.2
Change-Id: Ic411e3b18d22b96ae5e5a955d88d6270a05116a7
Reviewed-on: http://review.typo3.org/36554
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[TASK] Add test for NULL fields when comparing SQL field definitions 38/36538/2
Stephan Großberndt [Sat, 31 Jan 2015 16:43:33 +0000 (17:43 +0100)]
[TASK] Add test for NULL fields when comparing SQL field definitions

Resolves: #64697
Releases: master, 6.2
Change-Id: I6d08445633af54d64f9176fc7b691e318d08d897
Reviewed-on: http://review.typo3.org/36538
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[CLEANUP] Rework/simplify copyright header and remove @package 37/36537/2
Stephan Großberndt [Sat, 31 Jan 2015 15:29:14 +0000 (16:29 +0100)]
[CLEANUP] Rework/simplify copyright header and remove @package

Align some files with old copyright headers, mostly in extbase and
fluid sysext which were missed in Task #59535. Also remove some left
@package statements missed in Task #43019.

Resolves: #64689
Releases: master, 6.2
Change-Id: I9838c9be73cb3a310ef2572fcc3843ff53dbf724
Reviewed-on: http://review.typo3.org/36537
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Deactivate output buffer for FileDumpEID.php 33/36533/2
Roman Schuermann [Sat, 31 Jan 2015 09:33:29 +0000 (10:33 +0100)]
[BUGFIX] Deactivate output buffer for FileDumpEID.php

If you try to download large file via FileDumpEID.php you may
get an out of memory error.

Resolves: #64273
Releases: master, 6.2
Change-Id: Ie1fcf9eac5d8e7466bbfe6eb8357ed9ce62fa649
Reviewed-on: http://review.typo3.org/36533
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
4 years ago[BUGFIX] Improve functional test execution on Windows system 17/36517/3
Nicole Cordes [Sat, 31 Jan 2015 15:18:52 +0000 (16:18 +0100)]
[BUGFIX] Improve functional test execution on Windows system

On Windows systems you can execute several commands using '&' like
set typo3DatabaseUsername=root & set typo3DatabasePassword=root.
Unfortunately Windows sets those parameter with a trailing space. This
causes database connections not to work. Therefore the patch adds a trim
on getting system environment variables for database credentials for
functional tests.

Furthermore the PHP versions on Windows throw a warning on setting the
database name when the connection is closed. The warning is caught by
PHPUnit but the database tables aren't initialized correctly. This patch
adds an '@' to mute the warning.

Releases: master, 6.2
Resolves: #64680
Change-Id: If649b5bd440a3bd504f028a3c9c96c9d294d380c
Reviewed-on: http://review.typo3.org/36517
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
4 years ago[BUGFIX] Respect (NOT) NULL when comparing SQL field definitions 25/36525/2
Stephan Großberndt [Fri, 30 Jan 2015 10:23:17 +0000 (11:23 +0100)]
[BUGFIX] Respect (NOT) NULL when comparing SQL field definitions

When comparing the database or updating extensions the definitions for
NULL / NOT NULL in fields are now respected and updated.

Resolves: #64616
Releases: master, 6.2
Change-Id: I70c63339505b373023f24973313a2e673e8eaf86
Reviewed-on: http://review.typo3.org/36525
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Add only required classes and class aliases 60/36460/6
Helmut Hummel [Fri, 30 Jan 2015 17:47:56 +0000 (18:47 +0100)]
[BUGFIX] Add only required classes and class aliases

The static class and alias map now only contains a class map
and an alias map for required extensions.

This means that the traditional class loader will kick in for other
activated extensions.

Optionally it is possible to provide additional class and alias maps
in a distribution composer.json, this will however only work
if the TYPO3_COMPOSER_AUTOLOAD environment variable is set.

The latter is a precaution to not break backwards compatibility.

Releases: master, 6.2
Resolves: #64376
Change-Id: I4fd2202abad345c29bcb2b05d3702bdeef9e4474
Reviewed-on: http://review.typo3.org/36460
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
4 years ago[BUGFIX] Ensure unix like paths for temp files 07/36507/2
Nicole Cordes [Sat, 31 Jan 2015 11:18:32 +0000 (12:18 +0100)]
[BUGFIX] Ensure unix like paths for temp files

Using tempnam() on Windows systems returns paths containing backslashes.
As other paths inside the core are already transformed to paths using
forward slashes some string comparisons fail. This patch ensures correct
transforming of slashes after the usage of tempnam().

Releases: master, 6.2
Resolves: #64682
Change-Id: Ic85e06d9ed32c9f668efd5bb74b9bc14df367e1b
Reviewed-on: http://review.typo3.org/36507
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] FAL: Remove old publishing leftovers 95/36495/2
Benjamin Mack [Sat, 31 Jan 2015 11:23:19 +0000 (12:23 +0100)]
[TASK] FAL: Remove old publishing leftovers

The initial concept of having publishers
in the File Abstraction Layer was never
implemented.

The leftover code is removed.
No dependencies to the protected
method are found and can safely be
removed.

Resolves: #64683
Releases: master, 6.2
Change-Id: I4eca172bc9fd618ce80bd7c0158da73b01745a77
Reviewed-on: http://review.typo3.org/36495
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
4 years ago[BUGFIX] Gracefully show missing files in IRRE relations 89/36489/3
Jan Helke [Thu, 17 Apr 2014 13:24:58 +0000 (15:24 +0200)]
[BUGFIX] Gracefully show missing files in IRRE relations

When the database is inconsistent and a sys_file entry linked
from sys_file_reference does not exist anymore, an exception
is shown in the "page" module in the backend:

> No file found for given UID.

We will now gracefully show the reference as "broken" and let
the action up to the editor. Works for temporarily unavailable
storages too.

Releases: master, 6.2
Resolves: #58013
Change-Id: Ibce9bb3b60e9294aa1902b95c1b99337d3a8e2e6
Reviewed-on: http://review.typo3.org/36489
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Inform user about possibly missing Ghostscript tools 90/36490/2
Markus Klein [Sat, 31 Jan 2015 10:33:36 +0000 (11:33 +0100)]
[TASK] Inform user about possibly missing Ghostscript tools

Extend the error message for failing image tests to include a note
about possibly missing Ghostscript tools on the server.

Releases: master, 6.2
Resolves: #64677
Change-Id: I9dbc9e3b4afb8280c54d4ac87456f9272bdb0874
Reviewed-on: http://review.typo3.org/36490
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[TASK] Use resource API to deleted files from uploads in DataHandler 88/36488/2
Marc Bastian Heinrichs [Sat, 21 Jun 2014 13:49:34 +0000 (15:49 +0200)]
[TASK] Use resource API to deleted files from uploads in DataHandler

The DataHandler deletes files from the uploads folder. Since also a
sys_file record could exist for such file, the resource API should be
used to delete it.

Resolves: #58967
Releases: master, 6.2
Change-Id: I6c0b3683657e1c4da5f9ab0a2016e33b1e472f62
Reviewed-on: http://review.typo3.org/36488
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
4 years ago[BUGFIX] Files to FileStorage relations are now recorded in sys_refindex 86/36486/3
alinafleser [Fri, 30 Jan 2015 11:59:48 +0000 (13:59 +0200)]
[BUGFIX] Files to FileStorage relations are now recorded in sys_refindex

When a file (sys_file) is added/modified/deleted,
the relation to the file storage (sys_file_storage)
is recorded and updated in sys_refindex

Resolves: #64631
Related: #50871
Releases: master, 6.2
Change-Id: If95fac13c5530041948b3f9c896ebb390c31956a
Reviewed-on: http://review.typo3.org/36486
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>