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 instantiation check problem with < char #138

Merged

Conversation

PhilippImhof
Copy link
Collaborator

Currently, the instantiation check in the edit form can fail if the variable definition contains the < char. This is, because we currently use PARAM_TEXT and this does not support the < char despite the Moodle docs stating otherwise.

We will now use PARAM_RAW and solve that problem. The PR adds a test case to the unit test.

@coveralls
Copy link

coveralls commented Jan 10, 2024

Pull Request Test Coverage Report for Build 7477244568

  • 4 of 4 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 75.03%

Totals Coverage Status
Change from base Build 7245735740: 0.0%
Covered Lines: 2524
Relevant Lines: 3364

💛 - Coveralls

@PhilippImhof PhilippImhof merged commit 98509b2 into FormulasQuestion:master Jan 10, 2024
50 checks passed
@PhilippImhof PhilippImhof deleted the fix-instantiation branch January 10, 2024 15:59
@PhilippImhof PhilippImhof mentioned this pull request Apr 17, 2024
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