Skip to main content
Nintex Community Menu Bar
Question

K2 Menu System - JQMIGRATE: Migrate is installed, version 3.4.1

  • September 9, 2024
  • 7 replies
  • 324 views

mlangeveld15
Forum|alt.badge.img+3

I don’t know if anyone who has used the K2 Menu System (https://community.nintex.com/archive-25/k2-menu-system-9347) on 5.7 in this regard encoutered...


I did notice it since I upgraded today from 5.6 to 5.7 when I checked the console log.
All and all, my investigation took me to this page…


Has anyone encountered this issue, and if yes, what was your workaround?

7 replies

adithepo
Forum|alt.badge.img+4
  • Rookie
  • September 10, 2024

@mlangeveld15 Did you put k2ms.init.js in the ..\Runtime\Script\ folder?


mlangeveld15
Forum|alt.badge.img+3
  • Author
  • Rookie
  • September 10, 2024

@mlangeveld15 Did you put k2ms.init.js in the ..\Runtime\Script\ folder?

In K2 blackpearl\K2 smartforms Runtime\Runtime\Script, or in K2 blackpearl\K2 smartforms Runtime\Script ?

 

Just to tell you, the file is not in the former directory, but it is in the latter.


mlangeveld15
Forum|alt.badge.img+3
  • Author
  • Rookie
  • September 10, 2024

@mlangeveld15 Did you put k2ms.init.js in the ..\Runtime\Script\ folder?

In K2 blackpearl\K2 smartforms Runtime\Runtime\Script, or in K2 blackpearl\K2 smartforms Runtime\Script ?

 

Just to tell you, the file is not in the former directory, but it is in the latter.

@adithepo Just fyi, I did try to ad the file into that folder, but the same error still showed up


adithepo
Forum|alt.badge.img+4
  • Rookie
  • September 10, 2024

@mlangeveld15 From note:

Copy the "Script" folder into "C:\Program Files (x86)\K2 blackpearl\K2 smartforms Runtime\" or if you are using a custom runtime folder then copy these files in there.


adithepo
Forum|alt.badge.img+4
  • Rookie
  • September 10, 2024

@mlangeveld15  Did you try to re-deploy MenuSystem package?

 


mlangeveld15
Forum|alt.badge.img+3
  • Author
  • Rookie
  • September 10, 2024

thanks @adithepo 
Will respond back to you as soon as possible on what works and doesn’t work


mlangeveld15
Forum|alt.badge.img+3
  • Author
  • Rookie
  • September 11, 2024

Hi @adithepo 

So, me and my colleagues were able to resolve the error by doing three things.

  1. On the K2Menu.GetMenuHtml stored proc, we commented the '<script>selectCurrentUrlMenuItem();</script>' from the SET @HTML section at the bottom of the script;
     

    It would seem that the function in question may have been removed, because we at least couldn’t find it anywhere (not even within all the Javascript files).

  2. Restarted the K2 Service and IIS at least two times.

  3. Do a hard reload on Chrome and Edge to get rid of all the legacy cache that gave us trouble.

There is probably an alternative to resolve this more efficiently, but this worked for us at least.