You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 reverse field is not set correctly. At that point, executing toString on a null value will result in a JS error.
bzp2010
changed the title
bug: advance matching in the routing creation page causes the page to crash
bug: advance matching in the route create page causes the page to crash
Apr 23, 2022
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 reverse field is not set correctly. At that point, executing toString on a
null
value will result in a JS error.apisix-dashboard/web/src/pages/Route/components/Step1/MatchingRulesView.tsx
Lines 148 to 152 in 1fa5df3
Expected behavior
correct operation
How to Reproduce
reverse
field (don't click it)confirm
Screenshots
No response
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: