8 years ago[BUGFIX] Replaced call to deprecated t3lib_div::testInt()
Bastian Waidelich [Wed, 14 Sep 2011 11:28:25 +0000 (13:28 +0200)]
[BUGFIX] Replaced call to deprecated t3lib_div::testInt()

Instead the replacing t3lib_utility_Math::canBeInterpretedAsInteger() is used
now in Typo3DbBackend.

Change-Id: Ib08f63e6082d7aea9bc31230b9c3dd248dd2f8c8

8 years ago[FEATURE] Skip default controller and action in generated URIs
Bastian Waidelich [Thu, 1 Sep 2011 16:35:41 +0000 (18:35 +0200)]
[FEATURE] Skip default controller and action in generated URIs

This adds a new feature that leaves out controller and/or action
arguments from generated URIs if they are equal to the default
controller/action of the target plugin.
NOTE: This feature is disabled by default because it has
unpredictable side-effects, if you override default action/controllers
via Flexform.
You can enable this with following TypoScript:
plugin.tx_<yourExtensionName>.features.skipDefaultArguments = 1

But make sure that you're not using "switchableControllerActions"
settings in your plugin FlexForms for this extension.

Change-Id: I5baf0b3f3e5470bf8eec5537af7bd5246caa1c24
Resolves: #8344

8 years ago[FEATURE] Setting a scheme for a URI
Stefan Neufeind [Sat, 11 Jun 2011 14:02:03 +0000 (16:02 +0200)]
[FEATURE] Setting a scheme for a URI

Allow specifying an URI-scheme like "https".

Change-Id: Ifff775b188328b7caf5bdf4bde8d5f5b8834e3a9
Resolves: #9969

8 years agoMerge "[TASK] Remove deprecated methods & properties"
Bastian Waidelich [Mon, 12 Sep 2011 09:33:34 +0000 (11:33 +0200)]
Merge "[TASK] Remove deprecated methods & properties"

8 years agoMerge "[BUGFIX] Tx_Extbase_Utility_Localization::translate() must return NULL for...
Bastian Waidelich [Fri, 9 Sep 2011 19:42:36 +0000 (21:42 +0200)]
Merge "[BUGFIX] Tx_Extbase_Utility_Localization::translate() must return NULL for non-existing keys"

8 years ago[BUGFIX] Don't clone ContentObject in ConfigurationManager
Bastian Waidelich [Fri, 9 Sep 2011 18:27:00 +0000 (20:27 +0200)]
[BUGFIX] Don't clone ContentObject in ConfigurationManager

This reverts Ia3271303e571931b1d9c45e37f2b1455987e1ce0 which
introduced a regression:
Cloning the cObject will break non-cacheable actions in
otherwise cacheable Plugins because convertToUserIntObject()
has to be called on the current cObject.

Change-Id: I831fa9dbe58c572e40b7c89e5b8ff32e9f935b78
Related: #12332

8 years ago[TASK] Remove deprecated methods & properties
Bastian Waidelich [Fri, 9 Sep 2011 15:52:20 +0000 (17:52 +0200)]
[TASK] Remove deprecated methods & properties

This removes some deprecated methods and calls to them.
Namely Tx_Extbase_Persistence_Query::withUid()
and Tx_Extbase_Utility_TypeHandling::*().
Besides this fixes a doc comment and removes the obsolete

Change-Id: I1d08783053c348e34efbc602af57b72f37afe6b8
Resolves: #13745

8 years ago[BUGFIX] Tx_Extbase_Utility_Localization::translate() must return NULL for non-existi...
Bastian Waidelich [Fri, 9 Sep 2011 14:57:34 +0000 (16:57 +0200)]
[BUGFIX] Tx_Extbase_Utility_Localization::translate() must return NULL for non-existing keys

Apparently the behavior of t3lib_fe->sL() changed resulting in
Tx_Extbase_Utility_Localization::translate() returning FALSE if
the given locallang key does not exist.
The translation ViewHelper of Fluid however expects NULL to be
returned in that case.

Change-Id: Id816d2e9e586ceaf663c123018996e53103ee70b

8 years ago[BUGFIX] Clone ContentObject
Bastian Waidelich [Wed, 7 Sep 2011 14:42:26 +0000 (16:42 +0200)]
[BUGFIX] Clone ContentObject

ConfigurationManager::getContentObject() currently always returns
the original instance of the cObject that has been initialized in
the extbase bootstrap.
Sharing the same instance between multiple plugins leads to several
issues, one of them creating duplicate id attributes when using
css styled content and cObject ViewHelper.

This is fixed by cloning the cObject before returning it.

Thanks to Thomas Heilmann for reporting!

Change-Id: Ia3271303e571931b1d9c45e37f2b1455987e1ce0
Fixes: #12332

8 years ago[BUGFIX] Fix method visibility of AbstractConfigurationManager::getTypoScriptSetup()
Bastian Waidelich [Thu, 1 Sep 2011 16:06:08 +0000 (18:06 +0200)]
[BUGFIX] Fix method visibility of AbstractConfigurationManager::getTypoScriptSetup()

This method should be public (and it is in the implementing sub classes - so this is rather
a cosmetical fix).

Change-Id: Ief915d8c559e1b926c53eb556d1e2f9084fdf44b

