Hi All,
We are working with a few custom angular/TS applications, hosted on a local cumulocity tennant.
The problem we are facing currently is updating these applications with a new version.
Backend Version: 1011.0.12
Current Status:
- We have a custom application uploaded through the administration application:
[Own Applications β Add application β Upload web application]
- The application is working as it should. We do not have any problems with this.
- We wish to update/upgrade this application.
- The only information we could find was to upload the new version as a .zip to the archive of the application and setting it as active.
What we expect to happen:
- The old version is completely removed
- The new version is uploaded/instantiated
What happens:
- The new version is set to be βactiveβ
- When opening the application, no changes are visible.
- Reload / Reactivate appear to be doing nothing.
- Opening the inspector, we can see that the loaded app..js file is exactly the same as in the old version i.e. has not been updated.
- Even if we completely delete the application from the application list and then upload the new version. The old version is still visible.
- We can force a correct load by manually changing the app..js link within index.html in the inspector to the filename as present in the new version.zip (so it is being unpacked and made available!). On reload, the new version will be shown.
- Switching back to the old version will now not work.
- We can only get the new version to show up if we upload it as a completly new application, but this would mean that we have to reset all credentials everytime we want to do an update.
Iβd like to know what exactly is going wrong or, what might be going wrong.