diff --git a/e2e/process-services/start_task_custom_app.e2e.ts b/e2e/process-services/start_task_custom_app.e2e.ts index 582b2567ed..b0fe86d0fb 100644 --- a/e2e/process-services/start_task_custom_app.e2e.ts +++ b/e2e/process-services/start_task_custom_app.e2e.ts @@ -50,7 +50,6 @@ describe('Start Task - Custom App', () => { let attachmentListPage = new AttachmentListPage(); let appNavigationBarPage = new AppNavigationBarPage(); - let processUserModel, assigneeUserModel; let app = resources.Files.SIMPLE_APP_WITH_USER_FORM; let formTextField = app.form_fields.form_fieldId; diff --git a/lib/content-services/document-list/data/share-datatable-adapter.ts b/lib/content-services/document-list/data/share-datatable-adapter.ts index 580c90f82b..2fffc326e9 100644 --- a/lib/content-services/document-list/data/share-datatable-adapter.ts +++ b/lib/content-services/document-list/data/share-datatable-adapter.ts @@ -168,8 +168,8 @@ export class ShareDataTableAdapter implements DataTableAdapter { } isSmartFolder(node: any) { - return node.entry.aspectNames.indexOf('smf:customConfigSmartFolder') > -1 || - (node.entry.aspectNames.indexOf('smf:systemConfigSmartFolder') > -1); + return node.entry.aspectNames && (node.entry.aspectNames.indexOf('smf:customConfigSmartFolder') > -1 || + (node.entry.aspectNames.indexOf('smf:systemConfigSmartFolder') > -1)); } private sortRows(rows: DataRow[], sorting: DataSorting) { diff --git a/scripts/npm-check-bundles.sh b/scripts/npm-check-bundles.sh index 70d2fc2569..a4d2c6d64e 100755 --- a/scripts/npm-check-bundles.sh +++ b/scripts/npm-check-bundles.sh @@ -124,8 +124,12 @@ do fi if [ ! -f package/bundles/assets/$PACKAGE/i18n/en.json ]; then - error_out '31;1' "$PACKAGE i18n not found!" >&2 - exit 1 + if [ $PACKAGE == 'adf-extensions' ]; then + echo "no i18n needed" + else + error_out '31;1' "$PACKAGE i18n not found!" >&2 + exit 1 + fi else echo "i18n ok!" fi