8 years ago[TASK] Convert XLIFF files to Tab indentation
Xavier Perseguers [Tue, 30 Aug 2011 20:05:41 +0000 (22:05 +0200)]
[TASK] Convert XLIFF files to Tab indentation

Change-Id: I8b6680d1a2793886b0bcadab29e40bee27402d8c
Resolves: #29306

8 years agoMerge "[BUGFIX] XLIFF: Approved attribute is on wrong element"
Xavier Perseguers [Fri, 26 Aug 2011 08:05:16 +0000 (10:05 +0200)]
Merge "[BUGFIX] XLIFF: Approved attribute is on wrong element"

8 years ago[BUGFIX] XLIFF: Approved attribute is on wrong element
Xavier Perseguers [Fri, 26 Aug 2011 07:51:54 +0000 (09:51 +0200)]
[BUGFIX] XLIFF: Approved attribute is on wrong element

Attribute "approved" is currently put on "target" element instead
of "trans-unit".

Change-Id: I1b766376775569888edb025227bcd4cbadccc424
Fixes: #29262
Releases: 4.6

8 years agoMerge "[+BUGFIX] Added missing initializeView method in EmptyView"
Sebastian Kurfuerst [Fri, 19 Aug 2011 06:25:08 +0000 (08:25 +0200)]
Merge "[+BUGFIX] Added missing initializeView method in EmptyView"

8 years ago[+BUGFIX] Fixing incorrect references to F3 classes
Claus Due [Thu, 18 Aug 2011 17:12:30 +0000 (19:12 +0200)]
[+BUGFIX] Fixing incorrect references to F3 classes

This change fixes some incorrect references to F3 classes
missed during backporting. This fixes #28816 for Extbase,
while #Ie2551cbc fixes it for Fluid.

Thanks to Jaume for reporting!

Change-Id: I1623d70715e80812fde079f9a4faa080b9d66eed
Fixes: #28816

8 years ago[+BUGFIX] Added missing initializeView method in EmptyView
Claus Due [Thu, 18 Aug 2011 17:03:13 +0000 (19:03 +0200)]
[+BUGFIX] Added missing initializeView method in EmptyView

This change adds an empty function to observe method
requirements set by the interface.

Thanks to Jay Dinse for reporting!

Change-Id: Ie2551cbccfe8eb6d5afb6f9490107b254f38d4a6
Fixes: #28966

8 years ago[+BUGFIX] Fix classname of Exception, ConfigurationManager
Claus Due [Mon, 15 Aug 2011 12:53:09 +0000 (14:53 +0200)]
[+BUGFIX] Fix classname of Exception, ConfigurationManager

Removed extraneous "Exception" part from class name of exception
thrown on incorrect configuration type. Thanks to Mathias Brodala
for reporting!

Change-Id: I13adc6353e76989bdcc9e3c5e4a8934012d5f571
Fixes: #28480

8 years agoMerge "[TASK] Replace LLXML file by XLIFF file"
Sebastian Kurfuerst [Tue, 2 Aug 2011 09:41:51 +0000 (11:41 +0200)]
Merge "[TASK] Replace LLXML file by XLIFF file"

8 years agoImproved ChangeLog
Sebastian Kurfuerst [Tue, 2 Aug 2011 08:52:11 +0000 (10:52 +0200)]
Improved ChangeLog

Change-Id: Iad0f4f5da4461b909254d4ebfcf8a93db9db00af

8 years ago[!!!][TASK] Enable rewritten property mapper by default
Sebastian Kurfuerst [Tue, 2 Aug 2011 08:30:12 +0000 (10:30 +0200)]
[!!!][TASK] Enable rewritten property mapper by default

Change-Id: I6b415ee9502c242013661ee85acb6ae77218fb2d

8 years agoUpdated ChangeLog; raised version number
Sebastian Kurfuerst [Tue, 2 Aug 2011 08:28:06 +0000 (10:28 +0200)]
Updated ChangeLog; raised version number

Change-Id: I920b3b23abc32e79f184380a92cce7ce0d03d277

8 years agoMerge "[FEATURE] Speed up ObjectAccess"
Sebastian Kurfuerst [Tue, 2 Aug 2011 05:20:27 +0000 (07:20 +0200)]
Merge "[FEATURE] Speed up ObjectAccess"

8 years ago[TASK] Replace LLXML file by XLIFF file
Dominique Feyer [Mon, 1 Aug 2011 18:10:05 +0000 (20:10 +0200)]
[TASK] Replace LLXML file by XLIFF file

Change-Id: Ia23e06ab5efc9a90f08c42fe54a4aadddcb0d92d

8 years ago[+FEATURE] Extbase (Persistence): Allow pid of object to be set from action-controller
Stefan Neufeind [Fri, 10 Jun 2011 19:51:28 +0000 (21:51 +0200)]
[+FEATURE] Extbase (Persistence): Allow pid of object to be set from action-controller

If pid of an object is set then
needs to give it priority.

Thanks to Michael Budnick and Balisky Christophe.

Change-Id: Ib99400eb6947044dd190d47de5dce0c63444bb20
Resolves: #7572

8 years ago[FEATURE] Speed up ObjectAccess
Bastian Waidelich [Thu, 28 Jul 2011 14:40:30 +0000 (16:40 +0200)]
[FEATURE] Speed up ObjectAccess

This change improves performance of ObjectAccess::getProperty(),
ObjectAccess::getPropertyPath() and ObjectAccess::isPropertyGettable()
by roughly 100% by changing the order of type handling and reducing the
amount of type checks in internal calls.

This should not change the behavior in most cases, unit tests
are still running through.

Change-Id: I2a5e2242d0c9cf76a3523dd45e73284ec770b55c

8 years agoMerge "[+FEATURE] Extbase (Persistence): Allow removing previously set limit with...
Stefan Neufeind [Sun, 31 Jul 2011 18:44:16 +0000 (20:44 +0200)]
Merge "[+FEATURE] Extbase (Persistence): Allow removing previously set limit with unsetLimit()"

8 years ago[+FEATURE] Extbase (Persistence): Allow removing previously set limit with unsetLimit()
Stefan Neufeind [Sun, 19 Jun 2011 15:17:18 +0000 (17:17 +0200)]
[+FEATURE] Extbase (Persistence): Allow removing previously set limit with unsetLimit()

$limit is initially unset and can be set with setLimit().
Using unsetLimit() it is possible to reset that limit now.

Change-Id: I6040c6b655439066af1716d7af07d1e0ff7bfbdc
Resolves: #27445

8 years ago[-TASK] Remove autoloader
Christian Kuhn [Fri, 15 Jul 2011 23:22:02 +0000 (01:22 +0200)]
[-TASK] Remove autoloader

With core issue #21144 the extbase autoloader was moved to the core.
This patch removes the according code from extbase since class file locations
based on the extbase class naming scheme is now handled and cached by the core.

Thanks to Christian Kuhn.

Change-Id: I73b5fc592882f142726fbb4962845e57aa7c1dfe
Resolves: #28249
Depends: #21144

8 years ago[+FEATURE] introduce signal in MVC/Dispatcher
Felix Oertel [Sat, 9 Jul 2011 13:09:47 +0000 (15:09 +0200)]
[+FEATURE] introduce signal in MVC/Dispatcher

Introuce signal dispatched after a request has been dispatched.

Change-Id: Ia274306265d59fa5d5e14e08777025813ea307a7

8 years agoMerge "[-BUGFIX] remove datecheck on timezone test"
Stefan Neufeind [Sat, 16 Jul 2011 13:08:04 +0000 (15:08 +0200)]
Merge "[-BUGFIX] remove datecheck on timezone test"

8 years ago[TASK] Correct classnaming for Tx_Extbase_Tests_Unit_BaseTestCase
Stefan Neufeind [Fri, 15 Jul 2011 06:08:41 +0000 (08:08 +0200)]
[TASK] Correct classnaming for Tx_Extbase_Tests_Unit_BaseTestCase

Must be Tx_Extbase_Tests_Unit_BaseTestCase
not Tx_Extbase_BaseTestCase, which currently only
works because of ext_autoload.php.

Change-Id: Iac06b2ae5ae52d2661b32faf257fe802cad64ccb

8 years ago[-BUGFIX] remove datecheck on timezone test
Felix Oertel [Wed, 13 Jul 2011 22:20:57 +0000 (00:20 +0200)]
[-BUGFIX] remove datecheck on timezone test

When testing between 00:00 and 01:00 GMT+1 the timezone test fails,
because in this time the date in the set timezone differs from the
date in your timezone.

The assert for the date is not needed here, as only the set timezone
is going to be tested.

Change-Id: I6300a3c826e35ea6dd5b30f27fce05b9d81d6284

8 years ago[+FEATURE] remove usage of deprecated methods in unit-tests
Felix Oertel [Wed, 13 Jul 2011 21:41:19 +0000 (23:41 +0200)]
[+FEATURE] remove usage of deprecated methods in unit-tests

Using PHPUnit 3.5 some methods are marked deprecated as they
will be removed in PHPUnit 3.6. This methods should not longer
be used.

Change-Id: I61a84f9d9bd5a4d0e412a3db8956d0343e996d44

8 years agoMerge "[BUGFIX] Adjust unit tests to changes"
Felix Oertel [Tue, 12 Jul 2011 17:48:24 +0000 (19:48 +0200)]
Merge "[BUGFIX] Adjust unit tests to changes"

8 years ago[BUGFIX] Adjust unit tests to changes
Bastian Waidelich [Tue, 12 Jul 2011 16:33:49 +0000 (18:33 +0200)]
[BUGFIX] Adjust unit tests to changes

Apparently unit tests were not green for a while.
This change fixes this.
Besides it removes "static" modifiers from
TypeHandlingService::isLiteral() and

Change-Id: I9ef82ec6c477bf1b5dd29731167ee34e8012404f

8 years ago[BUGFIX] create ClassSchema with ObjectManager::create()
Bastian Waidelich [Tue, 12 Jul 2011 16:33:01 +0000 (18:33 +0200)]
[BUGFIX] create ClassSchema with ObjectManager::create()

ClassSchema is a prototype and should thus not beeing
build with ObjectManager::get().
This is fixed with this change.

Change-Id: Id50b959bb2259e22621b3e7a4b98905e161cf668

8 years ago[BUGFIX] TypeHandling class not found
Bastian Waidelich [Tue, 12 Jul 2011 15:18:51 +0000 (17:18 +0200)]
[BUGFIX] TypeHandling class not found

This is a hotfix for #28121

Change-Id: I7c8d74e77ed09112b5ec86668f129d247a558261
Resolves: #28121

