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

fix: Use correct external URL for rendered responses with relative URI #4236

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

wayfarer3130
Copy link
Contributor

Context

For relative URI's in the metadata for DICOMweb, the standard says you are supposed to use the path provided. However, when we use the direct URL provided for computing paths, the wrong path is chosen, based on the wrong datasource name. This PR uses the correct relative paths for bulkdata whether that is doing rendered display or otherwise.

Changes & Results

Testing

Open up the deploy preview (or e2e config), and use datasources=ohif3
Query for "Horse" as the patient name
Display the vidoe
The video should display.

Checklist

PR

  • [] My Pull Request title is descriptive, accurate and follows the
    semantic-release format and guidelines.

Code

  • [] My code has been well-documented (function documentation, inline comments,
    etc.)

Public Documentation Updates

  • [] The documentation page has been updated as necessary for any public API
    additions or removals.

Tested Environment

  • [] OS:
  • [] Node version:
  • [] Browser:

@wayfarer3130 wayfarer3130 requested a review from sedghi June 17, 2024 18:46
Copy link

netlify bot commented Jun 17, 2024

Deploy Preview for ohif-dev ready!

Name Link
🔨 Latest commit 0c238f8
🔍 Latest deploy log https://app.netlify.com/sites/ohif-dev/deploys/6670847349049000086d9590
😎 Deploy Preview https://deploy-preview-4236--ohif-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jun 17, 2024

Deploy Preview for ohif-platform-docs ready!

Name Link
🔨 Latest commit 0c238f8
🔍 Latest deploy log https://app.netlify.com/sites/ohif-platform-docs/deploys/667084732af905000749d26c
😎 Deploy Preview https://deploy-preview-4236--ohif-platform-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@wayfarer3130
Copy link
Contributor Author

@igoroctaviano - could you test this against the IDC bulkdata responses? I know you added a change to the path, and I think I have that all correct, but I don't have the remote system to test against.

Copy link

cypress bot commented Jun 17, 2024

Passing run #4087 ↗︎

0 44 2 0 Flakiness 0

Details:

fix: Use correct external URL for rendered responses with relative URI
Project: Viewers Commit: 0c238f89b8
Status: Passed Duration: 05:02 💡
Started: Jun 17, 2024 6:56 PM Ended: Jun 17, 2024 7:01 PM

Review all test suite changes for PR #4236 ↗︎

@wayfarer3130
Copy link
Contributor Author

@sedghi sedghi merged commit d8f6991 into master Jun 18, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants