You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Certinia] Payable invoice status shows "workspace.certinia.exportStatus.values.Compl..." #92886
BugSomething is broken. Auto assigns a BugZero manager.EngineeringSkip PaymentSkips all the payment process steps for an issue. Use it for fixed-price projects.WeeklyKSv2
Version Number: 9.4.0-0 Reproducible in staging?: Yes Reproducible in production?: N/A - new feature, doesn't exist in prod If this was caught during regression testing, add the test name, ID and link from BrowserStack:#91951 Email or phone of affected tester (no customers):applausetester+ffa@applause.expensifail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Mac 26.5 / Chrome App Component: Workspace Settings
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
Please re-state the problem that we are trying to solve in this issue.
On a freshly Certinia-connected workspace, Workspace Settings > Accounting > Export shows the raw translation key workspace.certinia.exportStatus.values.Compl… for Payable invoice status instead of being blank (no selection made).
What is the root cause of that problem?
The Payable invoice status row renders the value through an unguarded translate():
The only values the frontend knows about are APPROVED / IN_PROGRESS / SUBMITTED (and the selection page only even offers the first two — CertiniaExportStatusPage.tsx:21, with translations at en.ts:4983-4987).
The backend is returning a default exportStatus value that starts with "Compl" (almost certainly Completed) for a workspace where no selection has been made. Because that value is truthy but is not one of the recognized keys, the computed key workspace.certinia.exportStatus.values.Completed doesn't exist, so translate() falls back to echoing the raw key string — which is what gets displayed and truncated to …Compl….
So there are two distinct problems:
Backend is sending a non-empty default exportStatus (Completed) when the expectation is "blank until the user selects". This identifier also doesn't match the frontend's APPROVED/IN_PROGRESS/SUBMITTED set.
Frontend renders the raw translation key for any unrecognized value instead of failing gracefully.
Why this is the mechanism, not a missing translation
If exportStatus were APPROVED, translate('…values.APPROVED') would resolve to the label Complete and display "Complete" — not the dotted key path. The fact that the full dotted key path is displayed proves the lookup missed, which only happens when exportStatus holds a value outside the CONST set. The frontend never writes such a value (it only sends CONST values via updateFinancialForceExportStatus), so the unrecognized default originates server-side.
What changes do you think we should make in order to solve the problem?
Primary (backend, outside this repo): the Certinia/FinancialForce connection should not return a default exportStatus of Completed for a newly connected workspace — it should be empty until the admin selects one, and any value it does return must match the frontend identifiers (APPROVED/IN_PROGRESS/SUBMITTED). Verifying/fixing this requires access to the backend Certinia connection code (Auth/Web-Expensify), so this part should be escalated to an internal engineer.
Frontend hardening (this repo, satisfies the "blank" expectation immediately): guard the render at CertiniaExportPage.tsx:45 so an unrecognized value never renders a raw key — only translate when exportStatus is a known CONST.CERTINIA_EXPORT_STATUS value, otherwise leave the title blank. The same guard should be applied to the exportDate row just below it (line 51), which has the identical pattern.
What alternative solutions did you explore? (Optional)
Adding a values.Completed translation entry would stop the raw-key display, but it would still show a status the user never selected (contradicting the "blank when no selection" expectation) and wouldn't fix the underlying identifier mismatch — so it's not recommended.
Confidence: Medium — the frontend code path is confirmed from source; the exact backend default value (Completed) is inferred from the truncated string and not yet confirmed against production logs / backend code.
Next Steps for Contributor+ team: To accept:@MelvinBot implement [this](https://github.com/Expensify/App/issues/92886) to create a draft PR for the frontend hardening. To refine:@MelvinBot <your feedback> To reject: Explain why you are rejecting Melvin's proposal.
changed the title [-]Certinia - Payable invoice status shows "workspace.certinia.exportStatus.values.Compl..."[/-][+][Certinia] Payable invoice status shows "workspace.certinia.exportStatus.values.Compl..."[/+]on Jun 8, 2026
changed the title [-][Due for payment 2026-06-24] [Certinia] Payable invoice status shows "workspace.certinia.exportStatus.values.Compl..."[/-][+][Certinia] Payable invoice status shows "workspace.certinia.exportStatus.values.Compl..."[/+]on Jun 26, 2026
BugSomething is broken. Auto assigns a BugZero manager.EngineeringSkip PaymentSkips all the payment process steps for an issue. Use it for fixed-price projects.WeeklyKSv2
Activity
applause-bot commentedon Jun 8, 2026
While Applause doesn't embed attachments for this bug, here are the links for quick view:
https://platform.applause.com/services/links/v1/external/09e3eb073ac89c7014b1bdf22b14f8e22ac358898bbaa1c3eb8861ce66493e34
melvin-bot commentedon Jun 8, 2026
@yuwenmemon recently merged #91951, but they are OOO right now, so I'll auto-assign someone else.
melvin-bot commentedon Jun 8, 2026
Triggered auto assignment to @iwiznia (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Jun 8, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Jun 8, 2026
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
MelvinBot commentedon Jun 8, 2026
Proposal
Please re-state the problem that we are trying to solve in this issue.
On a freshly Certinia-connected workspace, Workspace Settings > Accounting > Export shows the raw translation key
workspace.certinia.exportStatus.values.Compl…for Payable invoice status instead of being blank (no selection made).What is the root cause of that problem?
The Payable invoice status row renders the value through an unguarded
translate():CertiniaExportPage.tsx:45The only values the frontend knows about are
APPROVED/IN_PROGRESS/SUBMITTED(and the selection page only even offers the first two —CertiniaExportStatusPage.tsx:21, with translations aten.ts:4983-4987).The backend is returning a default
exportStatusvalue that starts with "Compl" (almost certainlyCompleted) for a workspace where no selection has been made. Because that value is truthy but is not one of the recognized keys, the computed keyworkspace.certinia.exportStatus.values.Completeddoesn't exist, sotranslate()falls back to echoing the raw key string — which is what gets displayed and truncated to…Compl….So there are two distinct problems:
exportStatus(Completed) when the expectation is "blank until the user selects". This identifier also doesn't match the frontend'sAPPROVED/IN_PROGRESS/SUBMITTEDset.Why this is the mechanism, not a missing translation
If
exportStatuswereAPPROVED,translate('…values.APPROVED')would resolve to the labelCompleteand display "Complete" — not the dotted key path. The fact that the full dotted key path is displayed proves the lookup missed, which only happens whenexportStatusholds a value outside the CONST set. The frontend never writes such a value (it only sends CONST values viaupdateFinancialForceExportStatus), so the unrecognized default originates server-side.What changes do you think we should make in order to solve the problem?
Primary (backend, outside this repo): the Certinia/FinancialForce connection should not return a default
exportStatusofCompletedfor a newly connected workspace — it should be empty until the admin selects one, and any value it does return must match the frontend identifiers (APPROVED/IN_PROGRESS/SUBMITTED). Verifying/fixing this requires access to the backend Certinia connection code (Auth/Web-Expensify), so this part should be escalated to an internal engineer.Frontend hardening (this repo, satisfies the "blank" expectation immediately): guard the render at
CertiniaExportPage.tsx:45so an unrecognized value never renders a raw key — only translate whenexportStatusis a knownCONST.CERTINIA_EXPORT_STATUSvalue, otherwise leave the title blank. The same guard should be applied to theexportDaterow just below it (line 51), which has the identical pattern.What alternative solutions did you explore? (Optional)
Adding a
values.Completedtranslation entry would stop the raw-key display, but it would still show a status the user never selected (contradicting the "blank when no selection" expectation) and wouldn't fix the underlying identifier mismatch — so it's not recommended.Confidence: Medium — the frontend code path is confirmed from source; the exact backend default value (
Completed) is inferred from the truncated string and not yet confirmed against production logs / backend code.Next Steps for Contributor+ team:
To accept:
@MelvinBot implement [this](https://github.com/Expensify/App/issues/92886)to create a draft PR for the frontend hardening.To refine:
@MelvinBot <your feedback>To reject: Explain why you are rejecting Melvin's proposal.
[-]Certinia - Payable invoice status shows "workspace.certinia.exportStatus.values.Compl..."[/-][+][Certinia] Payable invoice status shows "workspace.certinia.exportStatus.values.Compl..."[/+]21 remaining items
melvin-bot commentedon Jun 22, 2026
@thelullabyy Huh... This is 4 days overdue. Who can take care of this?
mallenexpensify commentedon Jun 23, 2026
Testing the new
Skip Paymentlabel. is this project paid? If not, can someone tag me for payment on the 25th so I don't miss this? Thxmelvin-bot commentedon Jun 24, 2026
@thelullabyy Still overdue 6 days?! Let's take care of this!
[-][Due for payment 2026-06-24] [Certinia] Payable invoice status shows "workspace.certinia.exportStatus.values.Compl..."[/-][+][Certinia] Payable invoice status shows "workspace.certinia.exportStatus.values.Compl..."[/+]melvin-bot commentedon Jun 26, 2026
@thelullabyy 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!
melvin-bot commentedon Jun 30, 2026
@thelullabyy 12 days overdue now... This issue's end is nigh!
melvin-bot commentedon Jul 3, 2026
This issue has not been updated in over 14 days. @yuwenmemon, @ShridharGoel, @thelullabyy eroding to Weekly issue.
m-natarajan commentedon Jul 9, 2026
Passed, Web-Chrome , Xiaomi Redmi Note 10 / Android 12 v9.4.32-0 (Pending validation in iOS)
Screenrecorder-2026-07-09-17-41-09-671.mp4
REC-20260709173032.mp4