8 years ago[TASK] Extbase (Utility): Add service for TypeHandling
Stefan Neufeind [Sat, 9 Jul 2011 21:06:22 +0000 (23:06 +0200)]
[TASK] Extbase (Utility): Add service for TypeHandling

Transforms static utility-class for TypeHandling into
a service, including testcases.

Related: #13864

Change-Id: Icf30bda56db41337b03281e59d1f8d343bda0ae1

8 years agoMerge "[+BUGFIX] Extbase: CGL: Convert case of acronyms from UPPERCASE to CamelCase"
Stefan Neufeind [Sat, 9 Jul 2011 20:54:50 +0000 (22:54 +0200)]
Merge "[+BUGFIX] Extbase: CGL: Convert case of acronyms from UPPERCASE to CamelCase"

8 years ago[+BUGFIX] Extbase: CGL: Convert case of acronyms from UPPERCASE to CamelCase
Stefan Neufeind [Sat, 9 Jul 2011 20:52:38 +0000 (22:52 +0200)]
[+BUGFIX] Extbase: CGL: Convert case of acronyms from UPPERCASE to CamelCase

According to CGL things like setRequestURI need to be named setRequestUri

Change-Id: I5e1b4b32a3cd736f8666c1963269398097f99145
Resolves: #12189

8 years ago[TASK] Extbase: Use strpos() instead of strstr() where possible
Stefan Neufeind [Sat, 11 Jun 2011 20:38:01 +0000 (22:38 +0200)]
[TASK] Extbase: Use strpos() instead of strstr() where possible

Faster and less memory-intensive if just checking for presence
of one character (according to PHP-documentation).

Change-Id: Idb05355dcacc8257f497ee7fc5abe293c9d592f7

8 years agoMerge changes I4241f1e3,Ic91d8ad1
Stefan Neufeind [Sat, 9 Jul 2011 17:57:47 +0000 (19:57 +0200)]
Merge changes I4241f1e3,Ic91d8ad1

* changes:
  [+BUGFIX] clean up ObjectStorage
  Revert "[+BUGFIX] clean up ObjectStorage"

8 years ago[+BUGFIX] clean up ObjectStorage
Felix Oertel [Thu, 19 May 2011 09:47:27 +0000 (11:47 +0200)]
[+BUGFIX] clean up ObjectStorage

* smaller doc adjustments
* rename storage to objectStorage when used as argument

(Resubmit from reverted Change-Id: Ib45ff231358c25fc53d032f8b81fa88ca3408afe)

Change-Id: I4241f1e30c9bdc5d779ca6417cc734c44ea1a79d

8 years agoRevert "[+BUGFIX] clean up ObjectStorage"
Stefan Neufeind [Sat, 9 Jul 2011 17:34:09 +0000 (19:34 +0200)]
Revert "[+BUGFIX] clean up ObjectStorage"

This reverts commit 01ff47c3d4394eef63a4db4eca181df644743ebb

8 years agoMerge "[TASK] Extbase (Persistence): Remove duplicate registration in identity map"
Stefan Neufeind [Sat, 9 Jul 2011 17:05:55 +0000 (19:05 +0200)]
Merge "[TASK] Extbase (Persistence): Remove duplicate registration in identity map"

8 years agoMerge "[+BUGFIX] clean up ObjectStorage"
Stefan Neufeind [Sat, 9 Jul 2011 17:04:06 +0000 (19:04 +0200)]
Merge "[+BUGFIX] clean up ObjectStorage"

8 years agoMerge "[TASK] Adjust PHP dependency in ext_emconf.php"
Marc Bastian Heinrichs [Sat, 9 Jul 2011 14:49:11 +0000 (16:49 +0200)]
Merge "[TASK] Adjust PHP dependency in ext_emconf.php"

8 years agoMerge "[FEATURE] Add check for loaded DBAL to requirements check"
Marc Bastian Heinrichs [Sat, 9 Jul 2011 14:48:42 +0000 (16:48 +0200)]
Merge "[FEATURE] Add check for loaded DBAL to requirements check"

8 years ago[+BUGFIX] allow skipping of arguments in signal dispatch
Felix Oertel [Sat, 9 Jul 2011 13:00:50 +0000 (15:00 +0200)]
[+BUGFIX] allow skipping of arguments in signal dispatch

The SignalSlotDispatcher requires an array of arguments when dispatching a signal.
It should be perfectly fine to call it without.

Change-Id: Ifb8633ce9c62a545b2fabe6ed265e3749f5e8545

8 years ago[TASK] Adjust PHP dependency in ext_emconf.php
Bastian Waidelich [Sat, 9 Jul 2011 13:18:07 +0000 (15:18 +0200)]
[TASK] Adjust PHP dependency in ext_emconf.php

With Extbase 1.4 PHP version 5.3+ is required

Change-Id: I09f070f46eb3739012e3ce1343215210450daae2

8 years ago[FEATURE] Add check for loaded DBAL to requirements check
Bastian Waidelich [Sat, 9 Jul 2011 13:16:47 +0000 (15:16 +0200)]
[FEATURE] Add check for loaded DBAL to requirements check

This adds a status report to ExtbaseRequirementsCheck that will
inform the user if the dbal Extension is installed.

Besides this slightly modifies the existing doc commend check
so it uses the new Bootstrap instead of the deprecated

Change-Id: I5fed623316b955853c7dabeca716ebc5be490952

