Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Hello,

Since the release of chrome version 86.0.4240.75 multiple functionality's are broken in SuperOffice 8.5 R15, logging the following errors in the console:

Trying to create a new appointment:

Trying to open a drop down:

Note: Errors do not happen in SuperOffice 9

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Hi,

I have the same issue mainly when creating appointments.

Allready posted in:

https://community.superoffice.com/en/technical/Forum/rooms/topic/superoffice-product-group/crm-web-application/cookie-problems-with-version-82x-and-85x-versions/

 

Av: Norbert van Korlaar 7. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Thank you for your report.

R&D will start to digg into this ASAP

Av: Erik Eide 7. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Hi Erik,

Thanks for your response that R&D is looking into it.

I have run the chrome-bisect tool to find out what broken it, eventually got this revision range where something was changed that broke it:

https://chromium.googlesource.com/chromium/src/+log/bd2832b620af18975b54a96cca19ea1231a779bf..e752cc67acaa3f25f0ced9e002d808e7aaacd734

Hopefully it helps.

Av: David Hollegien 7. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

This update seems to break SuperOffice versions between 8.0 - 8.4 R02. 

Minipanel and bottom sections doesn't load data, buttons on top right corner isn't clickable.

Trying to change filter settings gives this error message:

Newer versions looks fine.
Edit: Newer versions does not look fine.
The issues are different on versions between 8.4 R03 - 8.5 R14 (wasn't able to test R15)
It is not possible to get lists to work, when you for example create a new appointment. After choosing a type, the lists stops loading and gives errors in the console as mentioned here.

Av: Serkan Gonca 7. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Hi , 

Also wanted to note that also 8.2 version is effected and is neerly unusable with this Chrome version.

Please consider a patch for this version also, an upgrade to a higer version is not always possible in a short time .

Kind Regards

Av: Mehmet Canavar 7. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

I also have a customer experiencing this issue on version 8.5 R13

 

They are going over to edge for the time being, but is looking forward to a fix asap.

Av: Dennis Aagaard Mortensgaard 8. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

We have multiple customers experiencing this issue, for now we recommend temporarily switching to another browser but that isn't always possible.

Any ETA on a fix?

Av: David Hollegien 8. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

I'm getting reports that the beta version of edge (which will include the same version of the chromium engine that is causing the issue) is also experiencing this behavior. That means it will soon not even be an option to circumvent the problem by using edge.

Av: Dennis Aagaard Mortensgaard 8. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Hi,

Also experiencing this on Version 8.5 R15

Creating for ex. a Task , cannot select Compay from list and trying the search function eventually gives:

Dialog callback execution went horribly wrong: undefined_obj is not defined

Hope for a fix asap.

 

Av: Remco Koot 8. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Hey :)
We are working on it! And have found a bug, fixed and testing it now on 8.5 R15, but...

We are not sure about fixing all the older versions, since this fix is in a bundle of java joy... but we'll keep digging for possibilities for older versions.

As you all have started to do, is to move to other browsers, but we do understand that it's not a permanent soloution.

We'll keep you posted!

Av: Kirsti Aakerholt 8. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Sorry to be a pessimist here: I do not think we are able to make fixes for all 8.x versions here. It's just out og scope and would take weeks (months?) to to if even possible.

Our goal is to provide a new version og 8.5 R15 that solves the issue.

 

Av: Erik Eide 8. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

If possible, it would be nice with some details about what the actual Javascript issue is. There are lots of smart people in the community, and maybe, just maybe, it might be possible we could hack the javascript files ourselves in those emergency cases where we can't upgrade in a hurry.

Av: Frode Lillerud 8. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

a naive question, but.... would this change not affect a lot of systems/apps that relies on the same mechanisms as superoffice does when running in Chrome ?

 

 

 

Av: Eirik Simonsen 8. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

hello, we have the same problem with us as with almost all our 8.x customers. The solution is apparently to switch to the Firefox browser, which means a considerable effort for our customers. A quick solution would be desirable and appropriate.

Av: Christopher Merz 8. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Totally agree with Frode Lillerud here, Sharing the solution used in the version with the fix and let the community fix the older versions by themselves could be an option.

Av: Mehmet Canavar 9. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Hi,

The bug that is causing alot of problems is the function registerLeftClickContextMenu in MenuManager. You could patch the function in MenuManager.js or adding this override in a custom script.

