Project

General

Profile

Feature #242

Add feature to "replace" a document or a learning path

Added by Carlos Vargas over 9 years ago. Updated over 3 years ago.

Status:
Assigned
Priority:
Normal
Category:
Learning paths / Lecciones
Target version:
Start date:
02/12/2009
Due date:
% Done:

0%

Estimated time:
Complexity:
Difficult
SCRUM pts - complexity:
?

Description

Because documents and learning paths are linked from other places, it's a mess when you want to replace a document (or learning path) by a newer version without loosing the reference to it from other places.

To avoid this loss, make it possible to the course editor to "replace" a document or learning path. Internally, the process is to delete the previous document and create a new one, but using the ID of the previous one.


Files

scorm-replace1.png (23.7 KB) scorm-replace1.png Yannick Warnier, 29/05/2012 19:21
scorm-replace3.png (10.3 KB) scorm-replace3.png Yannick Warnier, 29/05/2012 19:21

History

#1

Updated by Carlos Vargas over 9 years ago

  • Target version set to 1.8.6.2 alpha
#2

Updated by Yannick Warnier over 9 years ago

  • Target version changed from 1.8.6.2 alpha to 1.8.6.2 RC1
#3

Updated by Yannick Warnier over 9 years ago

  • Target version changed from 1.8.6.2 RC1 to 11
#4

Updated by Yannick Warnier over 9 years ago

  • Target version changed from 11 to 1.8.7
#5

Updated by Yannick Warnier about 9 years ago

  • Target version changed from 1.8.7 to 1.8.7.1
#6

Updated by Yannick Warnier about 9 years ago

  • Tracker changed from Bug to Feature
#7

Updated by Yannick Warnier almost 9 years ago

  • Target version changed from 1.8.7.1 to 1.8.8 stable
#8

Updated by Yannick Warnier about 8 years ago

  • Assignee deleted (Julio Montoya)
  • Target version changed from 1.8.8 stable to 1.9 Stable
#9

Updated by Yannick Warnier about 7 years ago

  • Target version changed from 1.9 Stable to 1.9 Beta
#10

Updated by Yannick Warnier about 7 years ago

Add option in SCORM upload to show a select bar with all the existing learning paths. Something like this:

This option should only be available to admins for now (if(api_is_platform_admin() { ... }). This condition must appear before showing the form and before validating the replacement of the learning path.

For the second part (replacing items):
In the creation of a new item in the learning path, where it says "Position", it should now offer an additional possibility. Currently it says "First position", "After item1", "After item2", etc.
Now it should say (only for the platform admin) "First position", "Replace item1", "After item1", "Replace item2", "After item2", etc.

As said in the initial description for this task, the only change is that, when creating a new item, we pass it the idea of the item to replace. We keep that item in memory, we delete it from the table, replace it with the new one, and then we save.

Same thing for the whole SCORM content. The message in English should say:
"Replacing a complete learning path is a dangerous operation. Please make sure the new learning path has the exact same number of items as the previous one, as it will completely replace it, including items for which the users have already generated tracking."

#11

Updated by Yannick Warnier about 7 years ago

  • Complexity changed from Normal to Difficult
#13

Updated by Yannick Warnier about 7 years ago

  • Target version changed from 1.9 Beta to 2.0
#14

Updated by Yannick Warnier over 3 years ago

  • Category set to Learning paths / Lecciones
  • Status changed from New to Assigned
  • Assignee set to José Loguercio

Also available in: Atom PDF