8 years ago[+BUGFIX] clean up ObjectStorage
Felix Oertel [Thu, 19 May 2011 09:47:27 +0000 (11:47 +0200)]
[+BUGFIX] clean up ObjectStorage

* smaller doc adjustments
* rename storage to objectStorage when used as argument

Change-Id: Ib45ff231358c25fc53d032f8b81fa88ca3408afe

8 years agoMerge "[+BUGFIX] ObjectStorage->toArray(): fix array pointer problem"
Claus Due [Fri, 1 Jul 2011 12:09:06 +0000 (14:09 +0200)]
Merge "[+BUGFIX] ObjectStorage->toArray(): fix array pointer problem"

8 years ago[TASK] Recreate ext_autoload.php
Bastian Waidelich [Thu, 30 Jun 2011 09:21:19 +0000 (11:21 +0200)]
[TASK] Recreate ext_autoload.php

Using the Extension Development Evaluator

Change-Id: Icb8ad8b2190dba8ea27a2bd36669d7bb71d2b4ee
Resolves: #27680

8 years ago[!!!][+FEATURE] (MVC): Modify MVC stack to use the new property mapper
Sebastian Kurfuerst [Tue, 21 Jun 2011 08:06:33 +0000 (10:06 +0200)]
[!!!][+FEATURE] (MVC): Modify MVC stack to use the new property mapper

* use Error_Result for validation errors and property mapping errors
* use new Property Mapper
* use new validation API
* removed @dontvalidate annotation, and replaced it by @ignorevalidation.

The new behavior is only exposed when the feature flag is enabled.
For testing this functionality, follow the instructions in the related issue.

This also brings the AbstractController and ActionController in sync with
FLOW3 again.

Resolves: #27656
Change-Id: I4c888f42eb6e366b2a939e129c6ae3b60eb03581

8 years ago[!!!][+FEATURE] (Validation): Adjusted and re-done Validation API
Sebastian Kurfuerst [Wed, 22 Jun 2011 14:56:51 +0000 (16:56 +0200)]
[!!!][+FEATURE] (Validation): Adjusted and re-done Validation API

* Completely reworked Validation API, adjusting all validators.
  Validators now return a Error_Result object.
* Validators can now be singletons or prototypes
* Validator options are passed in the constructor

The whole change is *backwards-compatible*, so all default validators can be
used with the new MVC stack in Extbase 1.4, and with the MVC stack in
compatibility mode.

The same goes for *custom validators* which extend *AbstractValidator*. They
are automatically upwards-compatible.

!!! If an extension author directly implemented the *ValidatorInterface*,
he needs to adjust his validator to support the new API.

Resolves: #27653
Change-Id: I6b3c9f4a629728f7e1fa2cd672f38f69c7321f52

8 years ago[+FEATURE] (Property): Add new property mapper
Sebastian Kurfuerst [Tue, 21 Jun 2011 07:20:44 +0000 (09:20 +0200)]
[+FEATURE] (Property): Add new property mapper

This changeset adds the new property mapper, alongside of the old one.
It is not used yet in the MVC framework.

Related: #27059
Change-Id: Ibc71a99a16f995ba608b1e1de61c7c9fcf4dc784

8 years ago[+FEATURE] (Persistence): Synchronize PersistenceManagerInterface more with FLOW3
Sebastian Kurfuerst [Wed, 22 Jun 2011 12:40:02 +0000 (14:40 +0200)]
[+FEATURE] (Persistence): Synchronize PersistenceManagerInterface more with FLOW3

* adds the methods getObjectByIdentifier and getIdentifierByObject directly to
  the Persistence Manager and interface, and marks it as public API.

Resolves: #27657
Change-Id: I14c4b5bad2d91d86801cb6ac873993f8e75a371b

8 years ago[+FEATURE] (Reflection): Object Access can now access private properties
Sebastian Kurfuerst [Wed, 22 Jun 2011 06:33:49 +0000 (08:33 +0200)]
[+FEATURE] (Reflection): Object Access can now access private properties

Resolves: #27652
Related: #27059
Change-Id: I93a31053f29e18791539033e262f32b41f21222e

8 years ago[+FEATURE] (Utility): synchronize TypeHandling class with FLOW3
Sebastian Kurfuerst [Tue, 21 Jun 2011 07:44:40 +0000 (09:44 +0200)]
[+FEATURE] (Utility): synchronize TypeHandling class with FLOW3

Also backports unit tests from FLOW3.

Resolves: #27651
Related: #27059
Change-Id: Ia76dfef73ad9833305a5493114cf99c99ce02157

8 years ago[!!!][FEATURE] Improve error and message handling
Sebastian Kurfuerst [Tue, 21 Jun 2011 07:17:14 +0000 (09:17 +0200)]
[!!!][FEATURE] Improve error and message handling

- Error\Result as base class for generic "Results" (used by validation
  and by Property Mapping)
- Error\Message as base class for a generic error message, with
  subclasses Error, Warning and Notice.

This is a backport of f25803698d14e994a8c6582c6d47299ded2ca567 from FLOW3.

Resolves: #27650
Related: #27059
Change-Id: I6882744fb0121f2faa7733b250bef88b34e550a9

8 years ago[TASK] (MVC, Property): Deprecation of the the old property mapper
Sebastian Kurfuerst [Tue, 21 Jun 2011 06:43:24 +0000 (08:43 +0200)]
[TASK] (MVC, Property): Deprecation of the the old property mapper

