MCRDerivateServlet needs configurable redirect URL

Description

If I use MCRDerivateServlet to change maindoc or remove single files via simple <a href="" />, i get redirected to derivate view. This shouldn't be hard coded. Using MIR these links should only update derivate view on current metadata view.

Here my links by example:

  • change maindoc: servlets/MCRDerivateServlet?derivateid=Document_derivate_00000011&objectid=mir_mods_00000001&todo=ssetfile&file=Jellyfish.jpg

  • delete single file:
    servlets/MCRDerivateServlet?derivateid=Document_derivate_00000011&objectid=mir_mods_00000001&todo=sdelfile&file=Jellyfish.jpg

You can test these in current MIR version.

Environment

None

Assignee

Sebastian Röher

Reporter

Kathleen Neumann

Labels

None

URL

None

External issue ID

None

Components

Fix versions

Priority

High
Configure