Task #55177

Epic #55070: Workpackages

Epic #54260: WP: FAL Missing Issues / Features / API

Story #54261: As an Extension-Developer I want to use FAL assets in my custom development

Add concept of a default storage

Added by Oliver Hader over 1 year ago. Updated over 1 year ago.

Status:Resolved Start date:2014-01-20
Priority:Should have Due date:
Assigned To:Steffen Ritter % Done:

100%

Category:File Abstraction Layer (FAL) Spent time: 1.13 hour
Target version:6.2.0
TYPO3 Version:6.2 Complexity:medium
PHP Version:5.3 Sprint Focus:

Description

  • default storage is exclusively
  • is a substitute to previous /fileadmin/ directory
  • storage model get additional "isDefaultStorage" flag (boolean)
  • default storage can only exist once amongst all storages (unique)
  • new method ResourceFactory::getDefaultStorage() resolves this storage

Subtasks

Task #55187: Allow unique evaulation for TCA type 'check'ResolvedOliver Hader


Related issues

blocks Core - Bug #53552: File handling in import/export module is broken Resolved 2013-11-12

Associated revisions

Revision 90a1c7cb
Added by Steffen Ritter over 1 year ago

[TASK] Add possibility to resolve a default storage

Before FAL a default upload folder has been retrived by setting
$GLOBALS['TYPO3_CONF_VARS']['BE']['fileadminDir'] . 'user_upload'.
With FAL this even could be placed on a remote system. Furthermore
we do not won't users to fiddle around with path like that anymore.

Each Storage already provides "getDefaultFolder" meant for uploads.
But still, if there are several storages, there is no way to figure
out which storage should be the default one for uploads, if it is
legacy code or just not configurable.

This patch introduces the concept of a default storage as a flag
which can be set within the storage record. The automatic creation
of /fileadmin/ - storage will have this flag already set.

Resolves: #55177
Releases: 6.2
Change-Id: I6684670c5acb023bc26596e9a55ca84bb5c41b40
Reviewed-on: https://review.typo3.org/26945
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack

History

#1 Updated by Gerrit Code Review over 1 year ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26945

#2 Updated by Gerrit Code Review over 1 year ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26945

#3 Updated by Gerrit Code Review over 1 year ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26945

#4 Updated by Steffen Ritter over 1 year ago

  • % Done changed from 0 to 70
  • Estimated time set to 1.00
  • Remaining (hours) set to 1.0

#5 Updated by Gerrit Code Review over 1 year ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26945

#6 Updated by Gerrit Code Review over 1 year ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26945

#7 Updated by Steffen Ritter over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 70 to 100

#8 Updated by Steffen Ritter over 1 year ago

  • Estimated time deleted (1.00)

Also available in: Atom PDF