Feature Wiki

Information about planned and released features

Tabs

Container: Update links on copy action

1 Requirements

If container objects (category, course, group, folder) are being copied internal links of type "repository" (created by using "Customize Page") should be updated, if the target of the link is "within" the structure of the copied content. E.g. if a course contains a folder and a link to it, and both are copied, the link in the copy of the course should point to the copied version of the folder.

German Version

Beim Kopieren von Containern (Kategorien, Gruppen, Kurse, Ordner) soll überprüft werden, ob innerhalb der kopierten Struktur interne Links (Standard „Seite gestalten“) existieren (Typ "Magazinlink"). Falls Quelle und Ziel des Links innerhalb der kopierten Struktur liegen, sollen diese in den Kopien aktualisiert werden.

Beispiel:

Kurs A enthält Order B und Seite in Kurs A enhält internen Link auf Ordner B.

  • Kurs A wird mit Ordner B kopiert: Interner Link in Kopie von Kurs A wird auf neue Kopie Ordner B aktualisert (zeigt nicht mehr auf Original Ordner B).
  • Falls Zielobjekt (hier Ordner B) bei der Kopieraktion ausgelassen wurde, soll der entsprechende Link in der Kopie gelöscht werden. (Text bleibt erhalten)
  • Interne Links, deren Ziel nicht innerhalb des Containers liegen (hier außerhalb von Kurs A) werden nicht geändert (bleiben als Link auf ursprüngliches Objekt erhalten).

2 Additional Information

3 Discussion

JourFixe, ILIAS [jourfixe], May 09, 2016: Highly appreciated and scheduled for 5.2

4 Implementation

Create a container (course, category, folder, group) and use the "Customize Page" feature to add content to the container. In the editor use internal links to repository objects within the container. If you now copy the container and include the linked objects, the links in the new container will point to the newly created copies of the repository objects.

Test Cases

Test cases completed at 2016-05-03 by atoedt

  • http://testrail.ilias.de/index.php?/cases/view/12695: Kategorie mit intern verlinkten Unterobjekten kopieren
  • http://testrail.ilias.de/index.php?/cases/view/12697: Intern verlinkte Unterobjekte beim Kopieren der Kategorie auslassen
  • http://testrail.ilias.de/index.php?/cases/view/12698: Intern verlinkte Unterobjekte beim Kopieren der Kategorie verknüpfen

Approval

Approved at 19.7.2016 by Colin Kiegel.

Last edited: 28. Aug 2017, 09:42, Killing, Alexander [alex]