Related: #27059
Change-Id: I9d11777ee44194f05f9e5a70f761695298a5ad5f

8 years ago[+FEATURE] (Configuration): Feature flag implementation
Sebastian Kurfuerst [Thu, 30 Jun 2011 05:14:29 +0000 (07:14 +0200)]
[+FEATURE] (Configuration): Feature flag implementation

In order to provide new features and stay backwards-compatible at the same time,
the framework has to distinguish at some points between old code and new code
with breaking changes.
At these points, the feature flag should be used.

Note: This is right now only an INTERNAL API, not to be used by Extension
Developers yet. It is needed as a basis for the new Property Mapper and MVC
adjustments, but it this solution will be revised at the T3DD11.

Related: #27070
Related: #27059
Change-Id: I29d79efb359ae8e61a8e4c08cd04037296e33720

8 years ago[+BUGFIX] (Persistence): return correct objectCountByQuery when query
Marc Bastian Heinrichs [Sun, 6 Mar 2011 15:21:53 +0000 (16:21 +0100)]
[+BUGFIX] (Persistence): return correct objectCountByQuery when query
contains left join and no limit

When using DISTINCT with COUNT, the DISTINCT has to be inside the
COUNT otherwise the DISTINCT works only on the returned single number
of rows with doublets, what has no effect.

Fixes: #13075

Change-Id: Ie2359d593004e012ca71ac5769b8806b43596855

8 years agoMerge "[+BUGFIX] Cloning a ValueObject should not set its uid to NULL"
Stefan Neufeind [Sun, 26 Jun 2011 15:57:47 +0000 (17:57 +0200)]
Merge "[+BUGFIX] Cloning a ValueObject should not set its uid to NULL"

8 years ago[BUGFIX] Adapt cache configuration to 4.6
Christian Kuhn [Sun, 19 Jun 2011 11:40:35 +0000 (13:40 +0200)]
[BUGFIX] Adapt cache configuration to 4.6

Change-Id: Ifcc5f66cd61c32bf2bf219da21eea67939d3b77c
Resolves: #27546
Depends: #27506
Depends: #27536

8 years agoMerge "[BUGFIX] Fix case of setChildSortByFieldName in DataMapFactory"
Stefan Neufeind [Fri, 24 Jun 2011 01:16:11 +0000 (03:16 +0200)]
Merge "[BUGFIX] Fix case of setChildSortByFieldName in DataMapFactory"

8 years agoMerge "[+FEATURE] Extbase (MVC): Make response format configurable in TypoScript"
Stefan Neufeind [Fri, 24 Jun 2011 01:03:43 +0000 (03:03 +0200)]
Merge "[+FEATURE] Extbase (MVC): Make response format configurable in TypoScript"

8 years ago[+BUGFIX] (SignalSlot): Fix unit tests
Sebastian Kurfuerst [Thu, 23 Jun 2011 05:53:43 +0000 (07:53 +0200)]
[+BUGFIX] (SignalSlot): Fix unit tests

Resolves: #27550
Change-Id: Idddd477af6ff278473626455a963ebea925a4242

8 years ago[+BUGFIX] Make ObjectManager::isRegistered work
Sebastian Kurfuerst [Mon, 20 Jun 2011 08:56:40 +0000 (10:56 +0200)]
[+BUGFIX] Make ObjectManager::isRegistered work

This is a followup change to I7a31f93e9855bb1e36c5953e86c3aef7322f548f,
which introduced several unwanted behaviors, the main problem being that
isRegistered would not work for all objects being created implicitely through
dependency injection.

Furthermore, the change removes the @api annotations again, after discussing
that with Bastian, we do not see a benefit in providing that to the user right now.

Change-Id: Ibe4221c288daf9b10cc3f0decaa33bfccb5f9430

8 years ago[+FEATURE] backport SignalSlotDispatcher
Felix Oertel [Mon, 11 Apr 2011 23:20:26 +0000 (01:20 +0200)]
[+FEATURE] backport SignalSlotDispatcher

The SignalSlotDispatcher is a great way to have a centralized
EventHandler in Extbase. The SignalAspect was omitted as we don't
have AOP in Extbase. We have to dispatch all the Signals ourself.
Some exemplary Signals will be committed in another change.

The code of the SignalSlotDispatcher itself was backported

Change-Id: I7891ee06af495c73c6ec7883ee83fa4540d82350

8 years agoMerge "[+FEATURE] implement ObjectManager::isRegistered()"
Stefan Neufeind [Sun, 19 Jun 2011 14:21:58 +0000 (16:21 +0200)]
Merge "[+FEATURE] implement ObjectManager::isRegistered()"

8 years agoMerge "[+TASK] Extbase: Move static typoscript utility methods to a service"
Stefan Neufeind [Sun, 19 Jun 2011 14:10:52 +0000 (16:10 +0200)]
Merge "[+TASK] Extbase: Move static typoscript utility methods to a service"

8 years agoMerge "[+BUGFIX] Extbase (Validation): E-mail address with space at the end is invalid"
Stefan Neufeind [Sun, 19 Jun 2011 13:58:36 +0000 (15:58 +0200)]
Merge "[+BUGFIX] Extbase (Validation): E-mail address with space at the end is invalid"

