已关闭
[Bug]: static环境下startAbilityForResult接口在有错误码返回时也会返回abilityResult对象 #13774
zhongshield1创建于  2025年12月1日关闭于  2025年12月6日
zhongshield1
zhongshield1
2025年12月1日 创建

感谢对OpenHarmony社区的支持与关注,欢迎反馈缺陷。

发生了什么问题?

static环境下startAbilityForResult接口在有错误码返回时也会返回abilityResult对象

期望行为是什么?

static环境下startAbilityForResult接口在有错误码返回时不会返回abilityResult对象

如何复现该缺陷

写demo调用接口,拉起一个不存在的ability

其他补充信息

版本或分支信息


[x] master

[ ] Release 6.0

[ ] Release 5.1.0

[ ] Release 5.0.3

[ ] Release 4.1

[ ] Other

likedislike
zhongshield1zhongshield1
2025年12月1日 添加了label:bug
zhongshield1zhongshield1
2025年12月1日 关联了pull request:fix ret of StartAbilityForResult
openharmony_ci
openharmony_ci成员
2025年12月1日 评论:

感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 [@jayleehw](https://gitcode.com/jayleehw) [@zhangyafei-echo](https://gitcode.com/zhangyafei-echo) [@littlejerry1](https://gitcode.com/littlejerry1) [@jsjzju](https://gitcode.com/jsjzju) [@wkljy](https://gitcode.com/wkljy) [@yzkp](https://gitcode.com/yzkp) [@ccllee1](https://gitcode.com/ccllee1) [@yangxuguang-huawei](https://gitcode.com/yangxuguang-huawei) [@li-weifeng2024](https://gitcode.com/li-weifeng2024) [@wendel](https://gitcode.com/wendel) 。如果需要调整订阅PR、Issue的变更状态,请访问链接


Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer gitcode for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.

likedislike
openharmony_ciopenharmony_ci成员
2025年12月1日 添加了label:waiting_for_assign
openharmony_ciopenharmony_ci成员
2025年12月6日 关闭了 issue