Closed ilike2burnthing closed 4 months ago
Using my source Dtv build (as opposed to the packaged Dtv build), I see
angular.js:15535 Possibly unhandled rejection: Canceled
(anonymous) @ angular.js:15535
(anonymous) @ angular.js:11814
processChecks @ angular.js:17945
$digest @ angular.js:19074
$apply @ angular.js:19462
(anonymous) @ angular.js:28814
defaultHandlerWrapper @ angular.js:3804
eventHandler @ angular.js:3792
So the message is from AngularJS The implication is that the dialogue controllers (for either the single SE torrent dialogue or the multi-SE torrent dialogue) are missing a catch() someplace. Needs research.
nightly-202402131924
clicktrap: So at the moment the clicktrap directive which was intended to only close sidepanels when you click around the calendar, is (and apparently always has) also cancelling the open dialogues (in particular fastsearch, torrentsearch, subtitlesearch), which I've always found annoying.
I'm going to see if I can stop it doing that, and thus avoid the Possibly unhandled rejection: backdrop click
messages.
ok so its not clicktrap, so something else. Jeesh, this is why I hate AngularJS, there are so many routines with their fingers in the pie, it as bad as C# which I detest almost as much.
ok, the message comes from D:\DuckieTV-standalone\js\vendor\ui-bootstrap-custom-tpls-2.5.0.min.js which presumably is used by Dtv to create a uibModalWindow someplace, although I don't yet know how this is related to the dialogues yet.
It's not an error, it's just when you close modals with a click it rejects the promise and they just aren't caught, it's fine to ignore. Modals close by default on an outside click, that's part of ui-bootstrap I believe and it's configurable. I don't think it's related to the clicktrap.
OH that's good to know. Thanks.
What build of DuckieTV are you using (Standlone / Chrome Extension (New Tab / Browser Action)) Standalone
What version of DuckieTV are you using (Stable 1.1.x / Nightly yyyymmddHHMM) nightly-202402122056
What is your Operating System (Windows, MacOSx, Linux) Windows 10 x64 (confirmed in Windows Sandbox)
Describe the problem you are having and steps to reproduce if available When exiting the search panel (either by clicking the background or the exit button) it results in the console errors below.
Attach any DuckieTV statistics or Developer Console logs if available