8 years agoMerge "[+BUGFIX] Fix localization handling to support XLIFF"
Sebastian Kurfuerst [Sun, 19 Jun 2011 09:49:03 +0000 (11:49 +0200)]
Merge "[+BUGFIX] Fix localization handling to support XLIFF"

8 years agoMerge "[+BUGFIX] Throw exception if a class to be reflected does not exist"
Stefan Neufeind [Fri, 17 Jun 2011 10:42:01 +0000 (12:42 +0200)]
Merge "[+BUGFIX] Throw exception if a class to be reflected does not exist"

8 years ago[+BUGFIX] Fix localization handling to support XLIFF
Xavier Perseguers [Wed, 15 Jun 2011 04:52:50 +0000 (06:52 +0200)]
[+BUGFIX] Fix localization handling to support XLIFF

Localization handling changed in TYPO3 4.6 since XLIFF
translation files are used instead of locallang XML.
Direct access to the localization array needs to be
adjusted while keeping the compatibility with TYPO3 4.5.

Change-Id: I4fef5ca8702093bd789f3dbec291baada9ffc1a3
Resolves: #27411

8 years agoMerge "[TASK][!!!] Fix localization handling to support XLIFF"
Xavier Perseguers [Tue, 14 Jun 2011 18:39:00 +0000 (20:39 +0200)]
Merge "[TASK][!!!] Fix localization handling to support XLIFF"

8 years ago[+BUGFIX] Extbase (Validation): E-mail address with space at the end is invalid
Stefan Neufeind [Mon, 13 Jun 2011 20:35:38 +0000 (22:35 +0200)]
[+BUGFIX] Extbase (Validation): E-mail address with space at the end is invalid

Add regex-check for additional whitespaces at the end.

Thanks to Marc Bastian Heinrichs

Change-Id: I784c25d50cc3114e93a7d015d7dd5d538fb2315e
Resolves: #27305

8 years agoMerge "[TASK] Extbase (Validation): Clean up tests for FloatValidatorTest and Integer...
Bastian Waidelich [Tue, 14 Jun 2011 16:56:32 +0000 (18:56 +0200)]
Merge "[TASK] Extbase (Validation): Clean up tests for FloatValidatorTest and Integer ValidatorTest"

8 years agoMerge "[BUGFIX] Fix EmailAddressValidatorTest"
Bastian Waidelich [Tue, 14 Jun 2011 16:55:32 +0000 (18:55 +0200)]
Merge "[BUGFIX] Fix EmailAddressValidatorTest"

8 years agoMerge "[+BUGFIX] Extbase (Persistence): Use correct language-uid for translations"
Bastian Waidelich [Tue, 14 Jun 2011 16:42:48 +0000 (18:42 +0200)]
Merge "[+BUGFIX] Extbase (Persistence): Use correct language-uid for translations"

8 years ago[+BUGFIX] Throw exception if a class to be reflected does not exist
Stefan Neufeind [Sat, 11 Jun 2011 10:06:42 +0000 (12:06 +0200)]
[+BUGFIX] Throw exception if a class to be reflected does not exist

avoid fatal PHP-errors by throwing an exception.
Thanks to Felix Oertel.

Change-Id: Id2f864947650920b61cf98c53de751bf18bb90b8
Fixes: #8718

8 years agoRevert "[BUGFIX] Extbase does not restrict queries to use only properties",
Sebastian Kurfuerst [Tue, 14 Jun 2011 06:22:31 +0000 (08:22 +0200)]
Revert "[BUGFIX] Extbase does not restrict queries to use only properties",

as it breaks things.

Related: #8494

This reverts commit 0d34415882d31dfc2f1cb75f78d6cd96cb694286.

Change-Id: Ie086fe48f38903f11d977ffe03745338c36c3e04

8 years ago[TASK][!!!] Fix localization handling to support XLIFF
Xavier Perseguers [Tue, 14 Jun 2011 05:53:34 +0000 (07:53 +0200)]
[TASK][!!!] Fix localization handling to support XLIFF

Due to change in localization handling within Core, Extbase
must be updated to get strings when retrieving labels.

Change-Id: I5a52da13887e1dbd59790425e2bd5139f224e93a
Resolves: #27411

8 years ago[TASK] Extbase (Validation): Clean up tests for FloatValidatorTest and Integer Valida...
Stefan Neufeind [Sun, 12 Jun 2011 20:08:46 +0000 (22:08 +0200)]
[TASK] Extbase (Validation): Clean up tests for FloatValidatorTest and Integer ValidatorTest

Use data-providers and clean copy-n-paste errors from comments.

Change-Id: I26e5d5dce00a8cb3b683ca87d41638de67c426d5

8 years agoMerge "[BUGFIX] Extbase does not restrict queries to use only properties"
Jochen Rau [Sun, 12 Jun 2011 15:43:53 +0000 (17:43 +0200)]
Merge "[BUGFIX] Extbase does not restrict queries to use only properties"

8 years ago[+BUGFIX] Extbase (Persistence): Use correct language-uid for translations
Stefan Neufeind [Sat, 11 Jun 2011 23:31:38 +0000 (01:31 +0200)]
[+BUGFIX] Extbase (Persistence): Use correct language-uid for translations

Extbase uses $GLOBALS['TSFE']->sys_language_uid to fetch the correct
translation. This works for sys_language_mode "strict" but
sys_language_content would be the correct language-id to use in all

Thanks to Benjamin Mack.

Change-Id: I20bbb99f598aab3654668a7df2c23f856fd7c269
Resolves: #26521

