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 2022/04/23 16:16:34 UTC
[GitHub] [apisix-dashboard] bzp2010 opened a new issue, #2438: bug: advance matching in the routing creation page causes the page to crash
bzp2010 opened a new issue, #2438:
URL: https://github.com/apache/apisix-dashboard/issues/2438
### Issue description
When we create an advanced match rule in a route, the page will crash if the reverse setting is not adjusted.
Based on the occurrence conditions, it is presumed that the default value of the reserve field is not set correctly. At that point, executing toString on a `null` value will result in a JS error.
https://github.com/apache/apisix-dashboard/blob/1fa5df3618708b392bb5fc2c866419b406cc43a7/web/src/pages/Route/components/Step1/MatchingRulesView.tsx#L148-L152
### Expected behavior
correct operation
### How to Reproduce
1. go to route create page
2. create a advance matching rule that not change `reserve` field (**don't click it**)
3. click `confirm`
4. page crashed
### Screenshots
_No response_
### Environment
- apisix-dashboard version, if have: 2.11.0
### Additional context
_No response_
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] Baoyuantop closed issue #2438: bug: advance matching in the route create page causes the page to crash
Posted by GitBox <gi...@apache.org>.
Baoyuantop closed issue #2438: bug: advance matching in the route create page causes the page to crash
URL: https://github.com/apache/apisix-dashboard/issues/2438
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] Si-ege commented on issue #2438: bug: advance matching in the route create page causes the page to crash
Posted by GitBox <gi...@apache.org>.
Si-ege commented on issue #2438:
URL: https://github.com/apache/apisix-dashboard/issues/2438#issuecomment-1107776063
I want to try to finish
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org