Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OLAT CI-CD Testing Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Oliver Dam
OLAT CI-CD Testing Project
Commits
c7fd7c53
Commit
c7fd7c53
authored
6 years ago
by
srosse
Browse files
Options
Downloads
Patches
Plain Diff
OO-3544: override score from XML file with the ones from the database if
manual scoring
parent
74399386
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/olat/ims/qti21/ui/AssessmentResultController.java
+3
-1
3 additions, 1 deletion
...ava/org/olat/ims/qti21/ui/AssessmentResultController.java
with
3 additions
and
1 deletion
src/main/java/org/olat/ims/qti21/ui/AssessmentResultController.java
+
3
−
1
View file @
c7fd7c53
...
@@ -224,10 +224,12 @@ public class AssessmentResultController extends FormBasicController {
...
@@ -224,10 +224,12 @@ public class AssessmentResultController extends FormBasicController {
layoutCont
.
contextPut
(
"testResults"
,
testResults
);
layoutCont
.
contextPut
(
"testResults"
,
testResults
);
TestResult
testResult
=
assessmentResult
.
getTestResult
();
TestResult
testResult
=
assessmentResult
.
getTestResult
();
if
(
testResult
!=
null
)
{
if
(
testResult
!=
null
)
{
extractOutcomeVariable
(
testResult
.
getItemVariables
(),
testResults
);
if
(
candidateSession
.
getManualScore
()
!=
null
)
{
if
(
candidateSession
.
getManualScore
()
!=
null
)
{
testResults
.
setScore
(
candidateSession
.
getScore
());
testResults
.
addScore
(
candidateSession
.
getManualScore
());
testResults
.
addScore
(
candidateSession
.
getManualScore
());
testResults
.
setManualScore
(
candidateSession
.
getManualScore
());
testResults
.
setManualScore
(
candidateSession
.
getManualScore
());
}
else
{
extractOutcomeVariable
(
testResult
.
getItemVariables
(),
testResults
);
}
}
AssessmentTest
assessmentTest
=
resolvedAssessmentTest
.
getRootNodeLookup
().
extractIfSuccessful
();
AssessmentTest
assessmentTest
=
resolvedAssessmentTest
.
getRootNodeLookup
().
extractIfSuccessful
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment