Skip to content
Snippets Groups Projects
  1. Nov 21, 2012
  2. Nov 20, 2012
    • Helmut Hummel's avatar
      [TASK] Use new class names in indexed_search · 95fbd727
      Helmut Hummel authored
      Fixes: #42930
      Releases: 6.0
      
      Change-Id: I71780306d8edcd0da769ba7c56d4d4e3e386b77c
      Reviewed-on: http://review.typo3.org/16640
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      95fbd727
    • Oliver Hader's avatar
      [BUGFIX] Fallback of FAL properties does not work · 8252d2e0
      Oliver Hader authored
      The fields title, description and alternative are available
      in file references and files. If those in file references
      are not defined, those of files shall be used.
      
      Besides that, some fields are not configured yet to be shown
      as placeholder element in the backend.
      
      The flaws are fixed by adding accordant TCA configuration and
      adding the fallback behaviour for the FileReference object.
      
      Change-Id: I28fa94faeb88958ce6c6cb942ba9a88bd555acdf
      Fixes: #43173
      Releases: 6.0
      Reviewed-on: http://review.typo3.org/16635
      Reviewed-by: Oliver Hader
      Tested-by: Oliver Hader
      8252d2e0
    • Andreas Wolf's avatar
      [TASK] Refactor FAL file processing · 66c204f0
      Andreas Wolf authored
      File processing is a central part of TYPO3's file usage, as e.g. all
      images in content elements have to be resized when they don't fit the
      requirements. However, the current implementation of file processing
      with FAL has several drawbacks and shortcomings, not to mention quite a
      few bugs.
      
      This patch brings a completely reworked infrastructure behind the
      File Processing Service, while keeping the external API unchanged.
      
      The processing to be done is described in tasks, which are part of a
      ProcessedFile's properties. The processing itself is now moved to
      processors, which could execute the tasks using different utilities,
      e.g. ImageMagick or some cloud image processing service. Currently,
      there is only a local image processor implementation, which relies on
      ImageMagick/GraphicsMagick (i.e. uses the same configuration as the old
      processing).
      
      The processed file class now also supports safe handling of unchanged
      files, i.e. files that should have been processed, but didn't need
      processing.
      
      Fixes: #43059
      Fixes: #39904
      Fixes: #40033
      Fixes: #40669
      Releases: 6.0
      
      Change-Id: I186a46f9923dacd98be655d72be2bd89b43866c2
      Reviewed-on: http://review.typo3.org/14310
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      66c204f0
    • Christian Kuhn's avatar
      [BUGFIX] Remove isLoaded('fluid') call from FLUIDTEMPLATE · d8dfa6af
      Christian Kuhn authored
      EXT:fluid is a required extension since TYPO3 6.0. The
      isLoaded('fluid') call in FLUIDTEMPLATE content object
      can be removed.
      
      Change-Id: I514163bffc19fa264501dc2d88e1fe59f0e9a062
      Fixes: #43172
      Releases: 6.0
      Reviewed-on: http://review.typo3.org/16633
      Reviewed-by: Wouter Wolters
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      d8dfa6af
    • Nicole Cordes's avatar
      [BUGFIX] Some unit tests fail in Core::LocalDriverTest · 18c428bc
      Nicole Cordes authored
      Some tests fail on Windows systems. Mostly this is because of a missing
      file and folder permission handling. Those tests have to be skipped.
      Furthermore there is some path fixing needed in basic class.
      
      Change-Id: Ib89e84539af2742dbb3a6e2f53ae5a0c121a0626
      Fixes: #43126
      Release: 6.0
      Reviewed-on: http://review.typo3.org/16596
      Reviewed-by: Oliver Klee
      Reviewed-by: Jigal van Hemert
      Tested-by: Jigal van Hemert
      Reviewed-by: Philipp Gampe
      Tested-by: Philipp Gampe
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      18c428bc
    • Marc Bastian Heinrichs's avatar
      [BUGFIX] Migrate contentObjectRenderer data only when array · 5a91057a
      Marc Bastian Heinrichs authored
      Passed $data in start method could be a non-array, e.g. in fluid
      CObjectViewHelper or in extensions. Migrate $data only if it's a
      not empty array and the table is set.
      
      Makes the fieldArray fallback to TSFE->page in getData working again.
      
      Change-Id: I469e8fa6131579a2de399516c65f4822275b187b
      Fixes: #43068
      Fixes: #43055
      Releases: 6.0
      Reviewed-on: http://review.typo3.org/16546
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      5a91057a
    • Nicole Cordes's avatar
      [BUGFIX] Default behaviour for field rendering of configuration is dropped · 0b5f2500
      Nicole Cordes authored
      In TYPO3 4.7 (and below) the default field of a configuration was a text
      field. With a wrong configuration type in ext_conf_template.txt now the
      field isn't rendered any more. There should be a fallback to a normal
      input field like it used to.
      
      Fixes: #43042
      Releases: 6.0
      
      Change-Id: Ic49c9b19a7f8f1795889f17ed5c1efa364dfd9b9
      Reviewed-on: http://review.typo3.org/16503
      Reviewed-by: Jigal van Hemert
      Tested-by: Jigal van Hemert
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      0b5f2500
    • Oliver Hader's avatar
      [BUGIFX] File Reference cannot be used to disable specific meta data · 35122aed
      Oliver Hader authored
      The meta data (like description, title, ...) in File References
      cannot be used to disable the inherited data from the parent
      File object. Currently values can be blank which results in
      using data from the parent. To really override by using blanks,
      the new NULL feature for TCA fields needs to be used.
      
      Change-Id: I61e5f5e6a0d848e95e2e0402913778ef9f63a093
      Fixes: #43132
      Releases: 6.0
      Reviewed-on: http://review.typo3.org/16602
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      35122aed
    • Nicole Cordes's avatar
      [BUGFIX] RootlineUtility uses backticks which leads to crashing dbal · 67bbef35
      Nicole Cordes authored
      In some queries backticks are used to generate the WHERE clause. Those
      backticks lead to an error when using dbal. Therefore they have to be
      removed.
      
      Change-Id: If6aa29f73fda93cfc122af51201730cc6475a8c1
      Fixes: #43168
      Release: 6.0
      Reviewed-on: http://review.typo3.org/16629
      Reviewed-by: Philipp Gampe
      Tested-by: Philipp Gampe
      Reviewed-by: Wouter Wolters
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      67bbef35
    • Nicole Cordes's avatar
      [BUGFIX] Missing separator in tables.sql · 5c45a483
      Nicole Cordes authored
      For the table sys_category_record_mm after the first KEY command there is
      a missing comma which leads to dbal crash.
      
      Change-Id: Ib5d88df46c166a9e7fffd5106e5158679cd947d8
      Fixes: #43167
      Release: 6.0
      Reviewed-on: http://review.typo3.org/16628
      Reviewed-by: Anja Leichsenring
      Reviewed-by: Philipp Gampe
      Reviewed-by: Wouter Wolters
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      5c45a483
    • Oliver Hader's avatar
      [BUGFIX] Activating NULL value field does not work with blank string · 125bdf9e
      Oliver Hader authored
      Activating a field that supports NULL values and just using a
      blank string ("") does not work. The problem is a strcmp() call
      that returns a false-positive on comparing NULL to blank strings
      
      Change-Id: I59417f5f5cd814db15e2b6b725f1778d098014f6
      Fixes: #43139
      Releases: 6.0
      Reviewed-on: http://review.typo3.org/16599
      Reviewed-by: Oliver Hader
      Tested-by: Oliver Hader
      125bdf9e
    • Oliver Hader's avatar
      [TASK] Integrate possibility to call inaccessible methods in BaseTestCase · b92539c5
      Oliver Hader authored
      The BaseTestCase already has a possibility to create full blown
      accessible object proxies. However if one does not want to have
      the class stack cluttered with temporary existing classes, there
      shall be a possibility to directly invoke protected/private
      methods of a fixture object.
      
      The new method callInaccessibleMethod method is taken and
      rewritten from ModuleControllerTest.
      
      Example to use it in unit tests:
      $this->fixture = new \TYPO3\CMS\Core\SomeClassName();
      $result = $this->callInaccessibleMethod(
        $this->fixture,
        'privateMethod',
        $first, $second, $third, ...
      );
      
      Change-Id: I2c90c136c350129b28809d8b8b88286149894a10
      Resolves: #43145
      Releases: 6.0
      Reviewed-on: http://review.typo3.org/16598
      Reviewed-by: Philipp Gampe
      Tested-by: Philipp Gampe
      Reviewed-by: Oliver Hader
      Tested-by: Oliver Hader
      b92539c5
  3. Nov 19, 2012
    • Nicole Cordes's avatar
      [BUGFIX] Tests failing in Core::CategoryCollectionTest · 82887631
      Nicole Cordes authored
      Some tests are failing in
      TYPO3\CMS\Core\Tests\Functional\Category\Collection\CategoryCollectionTest
      due to false CREATE TABLE statement.
      
      Change-Id: I8fe03b4d02c8f85fcddf8be06010eb8b2f079102
      Fixes: #43122
      Release: 6.0
      Reviewed-on: http://review.typo3.org/16594
      Reviewed-by: Wouter Wolters
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      82887631
    • Christian Kuhn's avatar
      [TASK] Raise submodule pointer · 1bbf966e
      Christian Kuhn authored
      Change-Id: I3f333615f87c7682d251987df1e58403720d331b
      Reviewed-on: http://review.typo3.org/16592
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      1bbf966e
    • Christian Kuhn's avatar
      [TASK] Comment legacy files to be removed with 6.2 · c72c5077
      Christian Kuhn authored
      The 'old' class files before namespace switch are commented
      to be removed with TYPO3 7.0, but they should be scheduled
      for removal with 6.2.
      
      Change-Id: I2db757db54410c5764ab21aef90918a7771f2c92
      Resolves: #43120
      Releases: 6.0
      Reviewed-on: http://review.typo3.org/16590
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      c72c5077
    • Christian Kuhn's avatar
      [BUGFIX] cache_imagesizes schema defined twice · 7bcf2498
      Christian Kuhn authored
      EXT:cms/ext_tables.sql and t3lib/stddb/tables.sql define
      an identical table schema of table cache_imagesizes.
      Since cache_imagesizes is used in core classes, the
      duplication in EXT:cms is removed with the patch.
      
      Change-Id: I67a861afe34f3e388f898fc3f0bad5b5c574d626
      Resolves: #43119
      Releases: 6.0
      Reviewed-on: http://review.typo3.org/16583
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      7bcf2498
    • Marc Bastian Heinrichs's avatar
      [TASK] Remove deprecated Fluid classes from IDE file · a2b5218c
      Marc Bastian Heinrichs authored
      The deprecated classes have been removed in Fluid.
      Remove them from the IDE file.
      
      Related: #43069
      Releases: 6.0
      
      Change-Id: I2d51053009fe0455e3d085645de37ac037363d41
      Reviewed-on: http://review.typo3.org/16553
      Reviewed-by: Oliver Klee
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      a2b5218c
    • Anja Leichsenring's avatar
      [TASK] adjust LegacyClassesForIde · 24d2f6aa
      Anja Leichsenring authored
      The class extbase/Reflection/Service is renamed to
      extbase/Reflection/ReflectionService, so the LegacyClassesForIde
      must be adjusted accordingly.
      
      Resolves: #42810
      Relates: #42808,#42809
      Releases: 6.0
      
      Change-Id: Iecd47910ed6708fcde06b4ab25c73d8cbea9f44f
      Reviewed-on: http://review.typo3.org/16343
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Thomas Maroschik
      Tested-by: Thomas Maroschik
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      24d2f6aa
    • Christian Kuhn's avatar
      [TASK] Raise submodule pointer · 00ce9ac4
      Christian Kuhn authored
      Change-Id: If47b70fb9183b9a36f88a8908ec455de7d1e7fa4
      Reviewed-on: http://review.typo3.org/16582
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      00ce9ac4
    • Helmut Hummel's avatar
      [TASK] Remove not needed require for language service · f4315f42
      Helmut Hummel authored
      The Bootstrap still contains a require statement
      for the language service, which can now perfectly be
      loaded by the autoloader.
      
      Resolves: #43115
      Releases: 6.0
      
      Change-Id: I04eacb1e459f4e7f1e14a46597cdbee7a1ce7a74
      Reviewed-on: http://review.typo3.org/16579
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      f4315f42
    • Helmut Hummel's avatar
      [TASK] Optimize compatibilty class loader · b92c1a35
      Helmut Hummel authored
      Do not save rewritten code in compatibility class loader
      if no replacements have been found but require the
      original class instead.
      Additionally do not touch classes that do not start
      with 'tx_' or other known TYPO3 specific prefixes.
      
      Resolves: #42497
      Releases: 6.0
      
      Change-Id: Ic3cdafbfec3814ef61046500c1ac4f916bade133
      Reviewed-on: http://review.typo3.org/16018
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      b92c1a35
    • Nicole Cordes's avatar
      [BUGFIX] Replace calls of tslib_gifbuilder with namespaced class · f2b6f8db
      Nicole Cordes authored
      In some functions the old class tslib_gifbuilder is still called and
      should be replaces with the namespaced class.
      
      Change-Id: I313ce18f667e0f7cc636422d9a784433851d59d8
      Fixes: #43111
      Releases: 6.0
      Reviewed-on: http://review.typo3.org/16577
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      f2b6f8db
    • Christian Kuhn's avatar
      [TASK] Remove extList from LocalConfiguration · d6ccd3d9
      Christian Kuhn authored
      extList was kept next to the new extListArray in LocalConfiguration.
      Both hold the current list of loaded extensions. This leads to
      confusion which variable is the one that takes precedence.
      The patch removes extList from the upgrade wizard in the install tool
      and only writes extListArray. This way, only one key is kept in
      LocalConfiguration.php. For compatibility reasons, the array entry
      'extList' is added to $GLOBALS['TYPO3_CONF_VARS'] at runtime during
      bootstrap.
      
      Change-Id: I6102b2b4da9761c86189ae3f73ad3a423715e037
      Resolves: #43094
      Releases: 6.0
      Reviewed-on: http://review.typo3.org/16566
      Reviewed-by: Helmut Hummel
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      Reviewed-by: Steffen Ritter
      Tested-by: Steffen Ritter
      Reviewed-by: Wouter Wolters
      d6ccd3d9
    • Andreas Kießling's avatar
      [TASK][DB] Increase length of tt_content CType · 6f7a494f
      Andreas Kießling authored
      The length of the CType file is often too small to contain the name of
      the extension that creates a new content element type. It should be
      increased from 30 to 255.
      
      Resolves: #43062
      Releases: 6.0
      
      Change-Id: I5ac23f7bdaa40ea9764d08ee330883da5be5a1ef
      Reviewed-on: http://review.typo3.org/16560
      Reviewed-by: Wouter Wolters
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      6f7a494f
  4. Nov 18, 2012
  5. Nov 17, 2012
  6. Nov 16, 2012
    • Soren Malling's avatar
      [BUGFIX] Invalid behavior of search for integer in Backend search · 7e443bd4
      Soren Malling authored
      In fact current implementation does not replace the LIKE
      operator with an SQL equal statement for numeric fields
      but whenever a query that can be interpreted as integer
      is encountered, regardless of the underlying column type.
      
      Example: If you have pages "102 W", "102 E", you used
      to be able to search for "102" and get them, but now
      the query is casted to an integer and the page title
      is search for an equality on "102" resulting in
      an empty result list.
      
      The underlying column type should be used
      instead (code to cache this information is already
      available within DBAL and Helmut started months
      ago to backport it to Core itself: #28654).
      
      Thanks to Clio Online for sponsoring this fix!
      
      Resolves: #33700
      Releases: 6.0, 4.7, 4.6
      
      Change-Id: I8c4cceac5320b9135ccf9e99892cc57dcfffadc5
      Reviewed-on: http://review.typo3.org/13990
      Reviewed-by: Mattias Nilsson
      Tested-by: Mattias Nilsson
      Reviewed-by: Felix Kopp
      Tested-by: Felix Kopp
      Reviewed-by: Dmitry Dulepov
      Tested-by: Dmitry Dulepov
      7e443bd4
    • Christian Kuhn's avatar
      [TASK] Remove @package and @subpackage annotations · c7cafbee
      Christian Kuhn authored
      With namespaces the @package and @subpackage annotations
      do not have a real benefit anymore and can be removed.
      
      Change-Id: Id8f4718db0c1c51ae5143a3353dd5efb42dadf70
      Resolves: #43019
      Releases: 6.0
      Reviewed-on: http://review.typo3.org/16474
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      c7cafbee
  7. Nov 15, 2012
    • Georg Ringer's avatar
      [TASK] Fix deprecated $doc->isCMlayers() · a75bac8c
      Georg Ringer authored
      Function TYPO3\CMS\Backend\Template\DocumentTemplate->isCMlayers()
      is not needed and can be removed.
      
      Change-Id: I7cef6a7711055c8cd6ce7ca0b3bf94b22e50a62f
      Resolves: #41272
      Releases: 6.0
      Reviewed-on: http://review.typo3.org/14955
      Reviewed-by: Mattias Nilsson
      Tested-by: Mattias Nilsson
      Reviewed-by: Oliver Klee
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      a75bac8c
    • Christian Kuhn's avatar
      [BUGFIX] GeneralUtility::validEmail() can throw warnings · 68759f08
      Christian Kuhn authored
      If GeneralUtility::validEmail() is called with array or object
      as parameter, warnings or errors are thrown of type "strlen()
      expects parameter 1 to be string" or similar.
      The patch sanitizes the method by returning early with FALSE if
      input parameter is not a string.
      
      Change-Id: I56c8ec91c730e47d341de7f09c14c7ee0492a616
      Fixes: #42792
      Releases: 6.0
      Reviewed-on: http://review.typo3.org/16462
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      68759f08
    • Christian Kuhn's avatar
      [BUGFIX] Follow-up clean-up to #19938 · 6716a6fa
      Christian Kuhn authored
      Refactoring #19938 a loose end was forgotten to be removed in one test.
      
      Change-Id: I36d1f9368eb829afebd5c3be2282811b010ed5ff
      Related: #19938
      Releases: 6.0
      Reviewed-on: http://review.typo3.org/16453
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      6716a6fa
    • Jigal van Hemert's avatar
      [BUGFIX] EXT:felogin: Multiple bugs with preserveGETvars · a0f4d13c
      Jigal van Hemert authored
      Refactor and fix handling of preserveGETvars in felogin.
       * Add support for multi dimensional arrays
       * urlencode() values
       * Preserve only parameters defined in 'preserveGETvars'
      
      The patch adds a new ArrayUtility method to handle
      recursive array intersections. See the unit tests for details.
      
      Change-Id: I90e2f8eb79586369a9c15c7ef19f7658b1d65ed3
      Fixes: #19938
      Fixes: #23324
      Fixes: #23649
      Fixes: #36894
      Fixes: #38589
      Releases: 6.0, 4.7
      Reviewed-on: http://review.typo3.org/7638
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      Reviewed-by: Jigal van Hemert
      Tested-by: Jigal van Hemert
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      a0f4d13c