caibirdme commented on issue #2782:
URL:
https://github.com/apache/apisix-dashboard/issues/2782#issuecomment-1498514041
After removing `{_meta: {disable: false}}` manually from the route config,
the `/route/{id}/edit` page also becomes blank.
Here's my conf get from admin api:
```json
{
"createdIndex":285,
"key":"/apisix/routes/454780323129983877",
"modifiedIndex":290,
"value":{
"id":"454780323129983877",
"update_time":1680755250,
"name":"checkopenid",
"upstream":{
"ignore to make it simple": "xx"
},
"status":1,
"create_time":1680599796,
"host":"api.example.com",
"uri":"/user/checkopenid",
"plugins":{
"forward-auth":{
"client_headers":[],
"uri":"http://172.18.63.2:12312/auth/game",
"upstream_headers":[],
"request_headers":[]
},
"proxy-rewrite":{
"scheme":"http"
}
},
"methods":[
"POST"
]
}
}
```
And here's error from browser:
```
umi.cdcf4f80.js:1
TypeError: Cannot read properties of undefined (reading 'disable')
at p__Route__Create.ad1ba13e.async.js:1:5053535
at Array.filter (<anonymous>)
at p__Route__Create.ad1ba13e.async.js:1:5053426
at _l (umi.cdcf4f80.js:1:1548033)
at Kc (umi.cdcf4f80.js:1:1567239)
at t.unstable_runWithPriority (umi.cdcf4f80.js:1:39456)
at li (umi.cdcf4f80.js:1:1509384)
at Wc (umi.cdcf4f80.js:1:1566990)
at Cc (umi.cdcf4f80.js:1:1558536)
at umi.cdcf4f80.js:1:1509675
Uncaught (in promise) TypeError: Cannot read properties of undefined
(reading 'disable')
at p__Route__Create.ad1ba13e.async.js:1:5053535
at Array.filter (<anonymous>)
at p__Route__Create.ad1ba13e.async.js:1:5053426
at _l (umi.cdcf4f80.js:1:1548033)
at Kc (umi.cdcf4f80.js:1:1567239)
at t.unstable_runWithPriority (umi.cdcf4f80.js:1:39456)
at li (umi.cdcf4f80.js:1:1509384)
at Wc (umi.cdcf4f80.js:1:1566990)
at Cc (umi.cdcf4f80.js:1:1558536)
at umi.cdcf4f80.js:1:1509675
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]