This 'quickfix' will most likely work from version 8.0.5942.a and newer (NB! not testet).

MenuManager.registerLeftClickContextMenu = function(
  elementId,
  context,
  subcontext,
  id,
  position,
  callBack
) {
  var elem = null;

  if (typeof elementId === "object" && typeof elementId.jquery === "string") {
    elem = elementId.get();
  } else {
    elem = SuperOffice.SoHelper.getElementById(elementId);
  }
  var funcStr = "";
  if (typeof callBack != "undefined" && callBack != null && callBack != "") {
    funcStr =
      callBack +
      "(event, '" +
      elementId +
      "', '" +
      context +
      "', '" +
      subcontext +
      "', " +
      id +
      ",'" +
      position +
      "' );";
  } else {
    funcStr =
      "MenuManager.displayMenu(event, '" +
      elementId +
      "', '" +
      context +
      "', '" +
      subcontext +
      "', " +
      id +
      ",'" +
      position +
      "' );";
  }

  var onclick = $(elem).attr("onclick");
  if (!onclick)
    $(elem).attr("onclick", funcStr);
  else {
    $(elem).attr("onclick", onclick + funcStr);
  }
};
Av: Jørund Myhre 9. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Just FYI.

Instructed my colleague to use Edge, but as of today that is not an option anymore.

Since version 86.0.622.38 of Edge it is impossible to save Tasks/Activities

 

Av: Remco Koot 9. okt 2020

Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Jørund, the fix on this Javascript, will this also fix the problem with selecting Tasks in the Appointment dialogue or only when you right-click the activitylist? 

Update:

We have tested to update this Script at a customers testsite with 8.5R15 - and this seems to fix the problems we have experienced. We have not checked if this script is identical on earlier releases, but I guess if there is different versions on 8.3/8.4 that R&D would supply fixes on these as well? 

Thanks Jørund and SuperOffice R&D - this then seems to be less work fixing the problem than we expected

Av: Atle Bjerck 9. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Hello,

I tried the javascript fix posted by Jørund by adding it to SuperOffice using a merge file. It does fix the opening of menu's but doesn't solve the saving of appointments etc.

Av: David Hollegien 9. okt 2020

Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

David - We took a copy of the default.min.js file, searched for the script inside there and replaced it. Beware that you will have to change "If-Then-Else to "a ? : b" etc...  

I think that you should try this in a test-invironment just to be safe and probably wait for the official "patches" from R&D before you roll this into production... 

Av: Atle Bjerck 9. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Hello,

Obviously we aren't doing this on a production environment, this just in test. Since this fix doesnt solve all the problems it is no use to roll it out to customers.

Edit: editing the default.min.js directly instead of overwriting the function using a merge file does seem to fix more issues.

Av: David Hollegien 9. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Hello, we have implemented your solution in a custom script and it looks like this will solve the problems. Thanks

Av: Christopher Merz 9. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

I have  tested this with the following:

1.Created merge file  SoApplicationConfiguration.merge

2. Added  the location and name of the js script override  to the <jsincludes><jsinclude> ~/JavaScripts/Custom/ChromeFix.js</jsinclude></jsincludes> section.

3. placed the file with the override function  to the ~/JavaScripts/Custom/ChromeFix.js location.

4. restarted the webserver

5. did a flush and cache clean on the browser.

 

No errors in the console so far , no other issues with adding or saving  Appointments.

