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

Crashes TypeError: Cannot read properties of null looking at search-full-store

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
58/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
frontend

Hướng nghiên cứu

Bắt đầu trong src/widgets/forms.js, tại biểu thức dataSource liên quan đến ui('search-full-store'), sau đó tái hiện đường dẫn search-full-store tạo ra giá trị null. Hoàn tất khi đường dẫn này không còn ném TypeError đã báo cáo khi kết quả tra cứu là null.

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

Mô tả

bug

mashlib.js:171608 errorMessageBlock: TypeError: Cannot read properties of null (reading 'length') at: TypeError: Cannot read properties of null (reading 'length')
at webpack_modules.../solid-panes/node_modules/solid-ui/lib/widgets/forms.js._fieldFunction.field. (https://timbl.com/timbl/Automation/Library/Mashup/mashlib.js:172564:57)
at webpack_modules.../solid-panes/node_modules/solid-ui/lib/widgets/forms.js._fieldFunction.field.._fieldFunction.field. (https://timbl.com/timbl/Automation/Library/Mashup/mashlib.js:171824:21)
at renderItem (https://timbl.com/timbl/Automation/Library/Mashup/mashlib.js:172121:20)
at Object.syncTableToArrayReOrdered (https://timbl.com/timbl/Automation/Library/Mashup/mashlib.js:169203:20)
at refresh (https://timbl.com/timbl/Automation/Library/Mashup/mashlib.js:172312:11)

in src/widgets/forms.js

const dataSource = kb.any(form, ui('search-full-store')).length ? null : dataDoc // optional

Ngôn ngữ chính
TypeScript
Star
153
Fork
46
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
7

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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 SolidOS/solid-ui

Tất cả issue của SolidOS/solid-ui

Issue tương tự

Thêm issue về TypeScript

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.