-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to delete newly created workspace in new account #41357
Comments
Triggered auto assignment to @dylanexpensify ( |
I ran into this myself today.
Logs are here (internal only, sorry).
I'm hitting this block when I don't think I should be: https://github.com/Expensify/Auth/blob/01554c45bd48e4cae90b02a23e96f943cb90698c/auth/lib/Policy.cpp#L2755-L2761 So I think somehow NewDot isn't recognising that the workspace I'm trying to delete is on a free trial and it's throwing this error. |
Job added to Upwork: https://www.upwork.com/jobs/~01fc08a6832d88aa3c |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @getusha ( |
Sending external for more eyes. |
Looks like a backend issue, i'll try to reproduce and confirm. |
@dylanexpensify, @getusha Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@getusha did we confirm? |
I am unable to reproduce, @m-natarajan is there a prerequisite for the account? Screen.Recording.2024-05-07.at.3.57.12.in.the.afternoon.mov |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@dylanexpensify, @getusha Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@dylanexpensify @getusha this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Moving this to #convert, per here. |
I asked a question in the Slack 🧵 to confirm the |
Just unassigned myself @alexpensify, if it's still happening when I'm done with a few issues I can take it back, but hopefully someone will fix it sooner :) |
I'll call it out for hot picks this week! |
Weekly Update: Hot Pick |
I'll take this. |
Sorry for unassigning, the github assignee dropdown played some weird tricks on me. |
Allowing the policy to be deleted if it's during the free trial seems to be pretty easy (I'm often wrong when I say that). But should there be any additional criteria to check? What should happen to the subscription afterwards (it's automatically set to yearly when on a free trial), should it be cancelled or stay as is? Are there any edge cases that we should think about here? |
@mjasikowski hello sir, can you confirm that your fix would solve this issue? |
@carlosmiceli Can't confirm yet. I'll let you know when I figure out the complete workflow. |
@garrettmknight @carlosmiceli @alexpensify @trjExpensify I made some changes to my draft PR. Let me know if the following solution works for you in principle:
There's no condition for free trials here, because free trial is triggered only if a billable action was made in a policy. |
@mjasikowski—I'm back from Holiday and catching up. I reviewed the Slack conversation, and it looks like we are all set to continue here. Is there any update on when the PR will be ready? Thanks! |
@alexpensify the PR is already merged! |
Whoops, sorry I missed it. Can you share the PR link here? I don't see one associated with this GH. Thanks! |
Sure thing, it's https://github.com/Expensify/Auth/pull/13280 |
@mjasikowski - since the PR was merged, can we close this one or are we waiting for another update? Thanks! |
@alexpensify let's close it! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.68-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @Puneet-here
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1714499352473189
Action Performed:
Expected Result:
Workspace deleted
Actual Result:
Unable to delete workspace and "Looks like you're on an annual subscription. Please downgrade your account from your account settings before trying again" error
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
delete.newly.created.workspace.mp4
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @mjasikowskiThe text was updated successfully, but these errors were encountered: