"Cannot Read Property 'SetAllocationList' of undefined" after upgrading ITSM

Moderator: crythias

Post Reply
msiroit
Znuny newbie
Posts: 2
Joined: 07 Jul 2017, 18:00
Znuny Version: 5.0.20
Real Name: Miguel Siroit
Company: VelocityPartners

"Cannot Read Property 'SetAllocationList' of undefined" after upgrading ITSM

Post by msiroit »

Hello I am getting the following error mentioned on the Subject after I made the upgrade to ITSM 5.0.20 its doesn't allow me to view history on mi configuration items.

This error also appears as: Unable to get property 'RegisterUpdatePreferences' of undefined or null reference.

Did anyone experience anything similar?

I updated the whole system to last version to see if it corrected but it is still at the same place

Thank you!
msiroit
Znuny newbie
Posts: 2
Joined: 07 Jul 2017, 18:00
Znuny Version: 5.0.20
Real Name: Miguel Siroit
Company: VelocityPartners

Re: "Cannot Read Property 'SetAllocationList' of undefined" after upgrading ITSM

Post by msiroit »

After some research, I came around to realize that there were a few Loaders missing from configuration:

At Frontend::Agent::ModuleRegistration:

Frontend::Module###AgentITSMConfigItem should have:

at Loader:
  • ITSM.Agent.Default.css
    Core.AllocationList.css
    Core.UI.AllocationList.js
    Core.UI.Table.Sort.js
    Core.Agent.TableFilters.js
    Core.Agent.LinkObject.js
Frontend::Module###AgentITSMConfigItemZoom should have:

at Loader:
  • ITSM.Agent.Detail.css
    ITSM.Agent.Default.css
    ITSM.Print.css
    Core.AllocationList.css
    thirdparty/jquery-tablesorter-2.0.5/jquery.tablesorter.js
    Core.UI.Table.Sort.js
    ITSM.Agent.Zoom.js
    ITSM.Agent.ConfirmDialog.js
    Core.UI.AllocationList.js
    Core.Agent.TableFilters.js
    Core.Agent.LinkObject.js

There might be some unnecesarry ones, but that fixed the issue for me.
Post Reply