[Portal] Toggle trigger state on trigger list view errors

未关闭 适合新手
#178 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
67/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
azure, javascript
领域
cloud, frontend

调研方向

从概览 URL 中的 portal trigger 列表视图开始,并将其切换流程与切换功能正常的 trigger 详情视图进行比较。追踪列表视图在哪里提供 trigger 数据,以及在哪里读取 callbackUrl;创建一个 trigger 并在列表中切换它,以复现问题。完成标准是列表视图中的切换操作能够停用 trigger,且不出现 callbackUrl 未定义错误。

由索引模型根据 Issue 内容生成。

描述

bug portal
One-line summary

Can't toggle to disable triggers on list view

Area of the portal

No response

Severity

No response

What happened?

Toggling state here errors instead of disabling the trigger:

image

Error Cannot read properties of undefined (reading 'callbackUrl')

You have to click into the trigger detail view to toggle state.

What did you expect to happen?

Able to toggle state on the list view.

Steps to reproduce
  1. Create a trigger
  2. In the trigger list view, toggle the state
Page URL

https://connectors.azure.com/:subscriptionId/:resourceGroup/:resourceName/overview

App version / build / commit SHA

0dbbbf83

Browser & version (User-Agent)

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/157.0.0.0 Safari/537.36 Edg/157.0.0.0

Viewport size & theme

1499x777 @ dark

Entra tenant ID

72f988bf-86f1-41af-91ab-2d7cd011db47

Azure subscription ID

3e3884da-95cf-4002-a6b5-77e5f5a6aaca

Anything else

No response

主要语言
JavaScript
星标
20
派生
7
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

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

Azure/Connectors 的其他 Issue

查看 Azure/Connectors 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

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