sipcapture / homer-app

HOMER 7.x Front-End and API Server
http://sipcapture.io
GNU Affero General Public License v3.0
207 stars 85 forks source link

Homer-APP GUI JS Console Error - Value must be an array in multiple-selection mode. #395

Closed SharadKumar97 closed 4 years ago

SharadKumar97 commented 4 years ago

Hey guys,

We have been using Homer for a quite long time and it's working great with OpenSIPS. But it's been a few weeks that it stop showing calls or data on the UI. We can see that openSIPS is sendig calls and homer is recieving it and storing in the DB. But on the UI we can't see anything.

Version: homer-app 1.2.0

We are getting these error logs on browser console - main.8c9dc14eecdbf2d50be2.js:1 ERROR Error: Uncaught (in promise): Error: Value must be an array in multiple-selection mode. Error: Value must be an array in multiple-selection mode. at t._setSelectionByValue (main.8c9dc14eecdbf2d50be2.js:1) at main.8c9dc14eecdbf2d50be2.js:1 at e.invoke (polyfills.635d703039731e52383d.js:1) at Object.onInvoke (main.8c9dc14eecdbf2d50be2.js:1) at e.invoke (polyfills.635d703039731e52383d.js:1) at t.run (polyfills.635d703039731e52383d.js:1) at polyfills.635d703039731e52383d.js:1 at e.invokeTask (polyfills.635d703039731e52383d.js:1) at Object.onInvokeTask (main.8c9dc14eecdbf2d50be2.js:1) at e.invokeTask (polyfills.635d703039731e52383d.js:1) at T (polyfills.635d703039731e52383d.js:1) at polyfills.635d703039731e52383d.js:1 at e.invokeTask (polyfills.635d703039731e52383d.js:1) at Object.onInvokeTask (main.8c9dc14eecdbf2d50be2.js:1) at e.invokeTask (polyfills.635d703039731e52383d.js:1) at t.runTask (polyfills.635d703039731e52383d.js:1) at y (polyfills.635d703039731e52383d.js:1) at t.invokeTask [as invoke] (polyfills.635d703039731e52383d.js:1) at f (polyfills.635d703039731e52383d.js:1) at XMLHttpRequest.p (polyfills.635d703039731e52383d.js:1) Si @ main.8c9dc14eecdbf2d50be2.js:1 main.8c9dc14eecdbf2d50be2.js:1 ERROR Error: Value must be an array in multiple-selection mode. at t._setSelectionByValue (main.8c9dc14eecdbf2d50be2.js:1) at t.writeValue (main.8c9dc14eecdbf2d50be2.js:1) at main.8c9dc14eecdbf2d50be2.js:1 at main.8c9dc14eecdbf2d50be2.js:1 at Array.forEach () at t.setValue (main.8c9dc14eecdbf2d50be2.js:1) at main.8c9dc14eecdbf2d50be2.js:1 at Array.forEach () at t._next (main.8c9dc14eecdbf2d50be2.js:1) at t.tryOrUnsub (main.8c9dc14eecdbf2d50be2.js:1) Si @ main.8c9dc14eecdbf2d50be2.js:1 main.8c9dc14eecdbf2d50be2.js:1 ERROR Error: Value must be an array in multiple-selection mode. at t._setSelectionByValue (main.8c9dc14eecdbf2d50be2.js:1) at t.writeValue (main.8c9dc14eecdbf2d50be2.js:1) at main.8c9dc14eecdbf2d50be2.js:1 at main.8c9dc14eecdbf2d50be2.js:1 at Array.forEach () at t.setValue (main.8c9dc14eecdbf2d50be2.js:1) at main.8c9dc14eecdbf2d50be2.js:1 at Array.forEach () at t._next (main.8c9dc14eecdbf2d50be2.js:1) at t.tryOrUnsub (main.8c9dc14eecdbf2d50be2.js:1)

Please let us know if we can help to troubleshoot this issue.

Thank you

image

adubovikov commented 4 years ago

it will be great if you will update to the latest version: current is 1.2.7

adubovikov commented 4 years ago

as a workaround - please go to Settings -> Reset local storage and check again

SharadKumar97 commented 4 years ago

Hi

I tried clearing local storage but it won't work. I will upgrade it and let you guys know.

Thank you

adubovikov commented 4 years ago

Did you have any news ?

SharadKumar97 commented 4 years ago

Hey guys,

I confirm that after upgrading the homer-app to the latest version fixes this issue.

Thank you please go ahead and close the issue