Skip to content
Snippets Groups Projects
  1. Feb 25, 2014
    • Markus Klein's avatar
      [TASK] Fixen broken tests for getTreeList · 8785cfef
      Markus Klein authored
      Resolves: #56294
      Releases: 6.2
      Change-Id: I1d86f1899447feaa301474f4ed247a0ecc6c1a6e
      Reviewed-on: https://review.typo3.org/27859
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      8785cfef
    • Stefan Froemken's avatar
      [BUGFIX] Wrong usage of intExplode in getTreeList · 5c5d9e6c
      Stefan Froemken authored
      getTreeList calls intExplode which converts empty
      arrays to 0. This patch removes empty arrays
      within intExplode.
      
      Resolves: #55384
      Releases: 6.2
      Change-Id: Id4ca1a15edf2cc2617d85bda765461c4cb1f105c
      Reviewed-on: https://review.typo3.org/27089
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Benjamin Mack
      Tested-by: Benjamin Mack
      5c5d9e6c
    • Jigal van Hemert's avatar
      [BUGFIX] Don't modify variables in tree view · cbbb4def
      Jigal van Hemert authored
      The lowlevel array browser tries to modify the array that
      is displayed if it's an object.
      Now that TYPO3_LOADED_EXT is a simulated array (an object
      which implements array access) modifying the data leads to
      a fatal error. Instead the iterated value is now modified.
      
      Releases: 6.2
      Resolves: #54449
      Change-Id: Ib1d3eb5cc76a4180ea0891d88c16191cd16f36e2
      Reviewed-on: https://review.typo3.org/27850
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      cbbb4def
    • Benjamin Mack's avatar
      [CLEANUP] Remove outdated $CLIENT[FORMSTYLE] · f0b50c81
      Benjamin Mack authored
      The functionality for having to deal with
      browsers that did not support style="width: XYpx"
      is not needed anymore, as any browser supported
      in the TYPO3 universe can deal with that (even IE6).
      
      This patch cleans up all the areas that dealt with
      that part. Also, one dummy function in
      FormEngine.php has been removed completely,
      another in DocumentTemplate.php has been
      deprecated.
      
      Releases: 6.2
      Resolves: #56254
      Change-Id: I6f47a5f7cabfd340088c242f1ee15b83c7cba0fe
      Reviewed-on: https://review.typo3.org/27824
      Reviewed-by: Benjamin Mack
      Tested-by: Benjamin Mack
      f0b50c81
    • Markus Klein's avatar
      [CLEANUP] Superfluous Code in ElementBrowser and BrowseLinks · 77b17291
      Markus Klein authored
      Resolves: #56290
      Releases: 6.2
      Change-Id: I85348aea9fd514b9774b63846f444fcb9a8310e4
      Reviewed-on: https://review.typo3.org/27856
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      77b17291
    • Markus Klein's avatar
      [BUGFIX] Fix JS error in ElementBrowser · 2b0b18a5
      Markus Klein authored
      Fix for #41413 did not remove a superfluous parentheses.
      This is causing a JS error now.
      
      Backports of the original patch are fixed already.
      
      Resolves: #56289
      Releases: 6.2
      Change-Id: Iff0e73a28c9428d931f44b538106b6120ccc4e6a
      Reviewed-on: https://review.typo3.org/27854
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      2b0b18a5
    • Andreas Fernandez's avatar
      [BUGFIX] Install Tool fatal with Oracle database · 4da4dba5
      Andreas Fernandez authored
      Installing TYPO3 with an Oracle database (oci8) fails.
      After selecting oci8 and passing the credentials,
      the install wizard crashes with:
      
      PHP Fatal error: Cannot use object of type
      TYPO3\CMS\Core\Configuration\ConfigurationManager as array in
      typo3/sysext/install/Classes/Controller/Action/Step/DatabaseConnect.php
      on line 93
      
      Obviously $config got mixed up with $configurationManager.
      Fix this typo.
      
      Resolves: #56253
      Releases: 6.2
      Change-Id: I58c1bc27f56b9a527d1d8fde7cf39b4ecd3ef7b6
      Reviewed-on: https://review.typo3.org/27846
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Wouter Wolters
      Reviewed-by: Steffen Müller
      Tested-by: Steffen Müller
      4da4dba5
    • Jigal van Hemert's avatar
      [BUGFIX] Paginator in TER list not using ajax · f81ba18d
      Jigal van Hemert authored
      The paginator in the extension list from TER is transformed into
      using Ajax. This fails because this process searches for links inside
      a class which is used by the frontend paginator widget. Changing it to
      the id of the backend paginator widget makes the ajax calls work again.
      
      Resolves: #56184
      Releases: 6.2, 6.1, 6.0
      Change-Id: I06c193b2657eb3edae623dc0126b06c240f486c6
      Reviewed-on: https://review.typo3.org/27843
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      f81ba18d
    • Helmut Hummel's avatar
      [BUGFIX] URL-encoded title in link wizard · b44e8af6
      Helmut Hummel authored
      The security fix introduced a bug that the title is encoded
      every time the link wizard is opened, leading to multiple
      encoded strings.
      
      Solution is to not encode it centrally but encode it just
      before using it in the JavaScript context.
      
      Fixes: #41413
      Releases: 4.5, 4.7, 6.0, 6.1, 6.2
      Change-Id: I6b08db290d5457761edc4506105672d79840764d
      Reviewed-on: https://review.typo3.org/23740
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Oliver Klee
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      b44e8af6
    • Tymoteusz Motylewski's avatar
      [TASK] Deprecate unused methods in ElementBrowser · 32f65b09
      Tymoteusz Motylewski authored
      There are 3 methods in ElementBrowser which are never used in the core.
      We deprecate them, so they can be removed two versions later.
      
      The methods are:
       * checkFolder
       * isWebFolder
       * setRecordList
      
      Releases: 6.2
      Resolves: #55985
      Change-Id: I3e4f34e7ebaba9e8eeb0332e9f43c0e4acd2e706
      Reviewed-on: https://review.typo3.org/27847
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Oliver Klee
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      32f65b09
    • Anja Leichsenring's avatar
      [TASK] Form sysext entry script cleanup · 002c700d
      Anja Leichsenring authored
      The form sysext contains a wizard to provide help for form creation.
      This script used the init.php entry script. This is no longer wanted,
      but the API can be used to add wizards.
      
      To do so, some files were moved around and follow the same schema
      as shown in openid sysext.
      
      Change-Id: I6b6c41de6c271c56404151b1ec95f45e6f7786af
      Resolves: #55669
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/27347
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      002c700d
    • Helmut Hummel's avatar
      [TASK] Use new way to register edit wizard · ccd20784
      Helmut Hummel authored
      Resolves: #56272
      Releases: 6.2
      Change-Id: Idfcb04fac9f1c4e6637b7df929694b193266c825
      Reviewed-on: https://review.typo3.org/27842
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      ccd20784
    • Helmut Hummel's avatar
      [FEATURE] Add new way to register a TCA wizard · d956775f
      Helmut Hummel authored
      Wizards used to be registered by defining a script path
      to an entry script. Since we now aim to reduce
      the number of entry scripts, wizards should be called
      through mod.php and be registered accordingly.
      However with the additional requirement of adding
      CSRF protection for all mod.php calls, we cannot
      hard code the script URLs for wizards any more.
      Instead BackendUtility::getModuleUrl should be used,
      which adds the CSRF protection token.
      Since this token depends on the current user session
      and TCA might be cached, we need a new way to register
      a wizard by just specifying the module name in TCA.
      
      FormEngine should then take care to call
      BackendUtility::getModuleUrl()
      
      Resolves: #56268
      Releases: 6.2
      Change-Id: I8dfd2f49257f673e0490e2553da63359a8e68776
      Reviewed-on: https://review.typo3.org/27841
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      d956775f
    • Helmut Hummel's avatar
      [TASK] Rename update wizard to upgrade wizard · b20aa02b
      Helmut Hummel authored
      For the release of TYPO3 4.5 that the wizard in
      install tool was renamed to "Upgrade Wizard"
      to distinguish between patch level updates and
      major version upgrades.
      
      During the refactoring of the install tool for 6.2
      the wizard was named "Update wizard again"
      
      Fix the name again and name the upgrade wizard
      "Upgrade Wizard" again.
      
      Releases: 6.2
      Resolves: #55970
      Change-Id: I2cc75b7dfc5ddb3889a080270bf90a101fed935a
      Reviewed-on: https://review.typo3.org/27617
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Jigal van Hemert
      Tested-by: Jigal van Hemert
      b20aa02b
    • Marc Bastian Heinrichs's avatar
      [TASK] Use DataHandler testing framework for simple import test · aa43d8f8
      Marc Bastian Heinrichs authored
      Adapt the impexp simple import test to the testing framework
      available with #54855.
      
      Resolves: #55664
      Related: #54855
      Releases: 6.2
      Change-Id: I6f1e9eb6ef3bda5b984ac67af3964fed90ba41f2
      Reviewed-on: https://review.typo3.org/27325
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Marc Bastian Heinrichs
      Tested-by: Marc Bastian Heinrichs
      aa43d8f8
    • Oliver Hader's avatar
      [BUGFIX] Missing move placeholders in irre_tutorial tests · ad67e91d
      Oliver Hader authored
      The functional test cases using EXT:irre_tutorial need to
      enable move placeholders. $TCA[<table>]['ctrl']['versioningWS']
      needs to be "2" and not just TRUE
      
      Resolves: #56244
      Releases: 6.2
      Change-Id: Ic47536f26fd23a15b2c31c3eb05c1f30acd82865
      Reviewed-on: https://review.typo3.org/27817
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Oliver Hader
      Tested-by: Oliver Hader
      ad67e91d
    • Wouter Wolters's avatar
      [BUGFIX] Can't remove static templates from selection in template module · 6711c14b
      Wouter Wolters authored
      Add missing '$' in front of formEl
      
      Resolves: #56221
      Releases: 6.2
      Change-Id: Ia9b3260eebd007a60a34c33ac357fa84c572c8ac
      Reviewed-on: https://review.typo3.org/27820
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Jost Baron
      Tested-by: Jost Baron
      6711c14b
    • Wouter Wolters's avatar
      [TASK] Remove unused $arrayConstraint in IndexerServiceTest · 979c401a
      Wouter Wolters authored
      The array was used by a mock call which is removed from
      the test.
      
      Resolves: #56119
      Releases: 6.2
      Change-Id: I6aa5ad720a52a710e59b9570a769396d6acb37fb
      Reviewed-on: https://review.typo3.org/27821
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Stefano Kowalke
      Tested-by: Stefano Kowalke
      979c401a
    • Jigal van Hemert's avatar
      [BUGFIX] felogin reset password links not clickable · fbd10dbb
      Jigal van Hemert authored
      Encoding a few extra character besides the ones according to RFC3986
      makes password reset links working again in various mail clients which
      do not comply to this RFC (and which do not have plans to fix this in
      the near future).
      
      Change-Id: I0b42bef6cb732c5fc6cc2d900407271cb606e301
      Fixes: #23984
      Releases: 6.2, 6.1, 6.0, 4.7, 4.5
      Reviewed-on: https://review.typo3.org/17176
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Jigal van Hemert
      Tested-by: Jigal van Hemert
      fbd10dbb
  2. Feb 24, 2014
    • Francois Suter's avatar
      [BUGFIX] Adding new menu types triggers error · 8dad992c
      Francois Suter authored
      With the addition of categories-related menus, new fields were added
      to the tt_content "menu" palette for handling categories relations.
      This causes problems when people define new menu types.
      
      This patch adds the categories-related fields in a more targeted
      way using subtypes_addlist. The difference is that these fields
      are not *in* the palette anymore, but just after it. I think
      it is okay from a usability point of view and it makes the whole
      categories thing less intrusive.
      
      Resolves: #54041
      Releases: 6.2
      Change-Id: I923a6ec0d7716821626a31a95d80027987038bf1
      Reviewed-on: https://review.typo3.org/27591
      Tested-by: Dirk Klimpel
      Reviewed-by: Dirk Klimpel
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      8dad992c
    • Steffen Ritter's avatar
      [TASK] Remove outdated upgrade wizards · 2e1c368a
      Steffen Ritter authored
      The core ships upgrade wizards for all versions since TYPO3 CMS 4.2.
      Users upgrading to TYPO3 CMS 6.2 LTS should have at least TYPO3 4.5 LTS
      or later. Therefore all Upgrade-Wizards which already have been executed
      to upgrade to TYPO3 CMS 4.5 LTS and below can be safely removed for the
      current LTS.
      
      This change removed all these wizards relating to changes in 4.2, 4.3 and
      4.5.
      
      Resolves: #54930
      Releases: 6.2
      Change-Id: Ia691e3ca7dd347c6748a8e9d753278b2247f75b9
      Reviewed-on: https://review.typo3.org/26776
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      2e1c368a
    • Anja Leichsenring's avatar
      [TASK] Switch info and func module to mod dispatcher · 69408211
      Anja Leichsenring authored
      BE modules info and func now uses mod.php.
      
      Changing the entry script for func and info module
      will cause integrated submodules to fail in
      case they use the old entry point index.php
      with a relative path somewhere in funcMenu or in
      other links or actions.
      
      A compatibility layer is introduced in
      typo3/index.php to catch those old
      links and redirect to mod.php with proper parameters.
      
      Change-Id: I83d31b6004ae3556dd8bf7c5c47b0fea39aaad55
      Resolves: #55809
      Resolves: #55672
      Resolves: #55670
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/27508
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      69408211
    • Benjamin Kott's avatar
      [BUGFIX] Fix JS concat if first file is forced on top · bfd71d58
      Benjamin Kott authored
      If a javascript file is forceOnTop the script uses array_unshift()
      to put the file at the beginning of the section array. If this is
      the first file that got processed, the array does not exist yet,
      so the array_unshift function returns NULL and the file
      will not added to the array.
      
      The fix properly initalizes the section sub-array.
      
      Resolves: #56242
      Releases: 6.2, 6.1
      Change-Id: I23af7862263fb0685032c34ded8736df87ddeb99
      Reviewed-on: https://review.typo3.org/27793
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Benjamin Mack
      Tested-by: Benjamin Mack
      bfd71d58
    • Tymoteusz Motylewski's avatar
      [!!!][TASK] Remove empty classes implementing AbstractTreeView · be558f4f
      Tymoteusz Motylewski authored
      The tree class hierachie contains 3 empty classes, removed
      by the patch:
      
      * \TYPO3\CMS\Rtehtmlarea\ImageFolderTree
      * rteFolderTree extends localPageTree in class.browse_links.php
      * rtePageTree extends localFoltderTree in class.browse_links.php
      
      Resolves: #55847
      Related: #55830
      Releases: 6.2
      Change-Id: I5d0d92a484c37b6c2812f3350ab3f4dd3dfd15c8
      Reviewed-on: https://review.typo3.org/27527
      Tested-by: Tymoteusz Motylewski
      Reviewed-by: Tymoteusz Motylewski
      Reviewed-by: Frans Saris
      Tested-by: Frans Saris
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      be558f4f
    • Oliver Hader's avatar
      [TASK] Windows issues with long file names in Git sources · 77e287f7
      Oliver Hader authored
      The recent DataHander functional tests integrate file names that
      are very long since they contain a description of what actually
      is expected in the accordant test assertion file.
      
      However, Windows has a limit of 260 characters per file path.
      The longest file path of the mentioned functional tests has been
      223 characters and is now reduced to 166 characters.
      
      Resolves: #56177
      Releases: 6.2
      Change-Id: I1490a3f0fae7ef40547d81e304cb98077ab6142b
      Reviewed-on: https://review.typo3.org/27815
      Reviewed-by: Marc Bastian Heinrichs
      Reviewed-by: Oliver Hader
      Tested-by: Oliver Hader
      77e287f7
    • Alexander Schnitzler's avatar
      [!!!][SECURITY] Add CSRF Protection for tce_file.php · 75281c9c
      Alexander Schnitzler authored
      Add a token check in tce_file.php and token generation
      everywhere forms for or links to tce_file.php are created.
      
      Additionaly make sure, an instance of ExtendedFileUtility
      is created in FileController on initialization to prevent
      a fatal "Call to a member function on a non-object" error
      in FileController::finish.
      
      Releases: 6.2
      Resolves: #55515
      Change-Id: Ifd585661ac2cac6c88eaca5ad63b447d27e35395
      Reviewed-on: https://review.typo3.org/27691
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      75281c9c
    • Marc Bastian Heinrichs's avatar
      [TASK] Limit the exported record fields in impexp · b5d82de8
      Marc Bastian Heinrichs authored
      To be able to compare mostly only the data provided in the
      database fixtures, the export needs to be limited to a given
      set of fields of a record type.
      This will loose the strict xml comparison of all existing fields
      in the database and the tests would not break whenever we
      change ext:core or ext:frontend ext_tables.sql.
      
      Resolves: #55625
      Releases: 6.2
      Change-Id: Ie48e540ab1c9e271b64b893353a84c34ac982a50
      Reviewed-on: https://review.typo3.org/27303
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Tymoteusz Motylewski
      Reviewed-by: Marc Bastian Heinrichs
      Tested-by: Marc Bastian Heinrichs
      b5d82de8
    • Felix Kopp's avatar
      [TASK] EXT: tstemplate - use treeline sprite icons · ae4764c2
      Felix Kopp authored
      Bring treeline sprite icons to t3-table in Template backend module.
      
      Resolves: #56229
      Releases: 6.2
      Change-Id: I95cfad211fe5750d0786592986b4849f5f5b9826
      Reviewed-on: https://review.typo3.org/27800
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Marcin Sągol
      Tested-by: Marcin Sągol
      Reviewed-by: Benjamin Mack
      Tested-by: Benjamin Mack
      ae4764c2
    • Steffen Ritter's avatar
      [BUGFIX] Using files in eID results in fatal error · eefa6525
      Steffen Ritter authored
      In TYPO3_MODE == 'FE' we attached language overlays for file metadata
      via an Signal in the MetaDataRepository. Within this signal the
      methods of the PageRepository in $GLOBALS['TSFE'] are used to do the
      actual language overlay.
      
      When using eID the Frontend is not initialized. When creating file
      objects in eID these functions are accessed on non-objects which
      obviously leads to a fatal error.
      
      As a result the registration of the Slot is extended to not register
      itself in case of eID requests.
      
      Resolves: #54232
      Releases: 6.2
      Change-Id: I4ccf226f48eb85428ce281c4a941ff7e834c2f88
      Reviewed-on: https://review.typo3.org/27692
      Reviewed-by: Wouter Wolters
      Reviewed-by: Frans Saris
      Tested-by: Frans Saris
      Reviewed-by: Georg Ringer
      Tested-by: Georg Ringer
      eefa6525
    • Felix Kopp's avatar
      [BUGFIX] New Content Element: hide list style · 12c1674a
      Felix Kopp authored
      Hides bullet points in New Content Element Wizard.
      
      Resolves: #56062
      Releases: 6.2
      Change-Id: Iead660b30df3cabea76d22dc962802c61be01ea7
      Reviewed-on: https://review.typo3.org/27804
      Reviewed-by: Georg Ringer
      Tested-by: Georg Ringer
      12c1674a
    • Felix Kopp's avatar
      [TASK] EXT: t3skin - .list-unstyled for ol & ul · 92852156
      Felix Kopp authored
      Brings CSS class for lists that semantically need to be
      UL or OL tags but do not have a visible list-style-item:
      
      <ul class="list-unstyled">
      	<li>…</li>
      </ul>
      <ol class="list-unstyled">
      	<li>…</li>
      </ol>
      
      Resolves: #55834
      Releases: 6.2
      Change-Id: Ic51fbe1f0995b4504d5b10a4c83775a977a19e33
      Reviewed-on: https://review.typo3.org/27801
      Reviewed-by: Georg Ringer
      Tested-by: Georg Ringer
      92852156
  3. Feb 23, 2014
    • Markus Klein's avatar
      Revert "[TASK] FrontendContentAdapterService processes record repeatedly" · fe7e00da
      Markus Klein authored
      This reverts commit 3adf7835
      
      This patch breaks section menus as it introduces invalid caching.
      The original patch has not yet been backported.
      
      Resolves: #56209
      Resolves: #54953
      Releases: 6.2
      Change-Id: Ia3fc8718ed3907913a5538eee102260425f2cf16
      Reviewed-on: https://review.typo3.org/27788
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      fe7e00da
    • Wouter Wolters's avatar
      [TASK] Upgrade normalize.css to version 3.0.0 · 40200bd1
      Wouter Wolters authored
      Resolves: #55316
      Releases: 6.2
      Change-Id: I945f0c033f3d69c1951ea9ee59b0a00c5f866175
      Reviewed-on: https://review.typo3.org/27046
      Reviewed-by: Stefan Neufeind
      Tested-by: Stefan Neufeind
      Reviewed-by: Marcin Sągol
      Tested-by: Marcin Sągol
      Reviewed-by: Michiel Roos
      Tested-by: Michiel Roos
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      40200bd1
    • Stefan Neufeind's avatar
      Revert "[CLEANUP] Replace strlen() with === for zero length check" · 94591100
      Stefan Neufeind authored
      This reverts commit de27a20a
      
      Change-Id: I078d2f7bbff605c91d83a9853e8feb9c31d57ccc
      Reviewed-on: https://review.typo3.org/27792
      Reviewed-by: Stefan Neufeind
      Tested-by: Stefan Neufeind
      94591100
    • Andreas Wolf's avatar
      [BUGFIX] Installer rejects traling slash in link target · 7b77f282
      Andreas Wolf authored
      When having e.g. the link for ``typo3/`` pointing to
      ``typo3_src/typo3/``, the install tool complains because the trailing
      slash is not expected. This slash is however perfectly ok, as there is
      no difference between typo3_src/typo3 and typo3_src/typo3/ – both point
      to the same "file" (i.e. node in the filesystem structure).
      
      This patch strips trailing slashes from the actual link target before
      doing the check, so no change to existing configuration is necessary.
      
      Change-Id: Ibcb2118a2bb8fcf004470f1a949824576ad4d1ec
      Resolves: #55551
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/27229
      Reviewed-by: Benjamin Mack
      Reviewed-by: Christian Kuhn
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Stefan Neufeind
      Tested-by: Stefan Neufeind
      7b77f282
    • Markus Klein's avatar
      [CLEANUP] Replace strlen() with === for zero length check · de27a20a
      Markus Klein authored
      It is faster to compare a string with === '' to find out if it's empty
      than to run strlen() on it.
      
      The replacement rules are applied as follows:
       *    if (strlen($str))
         => if ((string)$str !== '')
       *    if (!is_string($str) || strlen($str) === 0)
         => if (!is_string($str) || $str === '')
       * If it can be seen easily that $str is a string,
         the typecast is omitted.
      
      Resolves: #54091
      Releases: 6.2
      Change-Id: I59c5cbccea4f98b8f282377e6aa67d970859a457
      Reviewed-on: https://review.typo3.org/27091
      Reviewed-by: Stefan Neufeind
      Tested-by: Stefan Neufeind
      de27a20a
    • Julian Kleinhans's avatar
      [TASK] New SignalSlot after preInit in EditDocumentController · 0c5a0aa1
      Julian Kleinhans authored
      Adds a new SignalSlot possibility after the preInit method call.
      
      Resolves: #56195
      Releases: 6.2
      Change-Id: Ia68734999a0e5fbe6c945d9e28d8571cd6192e75
      Reviewed-on: https://review.typo3.org/27777
      Reviewed-by: Tomas Norre Mikkelsen
      Tested-by: Tomas Norre Mikkelsen
      Reviewed-by: Erik Frister
      Tested-by: Erik Frister
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      0c5a0aa1
  4. Feb 22, 2014
    • Helmut Hummel's avatar
      [TASK] Add additional configuration for functional tests · 9551ac77
      Helmut Hummel authored
      Our functional test suit does not fail currently when
      tested code emits a PHP warning. This is due to the
      fact that the factory configuration uses the
      production exception handler which silently discards
      warnings.
      
      This change adds additional configuration that
      is merged with the factory configuration.
      
      In this configuration the TYPO3 exception handling
      is disabled and the core and classes cache is
      disabled.
      
      Additionally a new property is added to the base
      class to easily add some configuration values that
      might be needed for the test case.
      
      Resolves: #56187
      Related: #56086
      Releases: 6.2
      Change-Id: I5c7c2c0d495bae06a56d2285b8d521eaa4ab37d2
      Reviewed-on: https://review.typo3.org/27773
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      9551ac77
  5. Feb 21, 2014