Chrome on a MacBook
-
Are you guys aware of any issues using Dashboard Designer in Chrome specifically on a MacBook? I can't "Edit Markup" as all I get is a blank page
Even thought the markup is blank there are many things supposed to be there. I disabled my ad blocker and the such. I am at Starbucks however... I kind of hope this turns out to be a bug related to Starbucks just cause
-
Hi psysak
Could you open your chrome dev tools console and have a look if there are any errors.
-
Hey, I seem to have jumped to a conclusion, it's the same on my Windows machine now too, I think the last thing I did was let Mango upgrade a couple of things, not sure which ones as I just clicked the little banner on top of the screen. Error in console is
mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78 ReferenceError: i is not defined at Module.promise (ace.js?v=3ae3013236be02c42cb3:1) at n.e.then.then.e (mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:72) (anonymous) @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78 c @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:72 (anonymous) @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:72 c @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78 $digest @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78 (anonymous) @ mangoUi~ngMango.js?v=1dfa5170b7822c28b0be:77 (anonymous) @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78 completeTask @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78 (anonymous) @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78 setTimeout (async) i.defer @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78 o @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78 nextTick @ mangoUi~ngMango.js?v=1dfa5170b7822c28b0be:77 z @ mangoUi~ngMango.js?v=1dfa5170b7822c28b0be:77 c @ mangoUi~ngMango.js?v=1dfa5170b7822c28b0be:77 (anonymous) @ mangoUi~ngMango.js?v=1dfa5170b7822c28b0be:77 $broadcast @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78 $destroy @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78 (anonymous) @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78 $digest @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78 $apply @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:78 g @ mangoUi~ngMango.js?v=1dfa5170b7822c28b0be:77 dispatch @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:39 g.handle @ mangoUi~ngMango~ngMangoServices.js?v=0f03d20f7b30b4a597f9:39
-
This seems to be happening quite a bit to me lately, this undefined i business. Not sure how to get around it now tbh.
-
In the unlikely event, there could be caching. I suggest you bring up the developer's console. cmd + option - i. And click and hold on the refresh button an option should come up to refresh and empty cache. Give that a whirl. Alternatively cmd option r should do it for a hard refresh.
There is also an option in the mango env.properties file to append a timestamp on the end as opposed to version numbers for mango angular files. If you enable that it could assist with keeping files fresh and chrome caching unnecessarily.
-
As @MattFox said, clear your cache, and also possibly try upgrading the UI module / re-installing it from the zip (drop it onto the offline upgrade page).
-
Cache didn't do it, I even tried a different browser :(
Are the dashboard files editable outside of the dashboard builder? Like can I load that thing into VS Code or something and do my work in there?
-
Yes, but I'd suggest @Jared-Wiltshire's advice and reinstall the mangoUI module first.
If you are unsuccessful then by all means copy the files into /[MANGODIR]/overrides/web/modules/mangoUI/web/
and edit. However the files are minified so I'd advise against it. Arrange for the team to remote in and take a look for you. I'm sure that will solve your issue if the reinstallation of the module does not fix your issue.EDIT: one more thing... Do you have any custom code in the overrides??? That includes any modified ui.*.js files.
If you have I'll wager it's clashing with the module code in the web/modules/mangoUI directory. -
@mattfox said in Chrome on a MacBook:
EDIT: one more thing... Do you have any custom code in the overrides??? That includes any modified ui.*.js files.
If you have I'll wager it's clashing with the module code in the web/modules/mangoUI directory.I don't think so, I never added anything there. I'll try the module re-install.
-
@psysak said in Chrome on a MacBook:
Are the dashboard files editable outside of the dashboard builder? Like can I load that thing into VS Code or something and do my work in there?
They are stored in the DB, I wouldn't attempt to edit them via the SQL console or JSON store page as the markup has some tricky escaping.
-
@jared-wiltshire said in Chrome on a MacBook:
@psysak said in Chrome on a MacBook:
Are the dashboard files editable outside of the dashboard builder? Like can I load that thing into VS Code or something and do my work in there?
They are stored in the DB, I wouldn't attempt to edit them via the SQL console or JSON store page as the markup has some tricky escaping.
Ohh so they are buried in there ok.
So can I accomplish the same thing just loading custom html pages into the system somewhere?I tried reloading the module, it didn't help. I not deleted it and am going to re-install it completely.
-
@psysak said in Chrome on a MacBook:
So can I accomplish the same thing just loading custom html pages into the system somewhere?
Not sure exactly what you mean but you can put a .html file in the file store and add a menu item that uses this file as its template.
@psysak said in Chrome on a MacBook:
I tried reloading the module, it didn't help. I not deleted it and am going to re-install it completely.
Where did you download it from? How did you re-install it? Are you positive you cleared your browser cache after reinstalling it? I always suggest opening Chrome debugger and clicking "Disable" cache on the "Network" tab then reloading.
-
Out of curiosity, what version of Java are you running? This sorta seems familiar when I (in error) tried to use Java 9.
-
I just had this issue pop up in page editor as well. However, I've also realized that everything works perfectly fine in FireFox so if I have any issues I just open that up.
-
@psysak said in Chrome on a MacBook:
I just had this issue pop up in page editor as well. However, I've also realized that everything works perfectly fine in FireFox so if I have any issues I just open that up.
If it is happening on the dashboard designer I would also expect it to affect the page editor too. They use the exact same ace editor component. Chrome should work 100% perfectly, the fact that you are still experiencing issues with this indicates there is something amiss with your installation. Please contact me via private message / chat and I'll get you to screen share and we can get to the bottom of it.
You also commented that you were experiencing this issue which was patched long ago.