PostgreSQL sorts and compares text by the database collation, unlike the other providers
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
Start with src/FluentCMS.Data.PostgreSql/PostgreSqlStorageConventions.cs and compare its text-column configuration with src/FluentCMS.Data.SqlServer/SqlServerStorageConventions.cs; then read the base method in src/FluentCMS.Core/Storage/StorageConventions.cs. Locate the specification around lines 524–527, provider tests, content migration patterns, and release notes. Done means text sorting and range filters agree across providers, existing PostgreSQL content tables are migrated, and a regression test fails before the fix.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
src/FluentCMS.Data.PostgreSql/PostgreSqlStorageConventions.cs does not override ConfigureTextColumn (the base is a no-op, src/FluentCMS.Core/Storage/StorageConventions.cs:28). SQL Server sets a binary collation (src/FluentCMS.Data.SqlServer/SqlServerStorageConventions.cs:31, from #2874) and SQLite compares bytes. On PostgreSQL, sort order and lt/gt on text follow the database collation, so the same query returns a different order or a different set than on the other providers.
Proposal
Use the C collation on content text columns in PostgreSQL, with a content migration for existing tables. Add the line to the specification next to the SQL Server one (lines 524–527). The release notes must say that sort order changes for existing PostgreSQL data.
Acceptance
- Sort and range filters on text return the same result on all three providers
- Existing content tables are altered by a migration
- A provider test that fails before the fix
Found in the code review of 17 Nov 2026.
- Lingua principale
- C#
- Stelle
- 569
- Fork
- 107
- Merge medio
- 2h 49m
- PR unite (30g)
- 397
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di fluentcms/FluentCMS
-
area:host area:operations type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
area:build security type:chore
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
area:sdk security type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
area:content security type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
area:build type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di fluentcms/FluentCMS
Issue simili
-
bug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
microsoft/microsoft-ui-reactor#1567 ·
I maintainer di solito rispondono entro 1 giorno
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
openclaw/openclaw-windows-node#2287 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
kind:ux needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
elsa-workflows/elsa-foundation#4742 ·
I maintainer di solito rispondono entro 1 giorno
-
priority:P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
enhancement good first issue help wanted new-language
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100