Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
DarpanLalani committed Nov 22, 2023
2 parents cf8f46f + f4b39f7 commit aadbe2c
Show file tree
Hide file tree
Showing 5 changed files with 87 additions and 4 deletions.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,29 @@ Would you like to create your own Custom Runtime widget? Please refer our [Demo
## Troubleshooting

### Application Builder 2.0.0 and later

* **Persistent 'Under Maintenance' Warning Despite Upgrade to Application Builder 2.0:**
Typically, users should encounter this warning during the upgrade procedure, although its presence should be brief – lasting no more than a few minutes. If this warning persists even after the upgrade has finished, it indicates a potential issue during plugin installation or may be connected to network-related problems.
To address this issue, you can follow these steps:

**Note**: You may need to install your widgets/plugins manually from widget catalog or from administration after following these steps.


1. Logout from Application Builder Application.
2. Login again to cumulocity and navigate to Administration -> Ecosystem -> All Applications
3. Select Application Builder (custom) and delete it.
4. Click on Add Application
5. Install Application Builder 2.0 from [here](https://github.com/SoftwareAG/cumulocity-app-builder/releases)
6. Logout from Administration
7. Login again to cumulocity and navigate to Application Builder
8. Application Builder 2.0 will commence the installation process.

If the problem continues to persist, please don't hesitate to reach out to us for assistance using [Software AG Tech Community](https://tech.forums.softwareag.com/tag/Cumulocity-IoT).

* **Widget/plugins are not installed after upgrade:**
There are multiple reasons that your widgets/plugins might not installed such as browser page refreshed, network error, etc.
In this scenario you can follow any of the below approach:
1. If you have installed many widgets in earlier version of application builder then you can downgrade application builder by following [How to downgrade Application Builder to 1.3.x](https://github.com/SoftwareAG/cumulocity-app-builder/edit/2.0.0-dev-1/README.md#how-to-downgrade-application-builder-to-13x) and try again.
1. If you have installed many widgets in earlier version of application builder then you can downgrade application builder by following [How to downgrade Application Builder to 1.3.x](https://github.com/SoftwareAG/cumulocity-app-builder#how-to-downgrade-application-builder-to-13x) and try again.
2. If you have few widgets installed in earlier version of application builder, then you can just uninstall those widgets manually from Administration -> Ecosystem -> All Applications and install corresponding plugin either from Widget Catalog or from Administration -> Ecosystem -> Packages.


Expand Down
1 change: 1 addition & 0 deletions builder/branding/branding.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import { customLogo } from "./custom-logo";
import { classicTheme } from "./classic-theme";
import { standardTheme } from "./standard-theme";
declare const FontFace: any;
import * as d3 from "d3-color";

/**
* Adds style elements to the head which set the css variables required to re-theme cumulocity
Expand Down
1 change: 0 additions & 1 deletion builder/builder.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ export class BuilderModule {
appIdService: AppIdService, private settingService: SettingsService, private appBuilderUpgradeService: AppBuilderUpgradeService,
rendererFactory: RendererFactory2, @Inject(DOCUMENT) private _document: Document,
private modalService: BsModalService) {

const lockStatus$ = new Observable<{ isLocked: boolean, isLockOwned: boolean, lockStatus?: LockStatus }>(subscriber => {
const listenerId = simSvc
.addLockStatusListener(lockStatus => subscriber.next(lockStatus));
Expand Down
2 changes: 1 addition & 1 deletion ng1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import '@c8y/ng1-modules/scada/cumulocity.json';
import '@c8y/ng1-modules/htmlWidget/cumulocity.json';
import '@c8y/ng1-modules/applicationLinks/cumulocity.json';
// import '@c8y/ng1-modules/quickLinks/cumulocity.json';
//import '@c8y/ng1-modules/helpAndSupport/cumulocity.json';
import '@c8y/ng1-modules/helpAndSupport/cumulocity.json';
import '@c8y/ng1-modules/eventList/cumulocity.json';
// import '@c8y/ng1-modules/export/cumulocity.json';
import '@c8y/ng1-modules/dataPointTable/cumulocity.json';
Expand Down
67 changes: 66 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aadbe2c

Please sign in to comment.