Problem Report Triage Verification¶
Date: 2026-06-25
Scope: EP7-T2, admin problem report triage.
Result¶
EP7-T2 is verified on integration.
Support can list problem reports, filter by status, open detail, see reporter/topic/created/status, view the attached photo asset, download the report photo through a report-scoped endpoint, and persist status changes from web-admin.
Backend Changes¶
- Added report-scoped admin photo download:
GET /v1/admin/problem-reports/{reportId}/photo- Exposed
photoAssetIdon admin problem report detail responses only. - Kept broad admin asset reveal removed.
POST /v1/admin/assets/{assetId}/revealremains disabled. - Regenerated
openapi.json.
Web-Admin Changes¶
- Added
downloadProblemReportPhotoAPI helper. - Added problem report detail attachment section.
- Added
Open photoaction using bearer-auth fetch and a browser object URL. - Updated tests for attachment display and download behavior.
Verification¶
Local backend:
mvn -q -Dtest=ProblemReportsIntegrationTest#adminCanListViewUpdateStatusAndDownloadReportPhoto -Djacoco.skip=true testmvn -q -Dtest=ProblemReportsIntegrationTest,AdminPrivacyRevealIntegrationTest -Djacoco.skip=true testmvn -q test
Local web-admin:
pnpm test -- src/__tests__/api.test.ts src/__tests__/App.test.tsxpnpm testpnpm build
Integration pipelines:
- Backend
integrationcommit3fade7c, pipeline2628402576: success. - Web-admin
integrationcommit96e0ea9, pipeline2628402534: success.
Integration smoke:
- Created disposable admin and tenant Cognito users.
- Added tenant email to the access allowlist.
- Initialized tenant, accepted legal documents, uploaded a private photo asset, and submitted a problem report.
- Confirmed admin API list/detail/photo download:
GET /v1/admin/problem-reports?status=OPEN&page=0&size=20returned the test report.GET /v1/admin/problem-reports/{reportId}returned message andphotoAssetId.GET /v1/admin/problem-reports/{reportId}/photoreturned200withX-Content-Type-Options: nosniff.- Verified in
https://admin-integration.mamnajem.pl/#problem-reportswith agent-browser: - Open filter showed the submitted report.
- Detail opened and displayed message, reporter, topic, created date, status, and photo asset ID.
Open photofetched/v1/admin/problem-reports/{reportId}/photowith status200.- Status update to
IN_PROGRESSsentPATCH /v1/admin/problem-reports/{reportId}/statuswith status200. - In-progress filter sent
GET /v1/admin/problem-reports?status=IN_PROGRESS&page=0&size=20and included the test report. - Final status update to
RESOLVEDpersisted; resolved filter returned the test report asRESOLVED. - Revoked the disposable allowlist entry and deleted disposable Cognito users.
Notes¶
The smoke report remains resolved in integration as evidence. The disposable user-pool accounts were deleted.