Dit this for : Version 8.2 R2  and 8.5 Release (Build: Release85_C-2019.06.03-0

and do not forget to add the "CustomPath"  section pointing to the  new Custom_data folder to the web.config file :

<add key="CustomPath" value="path to custom_data" />

Av: Mehmet Canavar 9. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Hi,

 

could you maybe write in which Versions you implemented the fix?

Guess it would be good for others to know.

 

Greetings

 

Alex

Av: Alexander Wohland 9. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Atle: this 'quickfix' will most likely work from version 8.0.5942.a and newer (NB! not testet).

Av: Jørund Myhre 9. okt 2020

Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Thanks Jørund - we have tested both on 8.5R15 and on 8.4R04. So far we have chosen to modify the default.min.js so that this will be overwritten by the next update instead of applying the more safe custom-override as Mehmet successfully did.

Thank you again for your willingness to share a solution on this. We will try to fix some customers already this afternoon and get back here if we experience other issues.  

Av: Atle Bjerck 9. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Hello,

We have applied the change to the default.min.js to all the customers we host, no issues have been reported since then (all SUO 8.5 R15)

Av: David Hollegien 9. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Atle or David, can you please post the string you used in the default.min.js for the registerLeftClickContextMenu function? The one where you have already replaces the If function. Thank you.

Av: Martin Pavlas 9. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Mehmet and Christopher, when you implemented the merge file with a custom script, did your default.min.js file got regenerated? I tried the same approach but the original function from the default.min.js file applied and not the one from the custom script. Or did you have to do other modifications?

Av: Martin Pavlas 9. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Hi Martin,

We replaced the following part:

_MenuManager.prototype.registerLeftClickContextMenu = function(elementId, context, subcontext, id, position, callBack) {
    var elem = null;
    elem = "object" == typeof elementId && "string" == typeof elementId.jquery ? elementId.get() : SuperOffice.SoHelper.getElementById(elementId);
    var funcStr = "";
    funcStr = "undefined" != typeof callBack && null != callBack && "" != callBack ? callBack + "(e, '" + elementId + "', '" + context + "', '" + subcontext + "', " + id + ",'" + position + "' );" : "MenuManager.displayMenu(e, '" + elementId + "', '" + context + "', '" + subcontext + "', " + id + ",'" + position + "' );", "" == elem.onclick || "undefined" == typeof elem.onclick ? elem.onclick = Function("e", funcStr) : (debug.trace("elem.onclick:" + elem.onclick, "menu"), elem.onclick = Function("e", funcStr + elem.onclick))
},

With:

_MenuManager.prototype.registerLeftClickContextMenu = function(
    elementId,
    context,
    subcontext,
    id,
    position,
    callBack
) {
    var elem = null;

    if (typeof elementId === "object" && typeof elementId.jquery === "string") {
        elem = elementId.get();
    } else {
        elem = SuperOffice.SoHelper.getElementById(elementId);
    }
    var funcStr = "";
    if (typeof callBack != "undefined" && callBack != null && callBack != "") {
        funcStr =
            callBack +
            "(event, '" +
            elementId +
            "', '" +
            context +
            "', '" +
            subcontext +
            "', " +
            id +
            ",'" +
            position +
            "' );";
    } else {
        funcStr =
            "MenuManager.displayMenu(event, '" +
            elementId +
            "', '" +
            context +
            "', '" +
            subcontext +
            "', " +
            id +
            ",'" +
            position +
            "' );";
    }

    var onclick = $(elem).attr("onclick");
    if (!onclick)
        $(elem).attr("onclick", funcStr);
    else {
        $(elem).attr("onclick", onclick + funcStr);
    }
},
Av: David Hollegien 9. okt 2020

Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Remember that you have to flush SuperOffice to get this to work.

This is our step-by-step for adjusting default.min.js - be careful: 

- Backup the default.min.js file 

- Open the file in an appropiate editor (we are using Notepad++ in admin mode)

- Search for registerleftclick and scroll this line 

- Find the text callBack+"(e, and replace the e with event

- Find the text Menumanager.displayMenu(e, and replace the e with event

- Find the line starting with '""==elem.onclick and press Enter before the two "" (after the comma) to place this on a separate line

- Scroll to the right and press Enter before the } to place this on a separate line

- Replace the line starting with  ""==elem.onclick   and ending with  funcStr+elem.onclick))  with this line

!$(elem).attr("onclick") ? $(elem).attr("onclick", funcStr):$(elem).attr("onclick", $(elem).attr("onclick") + funcStr)

- Save, Flush and open the Appointment dialog

- If the repeat icons is removed under the date and there is no error-message in debug-mode, you are clear

 

Av: Atle Bjerck 9. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Thanks Atle!
Now even I might understand what to do.
Having 430 users asking for a fix :-)

Av: Göran Falkman 9. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Thank you Atle, here is the link to download the file for 8.5 R15. Do not use it for other versions.

Av: Martin Pavlas 9. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Hi Martin,

When using merge files method you have to stop the application pool and restart or do a full iisreset /force . 
I have not modified the default-min.js . 
If you want to jou can un minify the js to have a better readable file and minify it again  , there are online tools for that .

@Staffmembers :  What mehtod do you recoment  to use , modifying the default-min.js or just the fix in a js merge ? 

