Skip to content
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

Create Salesforce Case button not redirecting to SF #3413

Closed
mahirst opened this issue Jun 7, 2024 · 4 comments · Fixed by datadryad/dryad-app#1694
Closed

Create Salesforce Case button not redirecting to SF #3413

mahirst opened this issue Jun 7, 2024 · 4 comments · Fixed by datadryad/dryad-app#1694
Assignees
Labels
bug Something isn't working Curator Fix

Comments

@mahirst
Copy link

mahirst commented Jun 7, 2024

Bug description:
Me, Laura, and Jess have all noticed that the "Create SalesForce Case" button on the activity log no longer works as it should (as of yesterday afternoon, when we started curating new datasets again). Usually, clicking on it creates a SF case and redirects us to SalesForce. Now, we all get redirected to an error page (see screenshot). However, clicking on the button does create a SF case, so the current workaround that we have until the issue is fixed is to refresh the activity log page and click on the open SF case link under the "Salesforce cases" header.

Screenshot 2024-06-07 at 10 15 07 AM

@mahirst mahirst added bug Something isn't working Curator Fix labels Jun 7, 2024
@jleighherzog
Copy link

@ryscher
Copy link
Member

ryscher commented Jun 7, 2024

I believe this is due to an update in Salesforce. Devs have started receiving the following error:

An ActionController::Redirecting::UnsafeRedirectError occurred in admin_datasets#create_salesforce_case:

 Unsafe redirect to "https://dryad.lightning.force.com/lightning/r/Case/500Pl00000E7CHLIA3/view", pass allow_other_host: true to redirect anyway.
 app/controllers/stash_engine/admin_datasets_controller.rb:112:in `create_salesforce_case'

@mahirst
Copy link
Author

mahirst commented Jun 7, 2024

Also, not sure if this is part of the issue, but the button looks like this now for all of us, with the case outside of the box. Not important, but might be related?
Screenshot 2024-06-07 at 10 23 30 AM

@ryscher
Copy link
Member

ryscher commented Jun 7, 2024

Ok, functionality is fixed. The button display will improve when we next deploy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Curator Fix
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants