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
Book travel -App reopens company address page instead of T&C page after saving company address #49870
Version Number: 9.0.41-1 Reproducible in staging?: Y Reproducible in production?: No If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Email or phone of affected tester (no customers):applausetester+salalalala@applause.expensifail.com Issue reported by: Applause - Internal Team
Action Performed:
Go to staging.new.expensify.com
Open FAB > Book travel
Click Book travel
Select address and save it
Click Book travel
Expected Result:
App will redirect to T&C page
Actual Result:
App reopens company address page
Workaround:
Unknown
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.
Book Travel is behind a beta - not sure if it needs to be a blocker but the solution looks simple. Looks like we have a good number of customers on the beta, so if we can fix it that'd probably be best.
Activity
melvin-bot commentedon Sep 27, 2024
Triggered auto assignment to @AndrewGable (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.github-actions commentedon Sep 27, 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:
lanitochka17 commentedon Sep 27, 2024
We think that this bug might be related to #vip-travel
ishpaul777 commentedon Sep 27, 2024
Most probably coming from this one -> https://github.com/Expensify/App/pull/48060/files
Nodebrute commentedon Sep 27, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
App reopens company address page instead of T&C page after saving company address
What is the root cause of that problem?
We are checking for
isEmptyObject(travelSettings)App/src/libs/TripReservationUtils.ts
Lines 81 to 83 in 71db3f1
What changes do you think we should make in order to solve the problem?
We should check if
!hasPolicyAddressonly then we should navigate to address pageApp/src/libs/TripReservationUtils.ts
Lines 81 to 83 in 71db3f1
We can pass policy to this function
What alternative solutions did you explore? (Optional)
AndrewGable commentedon Sep 27, 2024
cc @daledah @luacmartins @DylanDylann
daledah commentedon Sep 28, 2024
@AndrewGable Here's the follow-up PR
roryabraham commentedon Sep 29, 2024
Book Travel is behind a beta - not sure if it needs to be a blocker but the solution looks simple. Looks like we have a good number of customers on the beta, so if we can fix it that'd probably be best.
luacmartins commentedon Sep 30, 2024
Fixed in staging. Closing.