diff --git a/packages/nc-gui/composables/useSharedFormViewStore.ts b/packages/nc-gui/composables/useSharedFormViewStore.ts index 676754d53b..d4257c0128 100644 --- a/packages/nc-gui/composables/useSharedFormViewStore.ts +++ b/packages/nc-gui/composables/useSharedFormViewStore.ts @@ -191,7 +191,7 @@ const [useProvideSharedFormStore, useSharedFormStore] = useInjectionState((share passwordError.value = error.message } } else if (error.error === NcErrorType.UNKNOWN_ERROR) { - console.log(e) + console.error('Error occurred while loading shared form view', e) } } } diff --git a/packages/nocodb/src/services/public-metas.service.ts b/packages/nocodb/src/services/public-metas.service.ts index 4a24bc78d2..ce9d2e1c3f 100644 --- a/packages/nocodb/src/services/public-metas.service.ts +++ b/packages/nocodb/src/services/public-metas.service.ts @@ -42,6 +42,7 @@ export class PublicMetasService { .filter((c) => { const column = view.model.columnsById[c.fk_column_id]; + // Check if column exists to prevent processing non-existent columns if (!column) return false; return (