Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ambiguity using the term "default storage" (for files) #3849

Open
sypets opened this issue Dec 30, 2023 · 1 comment
Open

Ambiguity using the term "default storage" (for files) #3849

sypets opened this issue Dec 30, 2023 · 1 comment

Comments

@sypets
Copy link
Contributor

sypets commented Dec 30, 2023

Current behavior

The term "default storage" is used for both "storage with uid=0" and "fileadmin as default storage".

"default storage": uid=0 in sys_file_storage:

The storage uid is optional. If it is not specified, the default storage "0" will be assumed initially. The default storage is virtual with $uid === 0 in its class \TYPO3\CMS\Core\Resource\ResourceStorage. In this case the local filesystem is checked for the given file.

"default storage": fileadmin

The default storage uses fileadmin/ unless this was configured differently, as explained in Storages and drivers.

https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/Fal/UsingFal/ExamplesFileFolder.html

Expected behavior/output

Use unique terms for each.

Links

https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/Fal/UsingFal/ExamplesFileFolder.html

TYPO3 versions

  • main (possibly also lower versions)

Possible Solution

Use "default storage" for fileadmin, find new term for "storage with uid=0", e.g.

  • "Fallback storage"
  • or "Automatic fallback storage"
  • or "Default virtual storage"
  • or "storage 0"

etc. ..

Additional context

The reason I ran into this problem is, I was searching for "storage 0" trying to find information about the storage with uid="0". (I read somewhere about plans for this and can't find this information anymore). If there is a unique term for this storage, it is easier to find issues in forge, information in the documentation etc.

If "default storage" is used for both storage with uid=0 and fileadmin, this makes it more difficult.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants