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
{{ message }}
Repository navigation
Only once instance of wisej.web.DragDrop is allowed. #713
I tried chrome multiple tabs, chrome + ff and chrome + ff multiple tabs but cannot reproduce. I wouldn't know how to share the same javascript instance between two tabs or two browsers.
The only reason it could happen is if the application somehow is trying to create the DragDrop component twice. I tried to create the error and the only way to get close to it is to create a new instance of the Wisej.Web.Application class. I don't know why the constructor is public, it shouldn't be.
Can you check if your app creates a new Wisej.Web.Application() somewhere?
I have not found any use of the constructor in my project. The error happens in the old tab when I open a new one (only in another browser). For example when I open the page in firefox the IE instance crashes. Also only one crashes every time. I am using cookieless if that makes a difference.
I thought of cookieless too since it may happen that an attempt by a browser to reuse an existing session (if the URL contains the same sid) invalidates the session but couldn’t reproduce like that either. Do you have “validateClient”: false?
I still can’t reproduce. Does it happen if cookieless is false? Does it happen also for other wisej apps? (try http://demo.wisej.com/svgcolor) Is it always with FF or it happens also only with chrome and/or IE? Can I send you a debug build of Wisej.Web.dll to narrow this down?
Activity
itg-assistant commentedon Jun 12, 2026
Luca answered 2017-03-22 14:33:34 UTC
I tried chrome multiple tabs, chrome + ff and chrome + ff multiple tabs but cannot reproduce. I wouldn't know how to share the same javascript instance between two tabs or two browsers.
The only reason it could happen is if the application somehow is trying to create the DragDrop component twice. I tried to create the error and the only way to get close to it is to create a new instance of the Wisej.Web.Application class. I don't know why the constructor is public, it shouldn't be.
Can you check if your app creates a new Wisej.Web.Application() somewhere?
itg-assistant commentedon Jun 12, 2026
Adrian Joachim answered 2017-03-22 14:41:20 UTC
I have not found any use of the constructor in my project. The error happens in the old tab when I open a new one (only in another browser). For example when I open the page in firefox the IE instance crashes. Also only one crashes every time. I am using cookieless if that makes a difference.
itg-assistant commentedon Jun 12, 2026
Luca answered 2017-03-22 15:21:08 UTC
I thought of cookieless too since it may happen that an attempt by a browser to reuse an existing session (if the URL contains the same sid) invalidates the session but couldn’t reproduce like that either. Do you have “validateClient”: false?
itg-assistant commentedon Jun 12, 2026
Adrian Joachim answered 2017-03-22 15:59:33 UTC
I have tried tried disabling validateClient but it behaves the same. It happen when i open a new session (delete the sid part of the url and load).
itg-assistant commentedon Jun 12, 2026
Luca answered 2017-03-22 17:52:44 UTC
I still can’t reproduce. Does it happen if cookieless is false? Does it happen also for other wisej apps? (try http://demo.wisej.com/svgcolor) Is it always with FF or it happens also only with chrome and/or IE? Can I send you a debug build of Wisej.Web.dll to narrow this down?