1. 25 Mar, 2014 2 commits
  2. 24 Mar, 2014 1 commit
    • Felix Oertel's avatar
      [BUGFIX] FOLLOWUP Queries with NULL don't work · 449c81e4
      Felix Oertel authored
      In https://review.typo3.org/28592 we apparently did not 
      fix the whole problem. This followup will deal with
      the edge-case of using a similar built statement, which
      results in the same hash being generated from the
      QueryParser.
      
      Resolves: #57130
      Related: #55167
      Releases: 6.2
      Change-Id: I02a478fcabb89d11054f8f0a3c800965edfd7844
      Reviewed-on: https://review.typo3.org/28715
      Reviewed-by: Marc Bastian Heinrichs
      Tested-by: Marc Bastian Heinrichs
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      449c81e4
  3. 13 Jan, 2014 1 commit
  4. 06 Oct, 2013 1 commit
    • Felix Oertel's avatar
      [FEATURE] move configuration of returnRawQueryResult · 3b4ffe61
      Felix Oertel authored and Christian Kuhn's avatar Christian Kuhn committed
      In motion to streamline the persistence configuration we will
      get rid of the Typo3QuerySettings. Especially for
      returnRawQueryResult it does not make sense to have a
      configuration for that.
      
      We moved it to be a method argument, so some can still decide
      on a per-query-basis, what the query is supposed to return.
      
      Resolves: #51145
      Releases: 6.2
      Change-Id: I948267149b66c350b271d3c98c5cbe3e268d087e
      Reviewed-on: https://review.typo3.org/23155
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      3b4ffe61
  5. 01 Oct, 2013 1 commit
  6. 23 Apr, 2013 1 commit
  7. 20 Nov, 2012 1 commit
  8. 07 Nov, 2012 1 commit
    • Anja Leichsenring's avatar
      [TASK] Adjust phpdoc for classes (files) of backports · ab1dfa5b
      Anja Leichsenring authored
      Since it's neither "FLOW3" nor "v5" anymore those
      headers need to be adjusted.
      
      Before:
      This class is a backport of the corresponding class of FLOW3.
      All credits go to the v5 team.
      Changed into:
      This class is a backport of the corresponding class of TYPO3 Flow.
      All credits go to the TYPO3 Flow team.
      
      Change-Id: If5aaae848334c39a873b41ffc614942cedbbf4f8
      Resolves: #42713
      Releases: 6.0
      Reviewed-on: http://review.typo3.org/16242
      Reviewed-by: Stefan Neufeind
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      ab1dfa5b
  9. 05 Nov, 2012 2 commits
  10. 29 Oct, 2012 1 commit
  11. 26 Aug, 2012 1 commit
  12. 17 Oct, 2012 2 commits
  13. 30 Apr, 2012 1 commit
    • Felix Oertel's avatar
      [TASK] Sync persistence folder scheme with FLOW3 · b0f87828
      Felix Oertel authored
      In Persistence/ only generic, abstract classes and
      interfaces are allowed. Everything specific to an
      implementation has to be in Persistence/[Name].
      
      Resolves: #35876
      
      Change-Id: I703fa4ed6df7f56a7ade404af1d11c590041e7ad
      b0f87828
  14. 14 Apr, 2012 1 commit
  15. 18 Mar, 2012 1 commit
  16. 17 Mar, 2012 1 commit
    • Oliver Klee's avatar
      [BUGFIX] Tx_Extbase_Persistence_QueryInterface needs to provide getSource · 166d951f
      Oliver Klee authored
      Tx_Extbase_Persistence_Storage_Typo3DbBackend::parseQuery expects a
      Tx_Extbase_Persistence_QueryInterface and then calls getSource on it.
      One way to make this clean is to change
      Tx_Extbase_Persistence_QueryInterface to provide the getSource method.
      
      Releases: 4.7, 4.8
      Fixes: #34916
      
      Change-Id: Ic84a6897c7f46048e4967669712d7afcbc4df069
      166d951f
  17. 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
  18. 14 Jun, 2011 1 commit
  19. 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
  20. 16 Nov, 2010 1 commit
  21. 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
  22. 28 May, 2010 2 commits
  23. 02 May, 2010 2 commits
  24. 16 Mar, 2010 2 commits
  25. 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
  26. 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
  27. 25 Nov, 2009 2 commits
  28. 27 Oct, 2009 1 commit
  29. 24 Oct, 2009 1 commit
  30. 05 Aug, 2009 1 commit
  31. 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
  32. 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