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

bug: SMART on FHIR style url is throwing 500 error. #7133

Closed
adunsulag opened this issue Jan 2, 2024 · 1 comment
Closed

bug: SMART on FHIR style url is throwing 500 error. #7133

adunsulag opened this issue Jan 2, 2024 · 1 comment
Assignees
Labels
Bug developers This issue targets an issue that is for developers/collaborators/module writers/technical users
Milestone

Comments

@adunsulag
Copy link
Sponsor Member

The /oauth2/default/smart/smart-style URL for retrieving smart app styles is throwing a 500 error. If you navigate to the URL you get the following response:

https://localhost:9300/oauth2/default/smart/smart-style

{ "error": { "location": null, "code": 500, "message": "Please try your request again, check the server logs, or contact the site administrator for support" } }

This bug was introduced in this commit: bdbb2bd when we refactored the style URLs. It is missing the twig file extension to pull in the correct file. I had a custom module overriding the twig file so I didn't detect the error. The bug occurs in both the latest 7.0.2 release and master.

@adunsulag adunsulag added the Bug label Jan 2, 2024
@adunsulag adunsulag added this to the 7.0.2.1 milestone Jan 2, 2024
@adunsulag adunsulag self-assigned this Jan 2, 2024
@adunsulag
Copy link
Sponsor Member Author

@sjpadgett This is the reason why that smart app is failing. I'll be submitting a fix shortly.

adunsulag added a commit to DiscoverAndChange/openemr that referenced this issue Jan 2, 2024
Fix the 500 url loading error in issue openemr#7133.

Add the logo and modal backdrop color to the twig files in openemr#7134
adunsulag added a commit to DiscoverAndChange/openemr that referenced this issue Jan 3, 2024
)

Fix the 500 url loading error in issue openemr#7133.

Add the logo and modal backdrop color to the twig files in openemr#7134
adunsulag added a commit that referenced this issue Jan 3, 2024
Fix the 500 url loading error in issue #7133.

Add the logo and modal backdrop color to the twig files in #7134
@adunsulag adunsulag added the developers This issue targets an issue that is for developers/collaborators/module writers/technical users label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug developers This issue targets an issue that is for developers/collaborators/module writers/technical users
Projects
None yet
Development

No branches or pull requests

1 participant