Skip to content
Snippets Groups Projects
  1. Mar 04, 2014
    • Xavier Perseguers's avatar
      [BUGFIX] ADOdb: Invalid override method signature · 352841a4
      Xavier Perseguers authored
      Classes are not overriding the method with a compatible list
      of parameters.
      
      Fixes: #48034
      Releases: 6.2
      Change-Id: I1e288cb90e12e3dc50b38c13bd76988f0be16cab
      Reviewed-on: https://review.typo3.org/20602
      Reviewed-by: Xavier Perseguers
      Tested-by: Xavier Perseguers
      352841a4
    • Xavier Perseguers's avatar
      [BUGFIX] getLabelsFromItemsList() returns no value · 9eb32aa0
      Xavier Perseguers authored
      Method getLabelsFromItemsList() is expected to return an empty list
      when the column is populating items from a foreign_table configuration
      option. Method getProcessedValue() is explicitly checking this to
      retrieve the label from the corresponding foreign record if it could not
      be resolved from the list of static items.
      
      This reverts commits 5dd32b83 and
      9596d4da and moves the business logic
      into method getProcessedValue().
      
      Releases: 6.2, 6.1
      Fixes: #54131
      Change-Id: I15dcf0c4bcb76ecc85de8e3202b1376a24981b06
      Reviewed-on: https://review.typo3.org/27689
      Reviewed-by: Frans Saris
      Tested-by: Frans Saris
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      9eb32aa0
    • Alexander Stehlik's avatar
      [TASK] Use FAL functions for image rendering · f20ae08e
      Alexander Stehlik authored
      Instead of relying on the backward compatiblity layer of the
      FrontendContentAdapterService when rendering images with
      css_styled_content the render_textpic method is modified so that it
      is also be possible to use FAL functions and properties for image
      rendering.
      
      The captionsSplit / imageTextSplit constants are removed because
      every image has its own properties for that with FAL and they are
      not needed any more.
      
      The globalCaption rendering was removed because the captions are now
      always attached to a single image.
      
      The longdescURL handling was also removed because the files do not
      have this property at the moment and the longdescURL field for
      tt_content records is also not visible in the Backend.
      
      Resolves: #53764
      Releases: 6.2
      Change-Id: I1d9c8ad1d7a498816e724960613818a05d587d4f
      Reviewed-on: https://review.typo3.org/25511
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Frans Saris
      Tested-by: Frans Saris
      f20ae08e
    • Benjamin Mack's avatar
      [CLEANUP] Enhance RTE Magic Image FAL migration wizard · 8806f950
      Benjamin Mack authored
      If the RTE magic images FAL migration upgrade wizard in the
      install tool ever fails (due to max_execution_time) or some
      SQL error, then the migration stops and can be run again.
      
      However, if the wizard is run again, it always checks
      if the source file still exists. The wizard should rather
      check if the target file exists, if not, move the source file
      to the target file.
      
      As a separate "step" in this wizard, if the target file (already)
      exists, then the DB change can be done.
      
      Additionally, a typo for the output is fixed as well.
      
      Resolves: #53846
      Releases: 6.2
      Change-Id: Id7c3b6176997848210d83c54cd133819ab15f435
      Reviewed-on: https://review.typo3.org/25622
      Reviewed-by: Wouter Wolters
      Reviewed-by: Tom Ruether
      Tested-by: Tom Ruether
      Reviewed-by: Ernesto Baschny
      Tested-by: Ernesto Baschny
      8806f950
    • Ernesto Baschny's avatar
      [TASK] Upgrade Wizard for FAL references, check for missing tables · b2c79153
      Ernesto Baschny authored
      In case sys_file_reference contains references to tables that no longer
      exist physically (i.e. for extensions that were deinstalled and tables
      then deleted through "Database Compare"), the sys_reference_table
      upgrade wizard now no longer fails with an exception. Instead the buggy
      rows will be deleted from the table.
      
      Resolves: #53650
      Releases: 6.2
      Change-Id: I6a95b4abef77848de3ed97a1cf9b212434be7c98
      Reviewed-on: https://review.typo3.org/25414
      Reviewed-by: Wouter Wolters
      Reviewed-by: Markus Klein
      Reviewed-by: Ernesto Baschny
      Tested-by: Ernesto Baschny
      b2c79153
    • Stefan Froemken's avatar
      [BUGFIX] Break out of foreach if there're no rows in table · 9a63a585
      Stefan Froemken authored
      Instead of using a slow COUNT on huge tables, we add an
      additional query here, which tries to get the first
      found record in oder to test if records exists
      or not. This new query is extremely fast, because it
      uses indexes. It only needs one huge table
      like sys_log in your database to see a performance
      boost in BE list module.
      
      Resolves: #55891
      Releases: 6.2
      Change-Id: I920729421bcece8af3b7cdd5f53446e5a1be5300
      Reviewed-on: https://review.typo3.org/27554
      Reviewed-by: Georg Ringer
      Tested-by: Georg Ringer
      Reviewed-by: Oliver Klee
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      9a63a585
    • Xavier Perseguers's avatar
      [BUGFIX] Cannot use contain with multivalued static enumeration column · 7625461f
      Xavier Perseguers authored
      When a column is defined as a multivalued static enumeration:
      'somecolumn' => array(
          'exclude' => 0,
          'label' => 'Some label',
          'config' => array(
              'type' => 'select',
              'items' => array(
                  array('Option 1', 1),
                  array('Option 2', 2),
                  array('Option 3', 3),
                  array('Option 4', 4),
              ),
              'size' => 4,
              'maxitems' => 4,
              'eval' => ''
          ),
      ),
      it is not possible to query the domain model using operation "contains":
      $value = 2;
      $query->matching(
          $query->contains('somecolumn', $value)
      );
      
      Releases: 6.2, 6.1
      Fixes: #56205
      Change-Id: If898db7f355ad931d1c8b55febc2f59f19b0f38b
      Reviewed-on: https://review.typo3.org/27787
      Reviewed-by: Alexander Opitz
      Reviewed-by: Wouter Wolters
      Reviewed-by: Stefan Froemken
      Tested-by: Stefan Froemken
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      7625461f
    • Alexander Opitz's avatar
      [BUGFIX] Flush opcode caches while saving PHP files. · 8c12dd0f
      Alexander Opitz authored
      After manipulating PHP files, which we include with "require" we should
      clear the opcode cache, if there is one installed.
      
      So we introduce OpcodeCacheUtility to handle the clearing of the opcode
      cache. Also to have a way to give feedback to the install tool which
      can show the quality of the opcode cache in use. It also checks if an
      opcode cache is enabled in the configuration, not only if the extension
      is installed.
      
      Use of this opcode cache clearing is added to the ConfigurationManager,
      PackageManager and the cache (Simple)FileBackend.
      
      Make use of this data in the SystemEnvironmentCheck.
      
      Resolves: #55252
      Releases: 6.2, 6.1, 6.0
      Change-Id: I881f3fbe055c9566663c2c3c238de62ae30f7149
      Reviewed-on: https://review.typo3.org/27024
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      8c12dd0f
    • Oliver Hader's avatar
      [BUGFIX] Make standard-search working with EXT:form installed · 50a08fc8
      Oliver Hader authored
      The standard-search relies on basic form-functionality.
      But if EXT:form is installed, that functionality is overlaid
      and the result is wrong.
      
      Provide a flag so that standard-search can request to use
      the "basic" form-functionality, preventing EXT:form from
      dealing with it.
      
      Change-Id: I52cbd6cecc7222217ff766393dd37ad9d1a9aa30
      Resolves: #50274
      Releases: 6.2, 6.1
      Reviewed-on: https://review.typo3.org/28042
      Reviewed-by: Stefan Neufeind
      Tested-by: Stefan Neufeind
      Reviewed-by: Jigal van Hemert
      Tested-by: Jigal van Hemert
      50a08fc8
    • Andreas Fernandez's avatar
      [BUGFIX] DBAL's quoteFieldNames() returns an empty string · 5991c19c
      Andreas Fernandez authored
      DBAL's DatabaseConnection::INSERTquery() builds an array. The keys
      (fields) are mapped through quoteFieldNames(), which returns an empty
      string. DBAL's SqlParser tries to use $GLOBALS['TYPO3_DB'], which is
      not available here.
      
      Resolves: #56306
      Releases: 6.2
      Change-Id: I97eff8f796fcb8d530d16ff5f6111ebd5d28d5ce
      Reviewed-on: https://review.typo3.org/27864
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      5991c19c
    • Wouter Wolters's avatar
      [TASK] Install Tool re-order menu items · 5bb821a4
      Wouter Wolters authored
      Current Order:
      
      * Welcome
      * Important actions
      * System environment
      * Configuration Presets
      * Folder structure
      * Test setup
      * Upgrade Wizard
      * All configuration
      * Clean up
      * Logout from Install Tool
      
      New proposed order:
      
      * Important Actions
      * Configuration Presets
      * All Configuration
      * Upgrade Wizard
      * System environment
      * Folder Structure
      * Test Setup
      * Cleanup
      
      "Logout" is put below the menu as a link and "Welcome"
      is just the first screen but without any menu item for it.
      
      Resolves: #56497
      Releases: 6.2
      Change-Id: I20a3c363e5039b875c0aef2d23353f981dabee6b
      Reviewed-on: https://review.typo3.org/28002
      Reviewed-by: Ernesto Baschny
      Tested-by: Ernesto Baschny
      Reviewed-by: Jan Helke
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      5bb821a4
    • Stefan Froemken's avatar
      [BUGFIX] IdentityProperties were not set · 7a308a8a
      Stefan Froemken authored
      After submitting an invalid form twice, extbase tries to
      create the related submodel instead of edit.
      This is because of the missing __identity part
      for the related submodel
      
      Resolves: #46185
      Releases: 6.0, 6.1, 6.2
      Change-Id: If3ec15b9eff0fc8d9a7dc682518cbfd72bb4665b
      Reviewed-on: https://review.typo3.org/21101
      Reviewed-by: Stefan Neufeind
      Reviewed-by: Stefan Froemken
      Tested-by: Stefan Froemken
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      7a308a8a
    • Nicole Cordes's avatar
      [BUGFIX] Install css_styled_content by default · 734f0d05
      Nicole Cordes authored
      As felogin and some other extensions don't work without
      css_styled_content it should be enabled by default as well. This patch
      adds the Package class to install the extension by default.
      
      Resolves: #56292
      Releases: 6.2
      Change-Id: I9aad88966c0c292cdff865276dc131f358a52697
      Reviewed-on: https://review.typo3.org/27858
      Reviewed-by: Dmitry Dulepov
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      Reviewed-by: Nicole Cordes
      Tested-by: Nicole Cordes
      Reviewed-by: Christian Kuhn
      Reviewed-by: Stefan Neufeind
      Tested-by: Stefan Neufeind
      734f0d05
    • Felix Kopp's avatar
      [TASK] CSS: Button style :active and :hover · 3708c72e
      Felix Kopp authored
      Brings visual illusion for :active / click state.
      Bugfixes :hover on <button>
      
      Resolves: #56480
      Releases: 6.2
      Change-Id: I08d38c50d23f5fbcf591dbd54edca34944568591
      Reviewed-on: https://review.typo3.org/27983
      Reviewed-by: Georg Ringer
      Tested-by: Georg Ringer
      3708c72e
  2. Mar 03, 2014
    • Stefan Neufeind's avatar
      [BUGFIX] Fix warnings on felogin / Use correct usergroup-column · 77e85f14
      Stefan Neufeind authored
      PHP Warning: Illegal string offset 'usergroup' is shown when
      trying to login to the frontend while currently already being
      logged into the backend.
      
      Also the usergroup-column needs to be fetched from
      $this->fe_user->usergroup_column.
      
      Change-Id: Ia9772262616e9bd62e0827b0f211b8efe77ea80b
      Resolves: #56508
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/28000
      Reviewed-by: Stefan Neufeind
      Tested-by: Stefan Neufeind
      Reviewed-by: Jigal van Hemert
      Tested-by: Jigal van Hemert
      77e85f14
    • Benjamin Mack's avatar
      [TASK] Make TS content templates more flexible · 3ce53655
      Benjamin Mack authored
      If an extension used static content ID 43 (content default),
      it also added itself (during each runtime of ext_localconf.php)
      to all available content blocks.
      The original way is problematic as an extension that
      provides content templates may be included after
      an extension that wants to add itself after all content
      templates.
      This is now more confusing as the package manager
      resolves the ordering of extensions and now,
      CSS Styled Content gets loaded after felogin and
      indexed_search.
      
      To resolve this problem completely, the additional
      TypoScript for each "contentRenderingTemplate",
      a TS template that provides default content renderings,
      is added to one global default TypoScript and is only
      merged at the TemplateService class.
      
      Therefore the extension loading ordering does not
      matter anymore.
      
      Resolves: #55942
      Resolves: #55174
      Resolves: #55557
      Releases: 6.2
      Change-Id: Id0c983bf96a3a76fde2183c57a17066ef8fd4ac8
      Reviewed-on: https://review.typo3.org/27587
      Reviewed-by: Stefan Neufeind
      Tested-by: Stefan Neufeind
      3ce53655
    • Markus Klein's avatar
      [BUGFIX] Fix PHP warnings on fe_user log out · 85d88e4f
      Markus Klein authored
      PHP Warning: Illegal string offset is thrown in some places
      if an fe_user logs out.
      
      Resolves: #55696
      Releases: 6.2
      Change-Id: I532a27c0d2fc4b80d3a3f92da0079f4e9517d06c
      Reviewed-on: https://review.typo3.org/27362
      Reviewed-by: Xavier Perseguers
      Tested-by: Xavier Perseguers
      Reviewed-by: Oliver Klee
      Reviewed-by: Alexander Opitz
      Reviewed-by: Stefan Neufeind
      Tested-by: Stefan Neufeind
      85d88e4f
    • Markus Klein's avatar
      [BUGFIX] Double escape of title in indexed search · 5d9b26d9
      Markus Klein authored
      SearchController::compileSingleResultRow() causes double
      htmlspecialchars() call on $title.
      
      This patch removes the general htmlspecialchars() call since
      $title will be escaped in linkPage() anyway.
      The only place which requires escaping has the call added now.
      
      Resolves: #56262
      Releases: 6.2, 6.1, 6.0
      Change-Id: Ic94fe7fe7d2145fc539adcdf21faf42c33f5b32e
      Reviewed-on: https://review.typo3.org/27849
      Reviewed-by: Stefan Neufeind
      Reviewed-by: Dragan Tomic
      Tested-by: Dragan Tomic
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      5d9b26d9
    • Markus Klein's avatar
      [BUGFIX] Wrong handling of delimiter in revExplode() · da36a43d
      Markus Klein authored
      The delimiter has to be reversed for the case of limit 2,
      as the search is performed on the non-reversed string.
      Otherwise the function will yield different results for
      limits greater than 2.
      
      Resolves: #56405
      Releases: 6.2
      Change-Id: I077d38918d98fbe2e5cd153c75b115e0d95734f8
      Reviewed-on: https://review.typo3.org/27926
      Reviewed-by: Georg Tiefenbrunn
      Tested-by: Georg Tiefenbrunn
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      da36a43d
    • Helmut Hummel's avatar
      [BUGFIX] Always fetch related objects if relation set by child · 04f66dba
      Helmut Hummel authored
      If the DataMapper shall map a 1:N relation for
      a property of a domain object and the element
      type of this property is another domain object
      and not a storage type, the data mapper must
      always fetch the related elements from persistence
      and cannot rely on the persistence session lookup.
      
      This is the case because the relation to the parent
      is set on the child side and not the other way around.
      The column in the parent row is useless in that case
      and does not hold the id of the child.
      
      We can also not rely on the persistence session
      because we do not know the identifier of the child
      until we fetched it.
      
      Resolves: #56442
      Releases: 6.2, 6.1
      Change-Id: Icc3ebf9b825f6380691c60839621f01ca9875e4e
      Reviewed-on: https://review.typo3.org/27949
      Reviewed-by: Xavier Perseguers
      Tested-by: Xavier Perseguers
      Reviewed-by: Marc Bastian Heinrichs
      Tested-by: Marc Bastian Heinrichs
      04f66dba
    • Helmut Hummel's avatar
      [TASK] Remove condensed mode leftovers · a36c5550
      Helmut Hummel authored
      The condensed mode user setting has been removed
      three years ago with #24585
      
      Now also remove the leftover parts.
      Keep the language labels to not interfere
      with older versions.
      
      Resolves: #56479
      Releases: 6.2
      Change-Id: I8cb3ebc5aac162357ce1d343eed1031156ccd749
      Reviewed-on: https://review.typo3.org/27980
      Reviewed-by: Benjamin Mack
      Tested-by: Benjamin Mack
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      a36c5550
    • Thomas Maroschik's avatar
      [TASK] Make sysexts composer names standards compliant · 1d0d83c7
      Thomas Maroschik authored
      Resolves: #53753
      Releases: 6.2
      Change-Id: I3acb81c71796bc84ada29e6cdf6141be07f69ca3
      Reviewed-on: https://review.typo3.org/25503
      Reviewed-by: Christian Opitz
      Reviewed-by: Fabien Udriot
      Tested-by: Fabien Udriot
      Reviewed-by: Felix Kopp
      Tested-by: Felix Kopp
      Reviewed-by: Thomas Maroschik
      Tested-by: Thomas Maroschik
      1d0d83c7
  3. Mar 02, 2014
    • Helmut Hummel's avatar
      [BUGFIX] Mock locked records for DataProviderTest · e8bc2624
      Helmut Hummel authored
      The DataProviderTest calls BackendUtility::isRecordLocked
      statically. We cannot mock that call, but we can
      "mock" a locked record so that BackendUtility::isRecordLocked
      does not query the database.
      
      Resolves: #56472
      Releases: 6.2
      Change-Id: I268a7a900a0f2dcbf248f6a4d856354c7b1cdcd6
      Reviewed-on: https://review.typo3.org/27975
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      e8bc2624
    • Stephan Großberndt's avatar
      [TASK] Update database schema as first and last update wizard · 2e06fc19
      Stephan Großberndt authored
      Introduces two new upgrade wizards in the Install tool.
      
      The first wizard - added as first step of the upgrade wizards - adds
      tables, fields and keys to comply to the database schema. When this is
      necessary no other wizards can be executed until these are created.
      
      The second wizard - added as last step of the upgrade wizards - changes
      tables, fields and keys to comply to the database schema. When other
      upgrade wizards are available, this one is not available to make sure
      they have all necessary fields.
      
      In order to make sure they are added as first and last step they are
      added in UpdateWizard instead of ext_localconf.php.
      
      The former "Final step" is now optional and has been renamed to "Hint".
      The buttons to start the update wizards from the list have been renamed
      from "Next" to "Execute".
      
      Resolves: #53890
      Releases: 6.2
      Change-Id: I866b558df3325acca3122bbd4e0c2285447fcdf3
      Reviewed-on: https://review.typo3.org/27240
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      2e06fc19
  4. Mar 01, 2014
    • Helmut Hummel's avatar
      [!!!][SECURITY] Remove old wizard scripts · dfab37ac
      Helmut Hummel authored
      Keeping the old wizard script would not solve
      the CSRF attack vector as they could still
      be referenced in this kind of attack.
      
      Because of that, we remove them now.
      
      This change provides a backwards compatibility
      layer in FormsEngine which takes care of rewriting
      URLs which have been referenced in TCA.
      
      Also the priority is changed in code. This means
      that extension authors can reference both
      configurations to stay compatible with older
      TYPO3 versions.
      
      It will however break code which link to the
      old scripts directly in other places.
      
      Resolves: #56454
      Releases: 6.2
      Change-Id: I15f5d929f16fdd53a8b87cd32440a3d6ce59b6ed
      Reviewed-on: https://review.typo3.org/27956
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      dfab37ac
    • Marc Bastian Heinrichs's avatar
      [BUGFIX] Fix StorageRepository::findByStorageType · 3d4de84e
      Marc Bastian Heinrichs authored
      Since optimizing the retrieval of Storages the
      findByStorageType() doesn't find any (also right ones)
      storage, because of a wrong comparison.
      This fixes also the localDriverStorageCache in
      ResourceFactory, finding a bestMatchingStorageByLocalPath
      in ResourceFactory, getting the right storage for a local
      path as fileIdentifier and creation of duplicate entries 
      in sys_file with storage 0.
      
      Resolves: #56400
      Releases: 6.2
      Change-Id: I75ac357dff498f1a209d4c42896bdeddab3641ad
      Reviewed-on: https://review.typo3.org/27915
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      3d4de84e
    • Alexander Schnitzler's avatar
      [TASK] Use new way to register colorpicker wizard · 498ccf37
      Alexander Schnitzler authored
      Resolves: #56436
      Releases: 6.2
      Change-Id: Ia789abbbdf7ab11a4ab13ea6aa195bc79ba6dc25
      Reviewed-on: https://review.typo3.org/27945
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      498ccf37
    • Wouter Wolters's avatar
      [BUGFIX] Undefined variable $multiSelectId in FormEngine · bb4ecb56
      Wouter Wolters authored
      There is a undefined variable $multiSelectId in FormEngine. This
      is introduced with #46357
      
      Resolves: #56457
      Releases: 6.2
      Change-Id: I88fd4f9b36e6421b338011a1cc31c22987019dc9
      Reviewed-on: https://review.typo3.org/27959
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      bb4ecb56
  5. Feb 28, 2014