8 years ago[TASK] Extbase (Persistence): Remove duplicate registration in identity map
Stefan Neufeind [Sat, 11 Jun 2011 22:35:22 +0000 (00:35 +0200)]
[TASK] Extbase (Persistence): Remove duplicate registration in identity map

Remove identity-map registration from
since the object has already been registered in the DataMapper
in mapSingleRow().

Thanks to Alexander Stehlik.

Change-Id: I76382f6f12cbcc290f70cd52a465f2c92f7bf4c2
Resolves: #26875

8 years ago[BUGFIX] Fix EmailAddressValidatorTest
Lienhart Woitok [Sat, 11 Jun 2011 21:47:07 +0000 (23:47 +0200)]
[BUGFIX] Fix EmailAddressValidatorTest

The test for valid email addresses tried to iterate over a nonexistant array
of valid addresses instead of using the address passed by the data provider.
This fixes the test by testing with the value from the dataprovider.

Change-Id: If77015f7a0f811c678395a0b2113c90a3cd9d5f8

8 years ago[+FEATURE] Extbase (MVC): Make response format configurable in TypoScript
Stefan Neufeind [Sat, 11 Jun 2011 17:21:31 +0000 (19:21 +0200)]
[+FEATURE] Extbase (MVC): Make response format configurable in TypoScript

Allow configuring the response format via TypoScript, so it doesn't
necessarily need to be passed by URL. If a separate page is used
for a certain format/functionality this allows to configure the
desired format internally.

Thanks to Christian Zenker

Change-Id: Iec33afb8daae8074202cf1188ee0a32711ce7b18
Resolves: #9216

8 years ago[BUGFIX] Extbase does not restrict queries to use only properties
Stefan Neufeind [Sat, 11 Jun 2011 11:37:27 +0000 (13:37 +0200)]
[BUGFIX] Extbase does not restrict queries to use only properties

Check for restrictions and throw exceptions is needed.
Includes unittests.

Change-Id: I5886c402a08ad1e385092086a7755d61b567ec91
Resolves: #8494

8 years ago[BUGFIX] Docu, AbstractController: Clearer difference of forward/redirect
Stefan Neufeind [Fri, 10 Jun 2011 23:26:46 +0000 (01:26 +0200)]
[BUGFIX] Docu, AbstractController: Clearer difference of forward/redirect

Change-Id: Idc0c7b47cd39feab6f53a4275c752295b511d900
Resolves: #7900

8 years ago[BUGFIX] Fix case of setChildSortByFieldName in DataMapFactory
Stefan Neufeind [Fri, 10 Jun 2011 19:23:54 +0000 (21:23 +0200)]
[BUGFIX] Fix case of setChildSortByFieldName in DataMapFactory

Small case-fix in DataMapFactory

Change-Id: Ic438329d4dd2a7a3519bf77d5dd7022e8f4b3adb
Resolves: #27334

8 years agoMerge "[+BUGFIX] (Property) Fixed only adding objects to ObjectStorage"
Sebastian Kurfuerst [Thu, 9 Jun 2011 12:18:46 +0000 (14:18 +0200)]
Merge "[+BUGFIX] (Property) Fixed only adding objects to ObjectStorage"

8 years ago[+BUGFIX] (Property) Fixed only adding objects to ObjectStorage
Marc Bastian Heinrichs [Sun, 6 Mar 2011 18:06:53 +0000 (19:06 +0100)]
[+BUGFIX] (Property) Fixed only adding objects to ObjectStorage

The method transformToObject could return NULL, when value could not
be transformed. NULL should not be attached to ArrayObject or
ObjectStorage. Thanks to Thomas Maroschik.

Fixes: #13288

Change-Id: I3ac53571f831229d77ca6a228df4d91bb6cd5f77

8 years ago[+TASK] Extbase: Move static typoscript utility methods to a service
Bastian Waidelich [Tue, 7 Jun 2011 14:53:17 +0000 (16:53 +0200)]
[+TASK] Extbase: Move static typoscript utility methods to a service

Change-Id: Ifa6b40669f85083e3dd2ceddc2077a8ab784a1ef
Related: #13864

8 years ago[+TASK] Extbase: Move most of the static extension utility methods to a service
Bastian Waidelich [Tue, 22 Mar 2011 19:16:56 +0000 (20:16 +0100)]
[+TASK] Extbase: Move most of the static extension utility methods to a service

Change-Id: If7759c825126e1fbf78f034a7b9181348dbfee1a
Related: #13864

8 years ago[+BUGFIX] baseUri is added on external links
Sebastian Kurfuerst [Thu, 26 May 2011 17:13:31 +0000 (19:13 +0200)]
[+BUGFIX] baseUri is added on external links

On a redirect to an external URI via redirectToURI(),
the base URL is added by mistake.

Thanks to Michael Feinbier for this fix!

Change-Id: I641d5bd0de7ede81bf9ed6568290d554f9580138
Resolves: #10258

8 years ago[+BUGFIX] (Testing): Fix wrong doc comment in BaseTestCase
Sebastian Kurfuerst [Thu, 26 May 2011 16:36:41 +0000 (18:36 +0200)]
[+BUGFIX] (Testing): Fix wrong doc comment in BaseTestCase

Change-Id: I098d7328152213f36ee5e2d55bb92f981995823d
Resolves: #13695