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
50ab0c7e
Commit
50ab0c7e
authored
9 years ago
by
srosse
Browse files
Options
Downloads
Patches
Plain Diff
OO-1857: need to upgrade the configuration in WebDAV too
parent
6d88eb15
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/course/MergedCourseContainer.java
+2
-0
2 additions, 0 deletions
src/main/java/org/olat/course/MergedCourseContainer.java
with
2 additions
and
0 deletions
src/main/java/org/olat/course/MergedCourseContainer.java
+
2
−
0
View file @
50ab0c7e
...
@@ -149,6 +149,7 @@ public class MergedCourseContainer extends MergeSource {
...
@@ -149,6 +149,7 @@ public class MergedCourseContainer extends MergeSource {
MergeSource
courseNodeContainer
;
MergeSource
courseNodeContainer
;
if
(
courseNodeChild
instanceof
BCCourseNode
)
{
if
(
courseNodeChild
instanceof
BCCourseNode
)
{
final
BCCourseNode
bcNode
=
(
BCCourseNode
)
courseNodeChild
;
final
BCCourseNode
bcNode
=
(
BCCourseNode
)
courseNodeChild
;
bcNode
.
updateModuleConfigDefaults
(
false
);
// add folder not to merge source. Use name and node id to have unique name
// add folder not to merge source. Use name and node id to have unique name
VFSContainer
rootFolder
=
null
;
VFSContainer
rootFolder
=
null
;
String
subpath
=
bcNode
.
getModuleConfiguration
().
getStringValue
(
BCCourseNodeEditController
.
CONFIG_SUBPATH
);
String
subpath
=
bcNode
.
getModuleConfiguration
().
getStringValue
(
BCCourseNodeEditController
.
CONFIG_SUBPATH
);
...
@@ -245,6 +246,7 @@ public class MergedCourseContainer extends MergeSource {
...
@@ -245,6 +246,7 @@ public class MergedCourseContainer extends MergeSource {
MergeSource
courseNodeContainer
;
MergeSource
courseNodeContainer
;
if
(
child
instanceof
BCCourseNode
)
{
if
(
child
instanceof
BCCourseNode
)
{
final
BCCourseNode
bcNode
=
(
BCCourseNode
)
child
;
final
BCCourseNode
bcNode
=
(
BCCourseNode
)
child
;
bcNode
.
updateModuleConfigDefaults
(
false
);
// add folder not to merge source. Use name and node id to have unique name
// add folder not to merge source. Use name and node id to have unique name
String
path
;
String
path
;
VFSContainer
rootFolder
=
null
;
VFSContainer
rootFolder
=
null
;
...
...
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