1. 09 Sep, 2011 1 commit
    • Bastian Waidelich's avatar
      [TASK] Remove deprecated methods & properties · d04264c1
      Bastian Waidelich authored
      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
      TypeHandlingTest.
      
      Change-Id: I1d08783053c348e34efbc602af57b72f37afe6b8
      Resolves: #13745
      d04264c1
  2. 10 Mar, 2011 1 commit
    • Bastian Waidelich's avatar
      [+BUGFIX] Revert incorrect deletion of Query::count() & Query::withUid() · 5d3fcfb8
      Bastian Waidelich authored
      The methods Tx_Extbase_Persistence_Query::count() and
      Tx_Extbase_Persistence_Query::withUid() are deprecated.
      They have been removed in
      Ic1b6217bc6c9100b6c48c5d30eca6068417265a8.
      
      But the deletion is incomplete and leads to a fatal error
      We'll have to keep count() until version 1.5 according to the
      TYPO3 release policy.
      
      WithUid() is already deprecated since extbase 1.2 so it could
      be removed with 1.4. But it has to be removed from the interface
      and from all parts in the core that are still using it (currently two)
      
      Relates: #13745
      
      Change-Id: I390edfe3de1fe92a27723dcccdd6a6d098f5ac07
      5d3fcfb8
  3. 02 Nov, 2010 1 commit
    • Bastian Waidelich's avatar
      [+BUGFIX] Extbase: Some smaller tweaks and fixes · 35ce4341
      Bastian Waidelich authored
      [!!!][+FEATURE] Extbase (Persistence): Backport QueryResult from FLOW3
      
      Now Query::execute() returns an instance of QueryResultInterface that allows it to modify the query before actually accessing the records that it retrieves. This is required for the upcoming "Fluid widgets" backport (#10568).
      NOTE: This change is not backwards compatible, if you work with PHPs array_* functions on the query result. To work around this issue, you'll have to convert the query result to an array before by calling the QueryResult::toArray() method. We're planning to add a compatibility mode, but that's not yet implemented.
      
      Resolves: #10566
      35ce4341
  4. 15 Mar, 2010 1 commit
    • Jochen Rau's avatar
      [+BUGFIX] Extbase (Reflection): Fixed a bug that would occur if an array with... · d64ba0ca
      Jochen Rau authored
      [+BUGFIX] Extbase (Reflection): Fixed a bug that would occur if an array with a non-existing key would be passed to ObjectAccess::getProperty(). Related to #6073.
      [+BUGFIX] Extbase (Reflection): ObjectAccess::getProperty() now throws an exception when a property does not exist, fixes #6005.
      [~TASK] Extbase (Persistence): Removed implodeAnd() and implodeOr(). You can pass an array of constraints as an argument to logicalAnd() and logicalOr(), or you can pass one or more constraints directly as reguments. Resolves #6735.
      [~TASK] Extbase (Persistence): The unions are now translated into LEFT JOIN instead of INNER JOIN. And there is no pid constraint added for (internal) unions anymore. Related to #6735.
      [~TASK] Extbase: Empty DateTime field values are now translated into NULL as property value (0->NULL). This is necessary because of the way TYPO3 4.x treats 0 as a "special" timestamp. The same is with incoming values which are not accepted as constructor argument of a DateTime object.
      d64ba0ca
  5. 08 Mar, 2010 1 commit
    • Jochen Rau's avatar
      [!!!][~API] Extbase (Persistence): $query->execute() now returns a plain array... · ac8aad91
      Jochen Rau authored
      [!!!][~API] Extbase (Persistence): $query->execute() now returns a plain array of row-arrays instead of an RowIterator. This is a breaking change if you use your own Query object in combination with $querySettings->getRawQueryResult = TRUE.
      [~TASK] Extbase (Persistence): Refactored persistence layer (part I). Dropped QueryObjectModel. The Query-Object is now passed directly to the StorageBackend.
      [+API] Extbase (Persistence): Implemented methods in() and contains() in the Query-Object. Resolves #6707.
      [+FEATURE] Extbase (Persistence): It is now possible to ask contains() for mm-relations, e.g. $query->contains('categories', $category). Resolves #4679.
      ac8aad91
  6. 25 Nov, 2009 1 commit
  7. 27 Oct, 2009 1 commit
  8. 24 Oct, 2009 1 commit
  9. 05 Aug, 2009 1 commit
  10. 10 Jul, 2009 1 commit
    • Sebastian Kurfürst's avatar
      Extbase: · db92f57d
      Sebastian Kurfürst authored
      (Changes by Jochen)
      This commit merges the rewrite of the persistence layer back to trunk. It will probably break your existing installation. Please check out fluid and blog_example again.
      * Implemented an Object Manager (a wrapper for t3lib_div::makeInstance())
      * !!! Backport of the Query and the Query Object Model from FLOW3.
      * !!! Removed Repository->fetch*()
      * Splited the functionality of the Object Relational Mapper into the Persistence Backend, the Data Mapper and the SQL Storage Backend.
      * Implemented the Lazy Loading Proxy.
      * supported Request types is now Tx_Extbase_MVC_Request instead of Tx_Extbase_MVC_Web_Request.
      * Changed _reconstituteProperty() to _setProperty() (according to FLOW3).
      * Added _getProperty() to the Domain Object.
      * The Dispatcher now instanciates and uses a PersistenceManager to commit changes.
      * Added TypoScript converter method (to convert from new TS to classic TS). Fixes #3293.
      * Renamed SqlBackend to Typo3DbBackend
      * Now using constants in Tx_Extbase_Persistence_PropertyType instead of Tx_Extbase_Persistence_Mapper_ColumnMap
      * Improved conversion from table value to property value
      * Persistence_Repository: findByUid() checks now for positive integer
      * Fixed: Only Aggregate Roots are now registered as Reconstituted Objects
      * !!! Added _isNew() to the Domain Object Interface
      * Revision of the Persistence Backend (CRUD operations work now - again)
      * Fixed Query Object Model "UpperCase"
      * Implemented addRow(), deleteRow() and updateRow()
      * Fixed: _memorizeCleanState() now clones a property value if it is an object
      * Argument->findObjectByUid() memorizes now the clean state (todo: check if the object is an Aggregate Root)
      * Removed unnecessary method getRelations()
      * Fixed wrong class name of PropertyError; resolves issue #3855
      * Fixed typo in Persistence Query; resolves issue #3831
      * Changed: Equivalent Value Objects (all properties are equal) are now persisted only once
      * Backport and enhanced several Unit Tests (not finished yet)
      * Enhanced Base Test Case
      * Changed signature of hasValueObject()
      * Changed: hasValueObject() returns the uid of the already persisted value object - if any
      * Fixed: relation tables are now filled with the right values if a value object already exists in the database
      * Changed: The Persistence Manager and the Query Factory are now "injected" into the Arguments and Argument
      * Deleted obsolete files
      db92f57d
  11. 16 May, 2009 2 commits
    • Jochen Rau's avatar
      Extbase: · a963d0e6
      Jochen Rau authored
      * Removed all Query related class files and tests (will be reverted after TYPO3 4.3alpha3 was released)
      a963d0e6
    • Jochen Rau's avatar
      Extbase: · d3743fbc
      Jochen Rau authored
      * Extensive code cleanup
      * Deleted obsolete files
      d3743fbc
  12. 15 May, 2009 1 commit
    • Jochen Rau's avatar
      Extbase: · 22a2dbb6
      Jochen Rau authored
      * Changed naming $pluginKey to $pluginName
      * Deleted patches from the Documentation folder
      * Removed spl_autoload_register() from the BaseTestcase
      * Taken a few more steps towards the implementation of a Query object
      22a2dbb6
  13. 05 May, 2009 1 commit
    • Jochen Rau's avatar
      Extbase: · 83fb0fee
      Jochen Rau authored
      * Fixed Bug #3221: When EXT:fluid is not loaded or unavailable, the ActionController looks for a non-existing view.
      * Fixed Bug #3224: Call to undefined method Tx_Extbase_Reflection_ParameterReflection::getPosition().
      * Fixed Bug #3215: Tx_Extbase_MVC_Controller_AbstractController::forward() does not work.
      * Renamed DefaultController to StandardController
      * Renamed ExtensionName to ControllerExtensionName in the Request class
      * Tx_Extbase_MVC_Controller_AbstractController: URIHelper, ValidationResolver are now "injected"
      * Tx_Extbase_MVC_Controller_AbstractController: added canProcessRequest()
      * Tx_Extbase_MVC_Controller_ActionController: ReflectionService is now "injected"
      * (Re-)backported the Validation framework according to the latest changes in FLOW3
      * Backported parts of the Property Mapper
      * Added several Unit Tests
      * Added buildAccessibleProxy() method to the Base testcase
      * First step to backport the Query object (only QueryRawSQL and QueryByExample)
      83fb0fee
  14. 08 Apr, 2009 1 commit
    • Jochen Rau's avatar
      Extbase: · a0b0ca44
      Jochen Rau authored
      * Persistence layer completely revised
      * Decoupled ORM from Persistence Session
      * Order of CRUD now the same as in FLOW3
      * Added addAll() and removeAll() to Object Storage
      * Added Identity Map
      a0b0ca44
  15. 06 Apr, 2009 1 commit
    • Jochen Rau's avatar
      Extbase: · b821316f
      Jochen Rau authored
      * !!!Renamed ExtBase to Extbase (extension key is now extbase)
      b821316f
  16. 28 Mar, 2009 1 commit
  17. 25 Mar, 2009 1 commit
    • Jochen Rau's avatar
      ExtBase: · 1c37a9a9
      Jochen Rau authored
      * Renamed the extension EXTMVC to ExtBase according to the latest discussions on the snowboard tour
      * Changed the class names to fit the UpperCamelCase rule
      1c37a9a9
  18. 24 Mar, 2009 2 commits
    • Jochen Rau's avatar
      EXTMVC: · d2900c9c
      Jochen Rau authored
      * All class files are renamed to a short version (according to FLOW3 and after a discussion on the snowboard tour; class names remain long)
      * Next step: Renaming EXTMVC -> ExtBase
      d2900c9c
    • Jochen Rau's avatar
      EXTMVC: · b294ee71
      Jochen Rau authored
      * Fixed setupAction()
      * Renamed ValueObject and Entity to AbstractValueObject and AbstractEntity
      b294ee71
  19. 17 Mar, 2009 1 commit
    • Jochen Rau's avatar
      EXTMVC: · 3fcfff30
      Jochen Rau authored
      * Adjusted all copyright notices to GPL
      * Added package and subpackage annotations 
      3fcfff30
  20. 05 Mar, 2009 1 commit
    • Jochen Rau's avatar
      EXTMVC · 8c52a3c0
      Jochen Rau authored
      * removed declare(ENCODING = 'utf-8')
      * added option to switch to an uncached plugin by defining $nonCachableActions in the controller
      8c52a3c0
  21. 23 Jan, 2009 2 commits
  22. 20 Jan, 2009 4 commits