0

In DXA 2.2, After deleting a .js file from Multimedia and publishing it, the file is not getting removed from the Binary Data folder. Tridion version: 9.6.

Please provide some input.

3
  • I am slightly confused - if you deleted the file, how did you publish it? Normally, Tridion won't let you delete the file if it is already published, so there's probably something more complex happening, do you have more details, were you able to find anything else?
    – Nuno Linhares
    Jun 27, 2023 at 8:26
  • @JANANI, Welcome to Tridion StackExchange, I assume you are trying to delete the multimedia component used in the page and republish it. but DXA won't delete that file automatically from the Binary Data folder, It is best to schedule a job that removes old files on a regular basis.
    – Velmurugan
    Jun 29, 2023 at 15:12
  • This is a bug in .net version of DXA 2.2 ( not sure about java). This used to work in DXA 1.8. CleanupLocalFile method is missing in BinaryFileManager.cs (DXA2.2) -github.com/RWS/dxa-web-application-dotnet/blob/release/2.2/…; but was available in BinaryFileManager.cs (DXA 1.8) - github.com/RWS/dxa-web-application-dotnet/blob/release/1.8/…
    – Paras
    Jul 15, 2023 at 6:58

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.