Av: Mehmet Canavar 9. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Thanks Martin.
I guess I have to modify default.min.js as we run SuperOffice 8.4 Build Release84_C-2018.11.05-03

/Göran

Av: Göran Falkman 9. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Mehmet, can you please post content of your .merge file? 

Thanks.

Av: Martin Pavlas 12. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Anyone managed to follow Atle's instruction on version 8.4 Build Release84_C-2019.03.15-01?

There are no hits for the following string in default.min.js:

'""==elem.onclick

(may be because my Notepad++ skills are too poor...)

Any help most appriciated...

Jan

Av: Jan Bonde 12. okt 2020

Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Jan, I see that the actual code that is to be replaced differs from version to version. Anyway, you should be able to identify the part that has to be replaced. Look into the "uncompiled" version of "MenuManager.js" and find the last part of the RegisterLeftClickContextMenu script... 

Av: Atle Bjerck 12. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Thanks for pointing me in that direction, Atle.

Av: Jan Bonde 12. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Hi Martin,

 

SoApplicationConfiguration.merge

<applicationsettings defaultprefsection="SuperMode">
    <!--Javascript include:  -->
  <jsincludes>
    <jsinclude path="~/JavaScripts/Custom/ChromeFix.js" />
  </jsincludes>
  
</applicationsettings>

ChromeFix.js

MenuManager.registerLeftClickContextMenu = function(
  elementId,
  context,
  subcontext,
  id,
  position,
  callBack
) {
  var elem = null;

  if (typeof elementId === "object" && typeof elementId.jquery === "string") {
    elem = elementId.get();
  } else {
    elem = SuperOffice.SoHelper.getElementById(elementId);
  }
  var funcStr = "";
  if (typeof callBack != "undefined" && callBack != null && callBack != "") {
    funcStr =
      callBack +
      "(event, '" +
      elementId +
      "', '" +
      context +
      "', '" +
      subcontext +
      "', " +
      id +
      ",'" +
      position +
      "' );";
  } else {
    funcStr =
      "MenuManager.displayMenu(event, '" +
      elementId +
      "', '" +
      context +
      "', '" +
      subcontext +
      "', " +
      id +
      ",'" +
      position +
      "' );";
  }

  var onclick = $(elem).attr("onclick");
  if (!onclick)
    $(elem).attr("onclick", funcStr);
  else {
    $(elem).attr("onclick", onclick + funcStr);
  }
};

 

And the entry "CustomPath" in the web.config :

    <ClientConfigurationProvider>
      <add key="CacheConfigurations" value="true" />
      <add key="FilePath" value="C:\Program Files\SuperOffice SM Web\SuperOffice\App_Data" />
	  <add key="CustomPath" value="C:\Program Files\SuperOffice SM Web\SuperOffice\Custom_Data" />
    </ClientConfigurationProvider>

 

That's it  really .

It Worked with  8.2 SR2  and 8.5 ( may version) ,

NOTE: Strange thing is that one of my onsite customer with 8.5 installation (version SuperOffice 8.5 Build Release85_C-2019.06.03-01) did not have any problems and did not have to change or add anything to the installation to work with this Chrome version..

 

Av: Mehmet Canavar 12. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Hi,

A question, there are two files containing the the "registerLeftClickContextMenu"-function,

c:\..\JavaScripts\default.min.js
+
c:\..\JavaScripts\MenuManager.js

Is the code in the file "MenuManager.js" actually never used? Is it just some kind of depricated legacy file replaced by the code in "default.min.js"??


Av: Marcus Svenningsson 12. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Hi Atle,

I think your instruction includes a typo:

There is no match at all for

'""==elem.onclick

in the script, but there is one match for

""==elem.onclick

The only difference is one small, but of course important, leading character:

'

After I worked that one out I did manage to make my customer's solution working. Except that the Task menu on a sale is "dead", but that could be due to roles/rights or other adaptions for this customer. I've asked the customer to test now.

//Jan

 

Av: Jan Bonde 12. okt 2020

Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

See this link for the Offical fix from R&D: https://support.superoffice.com/scripts/customer.fcgi?_sf=0&custSessionKey=&customerLang=en&noCookies=true&action=viewKbEntry&id=113857 

Av: Atle Bjerck 13. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

@Marcus, the default.min.js file contains the source code of all the seperate javascript components (like menumanager), only then minified so that it can be loaded as one (smaller) file by the browser. See the comment at the top the file 'WARNING: This file was built by grunt-uglify in CRM.Web.Development.'

