From 9b62fa0039ef0caefa80ec3f4849311fcb9a24e6 Mon Sep 17 00:00:00 2001 From: Leonardo Mendoza Date: Mon, 4 May 2026 20:32:21 -0600 Subject: [PATCH] PD-5416 --- src/app/core/record/record.service.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/app/core/record/record.service.ts b/src/app/core/record/record.service.ts index 3161426c1..af4ea243e 100644 --- a/src/app/core/record/record.service.ts +++ b/src/app/core/record/record.service.ts @@ -155,7 +155,16 @@ export class RecordService { .getFeaturedWorks(options) .pipe(startWith(undefined)), this.getLastModifiedTime(options).pipe(startWith(undefined)), - this._userInfo.getUserInfo(options).pipe(startWith(undefined)), + this._userInfo.getUserInfo(options).pipe( + catchError((error) => { + // For public records, a failing auth userInfo request must not block page rendering. + if (options?.publicRecordId) { + return of(null) + } + return this._errorHandler.handleError(error) + }), + startWith(undefined) + ), ]) .pipe( tap(