Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

User Namespaces and Common Methods project settings have no effect on stacking

Đang mở
#2,678 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
api, backend

Hướng nghiên cứu

Read EventPipeline.cs and 20_ErrorPlugin.cs to follow how project settings reach the event context, then check the settings access patterns for @@DataExclusions, @@UserAgentBotPatterns and @@IncludePrivateInformation. Update the reads for UserNamespaces and CommonMethods with the stated fallback, and verify stacking for both configuration settings and existing data properties; consider whether migrating Project.Data is needed for the settings page.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

Problem

The User Namespaces and Common Methods fields on the project settings page are saved, but the event pipeline never sees them, so they don't affect stacking.

Reproduction

Verified against exceptionless/exceptionless:8.10.0 (StackingSignatureE2ETest):

  1. POST /api/v2/projects/{id}/config?key=UserNamespaces with com.example (what the UI does). Submit an error thrown from Integer.parseInt called by com.example.Foo. Result: the signature method is still java.lang.NumberFormatException.forInputString(...).
  2. POST /api/v2/projects/{id}/data?key=UserNamespaces with com.example. Submit the same error. Result: the signature method is com.example.Foo.parse(...) as expected.

Proposal

ErrorPlugin should read UserNamespaces and CommonMethods from context.Project.Configuration.Settings, falling back to the existing data properties for backwards compatibility. That's also how @@DataExclusions, @@UserAgentBotPatterns and @@IncludePrivateInformation are read.

Optionally migrate existing Project.Data values into the configuration so the settings page shows them.

Note: configuration settings are also sent to clients by /projects/config. That's harmless, since clients ignore keys they don't know. Hiding them from the client-configuration table is already handled (config-options.svelte.ts#L61).

Ngôn ngữ chính
C#
Star
2.5k
Fork
508
Merge trung bình
2 ngày 17 giờ
Pull request đã merge (30 ngày)
40

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của exceptionless/Exceptionless

Tất cả issue của exceptionless/Exceptionless

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.