Alibaba Cloud Effects Platform clicks to open the white screen? Remember a "failed" attempt

Click the project label on the Alibaba Cloud Platform, and the content inside is a blank screen. My colleague contacted Ali to confirm that it was a bug. But when they solve it, I also try to solve it and prepare with both hands.

F12 opened the console and found that a json parsing exception was reported: unable to convert json: "check"

The console clicks on the network page, clicks the label again, and finds that the content of the page in the label is transmitted through a json, search for "check", and find a warning string

It is detected that you have not set a valid cache directory, which will cause you to repeatedly download dependent files every time you build

 I found a normal project tab and copied the normal json, but there is no such field.

Find the Ajax Interceptor plug-in on the Internet: This plug-in is a request interceptor that can get the response to the intercepted request and replace the entire corresponding string.

Fix the error json by comparing the normal json, and put the replacement content into the plug-in.

Refresh the page, and it turned out to be normal.

Click Publish, the problem is here: the json of this page has been replaced, so after publishing, it is still the same page refreshed. Disable the interceptor and report an error again!

Does it mean that you have to repair json for each operation to open it ?

I was too lazy to do it. It didn't take long for Ali to get it right. They deleted the process that reported the error. It was simple and rude, and we could only republish it again.

It is estimated that there was a problem when the process generated the error message. After fixing the bug, I forgot to deal with the dirty data, so I left this pit for us.

Therefore, you must follow up to eliminate the impact while modifying the bug . Otherwise, you will be unprepared when you feedback the problem, you can only use simple and rude methods

Guess you like

Origin blog.csdn.net/u012452555/article/details/109982838