Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • AbsolutelyN 89 posts 437 karma points
    Jun 13, 2024 @ 09:54
    AbsolutelyN
    0

    v13 custom backoffice js not loading

    I've just upgraded a website from v8 to v13. The backoffice has two custom sections with trees and lots of pages for admin functions. Locally everything works perfectly.

    However when I publish it and run it on the server the files from app_plugins are not loading. The sections appear in the top navigation bar and the html templates load. It's the angularjs controllers that are not getting registered. I've tried everything I can think of but am somewhat baffled.

    • The files are all present and permissions correct - I can load the js files in the browser.
    • I've tried running the site in debug rather than release.
    • I've tried converting the package.manifests into code and adding via builder.ManifestFilters().Append
    • I've tried adding and changing RuntimeMinification settings
    • obviously caching turned off in browser(s) dev tools
    • deleted all temp files with the site on the server

    I've never come across this before and am at a loss - what am I missing?

  • AbsolutelyN 89 posts 437 karma points
    Jun 13, 2024 @ 12:53
    AbsolutelyN
    0

    If anyone runs into this adding "bundleOptions": "None" to the package.manifest sorted it.

    {
        "dashboards": [
    
        ],
        "javascript": [
    
        ],
        "css": [
    
        ],
        "bundleOptions": "None"
    }
    
Please Sign in or register to post replies

Write your reply to:

Draft