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

Realtime Database Async update hangs on error

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

@jsdt đang làm issue này rồi.

Từ ngày 22/9/2021.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

api: database
[REQUIRED] Step 2: Describe your environment
  • Operating System version: Docker openjdk:8 running on Google Cloud Run
  • Firebase SDK version: 8.0.1
  • Library version: 8.0.1
  • Firebase Product: RT Database (auth, database, storage, etc)
[REQUIRED] Step 3: Describe the problem

I made an update request with a completionListener with a badly sanitized key that had " and :. While I handled errors, this caused the request to end with an Internal error code. I forced the database call to timeout and received an error saying that my input was malformed.

Expectations: if the call to the database is malformed, it should just quit immediately instead of hang.

Steps to reproduce:
  1. Call the updateChildren function with a malformed key
  2. Force the callback to terminate (I used 5 seconds)
  3. You should see an error s.a Firebase Database error: Invalid token in path
Ngôn ngữ chính
Java
Star
620
Fork
305
Merge trung bình
4 ngày 9 giờ
Pull request đã merge (30 ngày)
4

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

Mở hướng dẫn đóng góp

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 firebase/firebase-admin-java

Tất cả issue của firebase/firebase-admin-java

Issue tương tự

Thêm issue về Java

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.