Project

General

Profile

Actions

Bug #103000

open

Running the cli command extension:setup causes duplicated fileadmin

Added by Philipp Wrann 3 months ago. Updated 18 days ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2024-01-31
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The following procedure in the dev setup of my extension leads to the wrong behaviour:

  1. composer install
  2. run through the installation wizard

What do i expect at this point:

In my extension i have a Initialisation/Files folder with several assets, that are required for the system to work properly. I expect the new installation's fileadmin to contain those files after the setup. But they are not there...

So i tried the following:

.Build/bin/typo3 extension:setup

No error at this point, but typo3 created another fileadmin. Its identical to the fileadmin with id 1. It even has the same tstamp value. So the database row was duplicated. My Initialization files have not been imported though...

What do i expect:

The same behaviour as in V11 - TYPO3 should correctly import my Initialisation files and should NOT create a second fileadmin record.

I can not share the source code of my extension as it is not open source.

I dont add any relevant hooks or event handlers, that could cause this problem.


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #103232: fileadmin is created 2 times in new setupNew2024-02-29

Actions
Actions #1

Updated by Philipp Wrann 3 months ago

This also happens when i remove the Initialisation folder.

Actions #2

Updated by Philipp Wrann 3 months ago

May also happen without running the setup command by simply going through the installation routine :-/

Actions #3

Updated by Philipp Wrann 3 months ago

Background: I suspected my "wrong" development setup to be the cause of this issue, see the following link:
https://talk.typo3.org/t/extension-development-v12-update-what-do-i-miss/5160/8

But after changing the setup to a classic project structure the problem with 2 fileadmin storages still persists

Actions #4

Updated by Riccardo De Contardi 25 days ago

  • Related to Bug #103232: fileadmin is created 2 times in new setup added
Actions #5

Updated by Stefan Bürk 18 days ago

The same behaviour as in V11 - TYPO3 should correctly import my Initialisation files and should NOT create a second fileadmin record.

Can you elaborate what you excatly mean by "import my initialisation files" ?

Actions #6

Updated by Stefan Bürk 18 days ago

  • Status changed from New to Needs Feedback
Actions

Also available in: Atom PDF