已合并
fix: the infinite loop caused by the error "Animated node with tag xxx does not exist". #1700
fix: the infinite loop caused by the error "Animated node with tag xxx does not exist". #1700
已合并
xiedairong创建于 2025年10月21日
xiedairong
2025年10月21日

Description

When a looping animation node is deleted, the next animation does not play. The main reason is that getMinAcceptableFrameRate calls getNodeByTag but does not catch errors, causing the system to enter an infinite loop of continuously throwing errors, which in turn prevents the next animation from playing.

Changes

  • fixed the infinite loop caused by the error "Animated node with tag xxx does not exist".

Test Plan

  1. Open the Tester.
  2. Check AnimatedTest::after the loading animation ends.

Checklist

likedislike
Pull Request已成功合入, 合并人@openharmony_ci
(感谢 xiedairong 的贡献)
Xxiedairong
2025年10月21日 关联了issue:fix: the infinite loop caused by the error "Animated node with tag xxx does not exist".
openharmony_ci
openharmony_ci成员
2025年10月21日 评论:

感谢提交 Pull Requests!
Thanks for submitting a pull request.

likedislike
openharmony_ciopenharmony_ci成员
2025年10月21日 添加了label:dco检查成功
xiedairong
2025年10月21日 评论:

start build

likedislike
openharmony_ci
openharmony_ci成员
2025年10月21日 评论:

该仓未配置门禁,无法触发构建。

likedislike
xiedairong
2025年10月21日 评论:

start build

likedislike
openharmony_ci
openharmony_ci成员
2025年10月21日 评论:

首次触发
门禁构建开始,包含静态检查、代码编译【ohos_react_native_sp1编译】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/68f7351564650f998bac6eae/runlist

likedislike
openharmony_ciopenharmony_ci成员
2025年10月21日 添加了label:编译成功
openharmony_ciopenharmony_ci成员
2025年10月21日 添加了label:静态检查成功
openharmony_ciopenharmony_ci成员
2025年10月21日 通过测试
openharmony_ci
openharmony_ci成员
2025年10月21日 评论:

代码门禁通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/68f7351564650f998bac6eae/runlist

静态检查:

# check type result report
1 codeCheck pass >>>

编译测试:
# Device build result package
1 ohos_react_native_sp1 success >>>

likedislike
xjerwuxjerwu成员
2025年10月21日 将wu_xujie1设为评审人
xjerwuxjerwu成员
2025年10月21日 通过了评审
huangyouhuahuangyouhua
2025年10月21日 通过审查
huangyouhuahuangyouhua
2025年10月21日 添加了 squash commit 备注:fix: the infinite loop caused by the error "Animated node with tag xxx does not exist".
openharmony_ciopenharmony_ci成员
2025年10月21日 关闭了关联的issue
openharmony_ciopenharmony_ci成员
2025年10月21日 合入了pull request