Upgrade Episerver to latest version: Failed to load resource: the server responded with a status of 404 dojo.js

 

Hi Quan,

I don't know why since i upgraded episerver to latest version it seems that all custom properties is not work

I view console tab from chrome and i saw a lot of log error related to dojo

Can you please give an advaice

My module.config

<?xml version="1.0" encoding="utf-8"?>
<module>
<assemblies>
<!-- This adds the localsite template assembly to the "default module" -->
<add assembly="localsite.Web" />
</assemblies>

<clientResources>
<add name="epi-cms.widgets.base" path="Styles/Styles.css" resourceType="Style"/>
<add name="datetimes" path="Scripts/UTCDateTimeTextBox.js"/>
</clientResources>
<dojo>
<!-- Add a mapping from alloy to ~/ClientResources/Scripts to the dojo loader configuration -->
<paths>
<add name="localsite" path="~/ClientResources/editors/stringlist/Editor" />
<add name="datetimes" path="Scripts"/>
</paths>
</dojo>
</module>

Exception on brownser:


GET https://sitelocal.local/ClientResources/Scripts/editors/stringlist/Template.html 404
GET https://sitelocal.local/EPiServer/CMS/null 404
https://sitelocal.local/EPiServer/CMS/null 404

dojo.js:8827 Error: Invalid template:
at Function._21f.getCachedTemplate (widgets.js:2)
at Object.buildRendering (widgets.js:2)
at Object.create (widgets.js:2)
at Object.postscript (widgets.js:2)
at new (dojo.js:4381)
at Object._6ff (widgets.js:2)
at dojo.js:3135
at runFactory (dojo.js:1107)
at execModule (dojo.js:1236)
at dojo.js:802 "Error: Invalid template:
at Function._21f.getCachedTemplate (https://sitelocal.local/EPiServer/Shell/11.10.0/ClientResources/epi/shell/widgets.js:2:69677)
at Object.buildRendering (https://sitelocal.local/EPiServer/Shell/11.10.0/ClientResources/epi/shell/widgets.js:2:67496)
at Object.create (https://sitelocal.local/EPiServer/Shell/11.10.0/ClientResources/epi/shell/widgets.js:2:15484)
at Object.postscript (https://sitelocal.local/EPiServer/Shell/11.10.0/ClientResources/epi/shell/widgets.js:2:14925)
at new (https://sitelocal.local/EPiServer/Shell/11.10.0/ClientResources/dojo/dojo.js:4381:7)
at Object._6ff (https://sitelocal.local/EPiServer/Shell/11.10.0/ClientResources/epi/shell/widgets.js:2:251595)
at https://sitelocal.local/EPiServer/Shell/11.10.0/ClientResources/dojo/dojo.js:3135:55
at runFactory (https://sitelocal.local/EPiServer/Shell/11.10.0/ClientResources/dojo/dojo.js:1107:43)
at execModule (https://sitelocal.local/EPiServer/Shell/11.10.0/ClientResources/dojo/dojo.js:1236:5)
at https://sitelocal.local/EPiServer/Shell/11.10.0/ClientResources/dojo/dojo.js:802:7
----------------------------------------
rejected at signalDeferred (https://sitelocal.local/EPiServer/Shell/11.10.0/ClientResources/dojo/dojo.js:8372:15)
at signalListener (https://sitelocal.local/EPiServer/Shell/11.10.0/ClientResources/dojo/dojo.js:8343:5)
at Promise.Deferred.then.promise.then (https://sitelocal.local/EPiServer/Shell/11.10.0/ClientResources/dojo/dojo.js:8546:5)
at when (https://sitelocal.local/EPiServer/Shell/11.10.0/ClientResources/dojo/dojo.js:9065:26)
at Object._createInternal (https://sitelocal.local/EPiServer/Shell/11.10.0/ClientResources/epi/shell/widgets.js:2:250546)
at Object. (https://sitelocal.local/EPiServer/Shell/11.10.0/ClientResources/epi/shell/widgets.js:2:250145)
at https://sitelocal.local/EPiServer/Shell/11.10.0/ClientResources/dojo/dojo.js:3135:55
at Object.map (https://sitelocal.local/EPiServer/Shell/11.10.0/ClientResources/dojo/dojo.js:3650:15)
at Object._createWidgets (https://sitelocal.local/EPiServer/Shell/11.10.0/ClientResources/epi/shell/widgets.js:2:250075)
at Object. (https://sitelocal.local/EPiServer/Shell/11.10.0/ClientResources/epi/shell/widgets.js:2:249660)

Thanks

Thao Pham

#198260 Edited, Oct 24, 2018 9:27