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
[HOLD for payment 2024-07-10] [$250] Subscription - "common.error.pleaseCompleteForm" is shown when submitting empty survey #44075
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributor
Version Number: 1.4.86-0 Reproducible in staging?: y Reproducible in production?: n Issue found when executing PR:#43367 Issue reported by: Applause - Internal team
Action Performed:
Log in to ND with Gmail account.
Go to staging.new.expensify.com/settings/subscription
Disable auto-renew toggle.
Click Submit without selecting anything.
Expected Result:
Proper error message will be displayed.
Actual Result:
"common.error.pleaseCompleteForm" is shown.
Workaround:
n/a
Platforms:
Which of our officially supported platforms is this issue occurring on?
👋 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.
"common.error.pleaseCompleteForm" is shown as an error message
What is the root cause of that problem?
In FeedBackSurvey component we are passing 'common.error.pleaseCompleteForm' key as a value to message prop instead of calling translate method with the key to fetch the error message from en.ts and es.ts.
changed the title [-][$250] Subscription - "common.error.pleaseCompleteForm" is shown when submitting empty survey[/-][+][HOLD for payment 2024-07-10] [$250] Subscription - "common.error.pleaseCompleteForm" is shown when submitting empty survey[/+]on Jul 3, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.3-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
[@alitoshmatov] The PR that introduced the bug has been identified. Link to the PR:
[@alitoshmatov] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@alitoshmatov] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@alitoshmatov] Determine if we should create a regression test for this bug.
[@alitoshmatov] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@MitchExpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: No need
Determine if we should create a regression test for this bug: No need since it is about hardcoded error message which is easily noticeable
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Jun 20, 2024
Triggered auto assignment to @carlosmiceli (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.github-actions commentedon Jun 20, 2024
👋 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:
kbecciv commentedon Jun 20, 2024
We think that this bug might be related to #wave-collect - Release 2
neonbhai commentedon Jun 20, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Subscription - "common.error.pleaseCompleteForm" is shown when submitting empty survey
What is the root cause of that problem?
We don't use translate to pass the correct message here:
App/src/components/FeedbackSurvey.tsx
Line 95 in 57663ed
Hence just the string is rendered
What changes do you think we should make in order to solve the problem?
We will use the translate hook to refer to the correct message here:
App/src/components/FeedbackSurvey.tsx
Line 95 in 57663ed
etCoderDysto commentedon Jun 20, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
"common.error.pleaseCompleteForm" is shown as an error message
What is the root cause of that problem?
In FeedBackSurvey component we are passing 'common.error.pleaseCompleteForm' key as a value to
messageprop instead of callingtranslatemethod with the key to fetch the error message from en.ts and es.ts.App/src/components/FeedbackSurvey.tsx
Lines 92 to 95 in 6dc6f81
What changes do you think we should make in order to solve the problem?
Pass
translate('common.error.pleaseCompleteForm')to message prop hereWhat alternative solutions did you explore? (Optional)
carlosmiceli commentedon Jun 20, 2024
Can't reproduce in prod, but it seems to be a new feature to show subscription inside ND.
25 remaining items
[-][$250] Subscription - "common.error.pleaseCompleteForm" is shown when submitting empty survey[/-][+][HOLD for payment 2024-07-10] [$250] Subscription - "common.error.pleaseCompleteForm" is shown when submitting empty survey[/+]melvin-bot commentedon Jul 3, 2024
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jul 3, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.3-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-07-10. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jul 3, 2024
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
MitchExpensify commentedon Jul 4, 2024
Payment summary:
cretadn22 commentedon Jul 5, 2024
@MitchExpensify Should I get 50$ as mentioned here
MitchExpensify commentedon Jul 5, 2024
Updated, thanks @cretadn22 !
alitoshmatov commentedon Jul 6, 2024
MitchExpensify commentedon Jul 10, 2024
Paid and contracts ended