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
eaa080dd
"...git@git.uibk.ac.at:c102348/olat-ci-cd-testing-project.git" did not exist on "029bf67534ba08db14db0236b14137992725c5ed"
Commit
eaa080dd
authored
9 years ago
by
gnaegi
Browse files
Options
Downloads
Patches
Plain Diff
OO-1503 OO-1510 fix We-are-sorry page problem for table downloads
parent
e95bbaee
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/core/gui/components/Window.java
+4
-2
4 additions, 2 deletions
src/main/java/org/olat/core/gui/components/Window.java
with
4 additions
and
2 deletions
src/main/java/org/olat/core/gui/components/Window.java
+
4
−
2
View file @
eaa080dd
...
...
@@ -41,6 +41,7 @@ import org.olat.core.CoreSpringFactory;
import
org.olat.core.commons.persistence.DBFactory
;
import
org.olat.core.dispatcher.DispatcherModule
;
import
org.olat.core.dispatcher.mapper.MapperService
;
import
org.olat.core.dispatcher.mapper.manager.MapperKey
;
import
org.olat.core.gui.GlobalSettings
;
import
org.olat.core.gui.UserRequest
;
import
org.olat.core.gui.Windows
;
...
...
@@ -489,9 +490,10 @@ public class Window extends AbstractComponent {
// create a mapper which maps this mediaresource, and serves it once only
MediaResourceMapper
extMRM
=
new
MediaResourceMapper
();
extMRM
.
setMediaResource
(
mmr
);
String
res
=
CoreSpringFactory
.
getImpl
(
MapperService
.
class
).
register
(
ureq
.
getUserSession
(),
extMRM
)
+
"/"
;
MapperKey
mapperKey
=
CoreSpringFactory
.
getImpl
(
MapperService
.
class
).
register
(
ureq
.
getUserSession
(),
extMRM
);
String
resUrl
=
mapperKey
.
getUrl
()
+
"/"
;
// e.g. res = /olat/m/10001/
Command
rmrcom
=
CommandFactory
.
createParentRedirectForExternalResource
(
res
);
Command
rmrcom
=
CommandFactory
.
createParentRedirectForExternalResource
(
res
Url
);
wbackofficeImpl
.
sendCommandTo
(
rmrcom
);
if
(
isDebugLog
)
{
long
durationAfterCreateMediaResourceMapper
=
System
.
currentTimeMillis
()
-
debug_start
;
...
...
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