Av: David Hollegien 13. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

David:
Ok, I understand.

That then leaves me with the question, why are the underlying javascript-files still deployed together with default.min.js if they aren't used? Is it just for "documentation" if one wants to understand what's in the minified version?

As the recommendation is to change default.min.js, I assume that this file isn't dynamically created from its source-files by a running SO-implementation but rather att compile-time or as part of the creation of the installation package?

Though, I understand that these are questions probably better answered by our own RnD than you David. :)

 

Av: Marcus Svenningsson 13. okt 2020

Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Marcus, if you see the posts from Mehmet above, you see that you can place a scriptfile in a Custom-directory and have it overridden in runtime. By including each script "uncompressed" it is much easier to do such customizations. When modifying the min-file directly it is overwritten by the next upgrade. By using a Custom override, this will "survive" upgrades, but you need of course to verify that it will work (compare to follow any changes in the source-file). 

Av: Atle Bjerck 14. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Just keep in mind the we actually want this patch to be temporary, and that it should be overwritten on the next upgrade. Using the mergefile approach could cause problems in the future. 

If you use this approach you need to remember to remove it again before you upgrade to future versions at this customer site.

 

 

Av: Erik Eide 15. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Agree with Erik. We've taken the merge-file approach for our customers, so we will need to remember to remove it again when customer is upgraded in the future. 

The "edit-javascript-file-approach" and "merge-file-approach" both have their pros and cons. We feel we have more control using merge file, but could just as well have gone for the other approach as well.

Av: Frode Lillerud 15. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Hi Atle,

I appreciate you taking the time to comment on my question and even though it contains a valuable explanation of the merge-override-functionality, I was looking for an answer on another question. :)

My question was rather, why are the underlying files which "default.min.js" is composed of still available in the folder, as they aren't used in the running implementation? As one of the suggested fixes is a change of "default.min.js", it is clear that they aren't used in any way to dynamically create/compile "default.min.js" during application startup or anything like that. I'm just curious of the reason. 

As this is a decision made by RnD, the question was mainly addressed to them to maybe comment on.

The chosen solution
I weighted pros and cons as Frode says and came to the same conclustion as mentiond by Erik Eide, that I want this adjustment to be automatically overwritten in the case of an upgrade. So I went for the "adjust-the-javascript-file"-solution, which worked like a charm with one of my customers. It also involved less extra configuration in the environment. But, before that I also tried out Mehmet's merge-file-solution in a virtual environment and it also seemed to solve the problem at a quick overlook.

Av: Marcus Svenningsson 17. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Hello,

We have been using edit the default.min.js and replace the registerLeftClickContextMenu approach to fix this, but we noticed yesterday during an upgrade from 8.4 R8 to 8.5 R15 that the SuperOffice Web Setup doesnt actually replace the default.min.js once you edited it...Tried it with both 8.4 R8 -> 8.5 R15 and 8.4 R15 & 9.1 R3.

Any way to instruct the setup.exe to overwrite edited files?

Av: David Hollegien 20. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Hi,

I do think that the installer looks at the date when the file was edited. Future versions of SuperOffice created after the date you modified the file, should replace the modified file.

We will verify this.

Av: Erik Eide 20. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

David:
Thanks that's valuable input to this case.

Erik:
I would say that the expected behaviour would be to always overwrite, no matter what. To have different behaviour based on create/change-date, seems like an unpredictable method.


Av: Marcus Svenningsson 20. okt 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Hi, we've started noticing a new problem related to this.

The issue has been registered here: https://community.superoffice.com/no/product-releases/bugs-wishes/product-issue/?bid=76573

This problem also affects the patched 8.5 version.

Anyone else seeing this?

Av: Frode Lillerud 12. nov 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

Hi Frode,

 

yes we see this. This is why it was registered. It will affect all versions with the Fix

This and the other two bugs linked to it will be fixed in 8.5 R16

 

Greetings

Alex

Av: Alexander Wohland 12. nov 2020

RE: Javascript errors with SuperOffice 8.5 R15 starting with chrome release 86.0.4240.75

I see the same. Have tested on SuperOffice 8.4 Build Release84_C-2019.04.09-01 with chrome edition 86.0.4240.198.

Av: Kasper Rosenlund 12. nov 2020