Copied to clipboard

Flag this post as spam?

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


  • Suresh 2 posts 72 karma points
    Jun 06, 2023 @ 09:53
    Suresh
    0

    Angular js files aren't updating in umbraco 10

    I’m new to Umbraco and I’m currently working on updating a project from Umbraco 8 to 10. Any assistance would be greatly appreciated.

    We have a back office API that is being called from Angular code. In the code below, line 14 has been changed from $scope.lastError = result.ErrorSummary; to $scope.lastError = result.MessagesSummary;.

    However, even though MessagesSummary is available in the response, it is not being assigned. I suspect that it is still looking for ErrorSummary and assigning a null value instead.

    enter image description here

    The angular code change is not getting updated and feel umbraco is caching the old js file and using it. Though in browser it appears latest code but still the value is not being assigned.

    tried in private window, with cache disabled in browser. Deleted the smidge folder, below are my settings

      "Umbraco": {
    "CMS": {
      "Content": {
        "MacroErrors": "Throw"
      },
      "Hosting": {
        "Debug": true
      },
      "RuntimeMinification": {
        "UseInMemoryCache": true,
        "CacheBuster": "Version",
        "Version": "1234"
      }
    }
    

    }

  • AdTarling 1 post 21 karma points
    Jul 13, 2023 @ 11:15
    AdTarling
    0

    Try deleting the smidge files, then logging out and back into Umbraco. The caching is super aggressive, but with those steps in seems Umbraco is forced to rebuild the FE custom files.

Please Sign in or register to post replies

Write your reply to:

Draft