Skip to content

Openemr external ocv actions coverage#1

Open
adunsulag wants to merge 14 commits into
masterfrom
openemr-external-ocv-actions-coverage
Open

Openemr external ocv actions coverage#1
adunsulag wants to merge 14 commits into
masterfrom
openemr-external-ocv-actions-coverage

Conversation

@adunsulag

Copy link
Copy Markdown

Testing code coverage piece.

@codecov

codecov Bot commented May 29, 2025

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

adunsulag pushed a commit that referenced this pull request Jan 29, 2026
Fixes openemr#8244

#### Short description of what this resolves:

Under certain circumstances (not yet identified at the time of this PR),
the edit button for questionnaire responses returns a 500 Internal
Server Error and the following PHP error:

```
PHP Fatal error:  Uncaught Error: Call to undefined function formFetch() in /var/www/localhost/htdocs/openemr/interface/forms/questionnaire_assessments/questionnaire_assessments.php:71
Stack trace:
#0 /var/www/localhost/htdocs/openemr/interface/forms/questionnaire_assessments/view.php(14): require()
#1 /var/www/localhost/htdocs/openemr/interface/patient_file/encounter/view_form.php(50): require_once('...')
#2 {main}
  thrown in /var/www/localhost/htdocs/openemr/interface/forms/questionnaire_assessments/questionnaire_assessments.php on line 71
```

#### Changes proposed in this pull request:

Explicitly include api.inc.php in questionnaire_assessments.php to
guarantee `formFetch()` is always defined.

#### Does your code include anything generated by an AI Engine? Yes / No

No

Co-authored-by: bban160 <bban160@users.noreply.github.com>
adunsulag pushed a commit that referenced this pull request Mar 18, 2026
Fixes openemr#8244

#### Short description of what this resolves:

Under certain circumstances (not yet identified at the time of this PR),
the edit button for questionnaire responses returns a 500 Internal
Server Error and the following PHP error:

```
PHP Fatal error:  Uncaught Error: Call to undefined function formFetch() in /var/www/localhost/htdocs/openemr/interface/forms/questionnaire_assessments/questionnaire_assessments.php:71
Stack trace:
#0 /var/www/localhost/htdocs/openemr/interface/forms/questionnaire_assessments/view.php(14): require()
#1 /var/www/localhost/htdocs/openemr/interface/patient_file/encounter/view_form.php(50): require_once('...')
#2 {main}
  thrown in /var/www/localhost/htdocs/openemr/interface/forms/questionnaire_assessments/questionnaire_assessments.php on line 71
```

#### Changes proposed in this pull request:

Explicitly include api.inc.php in questionnaire_assessments.php to
guarantee `formFetch()` is always defined.

#### Does your code include anything generated by an AI Engine? Yes / No

No

Co-authored-by: bban160 <bban160@users.noreply.github.com>
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