You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/08 13:48:04 UTC
[GitHub] [apisix-dashboard] idbeta opened a new issue #728: bug: del upstream but not del route, request the route, return 500
idbeta opened a new issue #728:
URL: https://github.com/apache/apisix-dashboard/issues/728
- Why do you submit this issue?
- [ ] Question or discussion
- [x] Bug
- [ ] Requirements
- [ ] Feature or performance improvement
- [ ] Other
### Bug
- Which version of Apache APISIX Dashboard, OS, and Browser?
APISIX 2.0 + APISIX-dashbaord 2.0
step1: create upstream
step2: create route, and choose upstream created by setp1
step3: del upstream from dashboard's upstream page
step4: request the route, return 500
I think step3 should be limited.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] nic-chen commented on issue #728: bug: del upstream but not del route, request the route, return 500
Posted by GitBox <gi...@apache.org>.
nic-chen commented on issue #728:
URL: https://github.com/apache/apisix-dashboard/issues/728#issuecomment-723980653
@membphis it's the same bug I found by e2e test
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] membphis edited a comment on issue #728: bug: del upstream but not del route, request the route, return 500
Posted by GitBox <gi...@apache.org>.
membphis edited a comment on issue #728:
URL: https://github.com/apache/apisix-dashboard/issues/728#issuecomment-723740484
for this case, we should print a friendly error message, help the user to know the reason
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] membphis commented on issue #728: bug: del upstream but not del route, request the route, return 500
Posted by GitBox <gi...@apache.org>.
membphis commented on issue #728:
URL: https://github.com/apache/apisix-dashboard/issues/728#issuecomment-724000580
ok, got it. we can fix it in `2.1`, low priority
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] idbeta commented on issue #728: bug: del upstream but not del route, request the route, return 500
Posted by GitBox <gi...@apache.org>.
idbeta commented on issue #728:
URL: https://github.com/apache/apisix-dashboard/issues/728#issuecomment-734774685
here is test case
```
{
caseDesc: "delete upstream - being used by route 1",
Object: MangerApiExpect(t),
Method: http.MethodDelete,
Path: "/apisix/admin/upstreams/1",
Headers: map[string]string{"Authorization": token},
ExpectStatus: http.StatusBadRequest,
},
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] membphis edited a comment on issue #728: bug: del upstream but not del route, request the route, return 500
Posted by GitBox <gi...@apache.org>.
membphis edited a comment on issue #728:
URL: https://github.com/apache/apisix-dashboard/issues/728#issuecomment-723740484
for this issue, we should print a friendly error message, help the user to know the reason
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] membphis commented on issue #728: bug: del upstream but not del route, request the route, return 500
Posted by GitBox <gi...@apache.org>.
membphis commented on issue #728:
URL: https://github.com/apache/apisix-dashboard/issues/728#issuecomment-723740157
that is a bug we know already, we can fix it later
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] membphis commented on issue #728: bug: del upstream but not del route, request the route, return 500
Posted by GitBox <gi...@apache.org>.
membphis commented on issue #728:
URL: https://github.com/apache/apisix-dashboard/issues/728#issuecomment-723740484
for this case, we should print a friendly error message
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org