Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Realtime Database Async update hangs on error

未关闭
#598 3 条评论 1 个 reaction 已指派 1 人 在 GitHub 查看

@jsdt 已经在做这个了。

开始于 2021年9月22日。

评估

这个 Issue 还没有评估数据。

描述

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
主要语言
Java
星标
620
派生
305
平均合并
4 天 9 小时
30 天内合并 PR
4

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

firebase/firebase-admin-java 的其他 Issue

查看 firebase/firebase-admin-java 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。