Replies: 10 comments 9 replies
-
Hello @aetdr , actually this is not really a bug but an expected situation where we are trying to support the community. Basically updteing from AngularJS to Angular and from Boostrap 4 to 5 even if we maintained full general retrocompatibility, all depends on your javascript and your CSS files; I you use variables names that do not exist anymore (e.g. old angularjs functions or old boostrap css ID and classess) the mocks wont activate properly. |
Beta Was this translation helpful? Give feedback.
-
Hi @evilaliv3 Apperently, mocks get triggered and work fine at those places where complete page gets loaded (with HTML and so on)
Is it possible to trigger mocks after certaing API calls? It used to work before. |
Beta Was this translation helpful? Give feedback.
-
Thank you. This is probably related to the mocks implementation that could miss some of the previos capabilities and is not listening for these situations. @msmannan00: would you please give it a look at this? |
Beta Was this translation helpful? Give feedback.
-
@aetdr is it possible for you to load here the code that we could use to reproduce the situation? |
Beta Was this translation helpful? Give feedback.
-
Hi @evilaliv3 and @msmannan00 This one will get called and the change is shown when recipient logs in as full HTML is retrieved.
This one will never get called.
There is a single non-related issue, probably caused by switching from angularjs to angular.
The solutions I found using Google do not work, as the angular object is undefinded. |
Beta Was this translation helpful? Give feedback.
-
I can not move further with updating Globaleaks before this is solved. |
Beta Was this translation helpful? Give feedback.
-
Hi, we tried to reproduce the issue and worked fine on our test deployment, if you don't mind can you please share your complete js file so we can reproduce the exact environment, there might be a difference in how the file is loaded, would not take that much long when we reproduce the issue |
Beta Was this translation helpful? Give feedback.
-
He @msmannan00 I can not share the original file. I have just done the following:
are you able to make this file work with v 5.0.11? |
Beta Was this translation helpful? Give feedback.
-
Thanks for reporting, the issue has been pointed out, during the angular update mock trigger implementation on dom changes were missed, it has been implemented and fix would be released in a day or two |
Beta Was this translation helpful? Give feedback.
-
changes have been made, fix would be released in next version soon, thanks for reporting |
Beta Was this translation helpful? Give feedback.
-
What version of GlobaLeaks are you using?
v5.0.11
What browser(s) are you seeing the problem on?
Chrome
What operating system(s) are you seeing the problem on?
Windows
Describe the issue
Hi @evilaliv3
I have just upgraded from v4.15.4 to v5.0.11
Since the upgrade, all the mocks do not work.
There are no errors in the browser console.
The mocks are still defined fine and I can see them by executing "GL.mockEngine.mocks;" in the console.
I suspect recent changes to angular to cause the issue.
Proposed solution
No response
Beta Was this translation helpful? Give feedback.
All reactions