kytos-ng / sdntrace

Napp that traces OpenFlow paths in the dataplane
https://kytos-ng.github.io/api/sdntrace.html
GNU Lesser General Public License v3.0
0 stars 6 forks source link

ui: error on browser console - TypeError undefined is not an object (evaluating 'Object.keys(this.content)') #72

Closed italovalcy closed 4 months ago

italovalcy commented 6 months ago

Hi,

During the usage of Kytos with sdntrace UI enabled I got this error on the console:

Screenshot 2024-05-20 at 17 26 00

The detailed output was a log message I added to further investigate with the following change to the code:

$ grep -n -C 3 Italo ./node_modules/vue/dist/vue.esm.js
3783-    /* istanbul ignore else */
3784-    if (inBrowser && typeof console !== 'undefined') {
3785-        console.error(err);
3786:        console.log("Italo - Error in ".concat(info, ": \"").concat(err.toString(), "\""), vm);
3787-    }
3788-    else {
3789-        throw err;
italovalcy commented 6 months ago

This issue will be fixed by PR https://github.com/kytos-ng/sdntrace_cp/pull/116/files#diff-15d1fcf1f7cbb6ab5093b007bb346e5d0c3dc21cc852b0aeeefacf719d4ab5acR45

viniarck commented 4 months ago

This landed on https://github.com/kytos-ng/sdntrace_cp/pull/116/files#diff-15d1fcf1f7cbb6ab5093b007bb346e5d0c3dc21cc852b0aeeefacf719d4ab5acR45