[Bug]: Cleanup with Wildcard Glob Does not Run

Aperta
#7,607 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

@bdukes ci sta già lavorando.

Dal 9/11/2026.

  • #7608 di @bdukes — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
csharp
Ambito
backend

Direzione di ricerca

The issue identifies the cleanup glob handling and the Microsoft.Extensions.FileSystemGlobbing upgrade as the cause. Read the cleanup implementation and the package changes referenced in #7044, #7498, and #7507, then reproduce the warning using the listed DNN 10.4.1 package. Done means reinstalling it no longer logs the comparison warning and the indicated files are deleted; linked PR #7608 is already open.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Status: New
Is there an existing issue for this?
  • I have searched the existing issues
What happened?

The Cleanup component in an extension's manifest is able to specify one or more globs of files to delete. However, this no longer works starting in DNN 10.4.0

Steps to reproduce?
  1. Extract Install/Provider/DNNConnect.CKEditorProvider_10.04.01_Install.zip from DNN_Platform_10.4.1_Upgrade.zip
  2. Reinstall the package on a DNN 10.4.1 site
Current Behavior

Currently, the installation will report that it was successful, but a careful examination of the installer log will indicate that it includes a warning:

Warning Non Fatal Error Cleaning Up Files: Unexpected StringComparison type: 'InvariantCultureIgnoreCase'. Only 'Ordinal' and 'OrdinalIgnoreCase' are supported.

screenshot of warning log after installation
Expected Behavior

The indicated files are successfully deleted

Relevant log output

Anything else?

The version of the Microsoft.Extensions.FileSystemGlobbing was bumped from 5.0.0 to 10.0.12 as part of DNN 10.4.0 (via #7044, #7498, and #7507). Starting in that library's 7.0.0 release, it only supports ordinal string comparisons, but DNN passes InvariantCultureIgnoreCase.

Affected Versions

10.4.1 (latest release)

What browsers are you seeing the problem on?

No response

Code of Conduct
  • I agree to follow this project's Code of Conduct
Lingua principale
C#
Stelle
1.1k
Fork
791
Merge medio
5g 7h
PR unite (30g)
29

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di dnnsoftware/Dnn.Platform

Tutte le issue di dnnsoftware/Dnn.Platform

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.