PostgreSQL sorts and compares text by the database collation, unlike the other providers
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 55/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C#
- Star
- 569
- Fork
- 107
- Merge trung bình
- 2 giờ 49 phút
- Pull request đã merge (30 ngày)
- 397
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của fluentcms/FluentCMS
-
area:host area:operations type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:build security type:chore
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:sdk security type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:content security type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:build type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của fluentcms/FluentCMS
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
microsoft/microsoft-ui-reactor#1567 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
openclaw/openclaw-windows-node#2287 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
kind:ux needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
elsa-workflows/elsa-foundation#4742 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority:P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100