XiaoMi / naftis

An awesome dashboard for Istio built with love.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

invalid serviceUID

wansuiye opened this issue · comments

Describe the bug
A clear and concise description of what the bug is.
当创建任务时,返回 invalid serviceUID 这个错误。几个任务都报错

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Environments (please complete the following information):

  • OS: [e.g. Linux] Linux
  • Browser [e.g. chrome, safari] chrome
  • Version [e.g. 0.1.3] 0.1.4-rc5

Additional context
Add any other context about the problem here.

commented

@wansuiye 谢谢反馈!

创建任务时需要选择页面左侧服务树中的某一个服务(React 的 state 中会记录当前选中的 ServiceUID),然后才能在分布表单页面中创建成功。

此时如果刷新了页面,React 的 state 中的 ServiceUID 数据会丢失,这种情况下会报错。

这个是已知 bug,稍后我们会进行修复。