Issue Bug Closed

#104330Missing file replacement option in tiles context menu

Henrik Elsner 07/08/24, 08:34 updated 12/02/25, 14:33

Description

I don’t know if this is a active decision or a bug, but in the tiles view of the filelist the option to replace a file is missing.
In the list view it does exist.

I could not properly find the place where this is handled, so maybe you can give me a hint and i’ll try to patch it. (in case this is not on purpose and actual a bug)

Reviews 3

Files 2

History 710

  1. Garvin Hicking commented and changed category <span data-processor="relativetime" data-value="2024-07-08T12:51:46+00:00" > 07/08/24, 12:51 </span>

    I doubt it’s by intent. I’ll check where this happens and will either fix it if its easy, or tell you 😅

  2. Garvin Hicking commented <span data-processor="relativetime" data-value="2024-07-08T17:30:34+00:00" > 07/08/24, 17:30 </span>

    Good news: I found all the files this is performed in. I could also add a new menu item quite easily. I provided a patch for it.

    Bad news: It’s sadly not a bug, but a missing feature. The new context menu uses shiny web components and JavaScript inline modals. The “old” list view still uses a controller+fluid view (typo3/sysext/filelist/Classes/FileList.php). Porting this “old style” to “new style” is a bit trickier; especially because a file upload needs to be handled.

    It should all be possible, but is definitely some work, that I personally can’t offer to take on for now. Maybe you’d be interested? I think it would be much appreciated to have this with a “new and shiny” interface, too. Maybe the patch can help you for that, I already created some stubs in the patch attached to this ticket.

  3. Gerrit Code Review pushed patch set 1 for main to change 90051 status Accepted Under Review <span data-processor="relativetime" data-value="2025-07-11T10:09:18+00:00" > 07/11/25, 10:09 </span>

  4. Andreas Nedbal commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-07-15T11:45:09+00:00" > 07/15/25, 11:45 </span>

    Applied in changeset commit:006db645e4716529390fc3f07d84fe36b8694c43.