banana
banana copied to clipboard
Internet Explorer Loading
Hello,
I am running into an issue with loading Banana in Internet Explorer 9. When I get to the page it starts to load, however parts of the dashboard are not loaded; as in some panels are missing. If I check the network tab in dev tools I can see the file download count and it is short some files. At this point if I reload the page, the files from the first round will be used (304 status), but the rest will be downloaded (200) and everything will work fine. Any idea why IE9 is not downloading all the required files?
Also, I get a Error: $digest already in progress in the console log on the partial page load.
The first issue is actually a know issue due to libraries loading timeout. This patch resolves it.
The second one, $digest already in progress, might be related to IE9. Let's see if it persists after applying the patch.
Hi, Thanks for the patch, however I already configured require in my environment with unlimited timeout (0) and the issue is still around.
I have been troubleshooting this for about a day now and I am fairly convinced that the culprit is in the last block of app.js (where all components get loaded), but I am not certain.
Hello, Which version are you running?
Hi Ahmed, it's 1.3 and moving to 1.5 wouldn't be an option for us at this point. On Feb 20, 2015 4:06 PM, "Ahmed Adel" [email protected] wrote:
Hello, Which version are you running?
— Reply to this email directly or view it on GitHub https://github.com/LucidWorks/banana/issues/141#issuecomment-75319169.
Hi, we could run 1.3 on IE9 without issues (at least the mentioned issue after increasing waitSeconds). However, I wonder if this issue occurs on other browsers?
Hi Ahemd,
Our testers tested with firefox and chrome and did not report any issues. I did some testing as well and noticed this only in IE.
I just tried to access one of my banana 1.5 dashboards with IE 9 and did not run into the same issue. This dashboard has much more data and panels.
I still received the $disgest error message, but at least everything loaded fine.
Hi Ahmed, sorry for mistyping your name in the last post.
I have found a workaround that works sufficiently well for me although it is very much sub optimal. Had to change dashboard loading process in IE and put in a delay before syncing. in app.js:
$scope.$apply(function () { if(navigator.appVersion.indexOf("MSIE 9.")!=-1) { setTimeout(function() { fn.apply($scope, deps); },100); } else { fn.apply($scope, deps); } );
Hi, if it resolves $digest in 1.5 as well, a pull request is welcome!
1.5 was working fine, it is a terrible work around and I'd hate to contribute it.
I had to do a lot of custom things to our banana implementation to meet section 508 requirements, so it may have been something on our side.
Hi Nick, just thought that $digest issue occurs on IE9 and 1.5 for any dashboard, but seems specific dashboards only triggers this.