Feature Wiki

Information about planned and released features

Tabs

Create New Pools from Random Tests having Lost Pools

At the time beeing a random test does still work when you delete a question pool, that is involved in the selection configuration, from system permanently. In most cases up to now the tests in question allready have existing participant data so changing the selection configuration isn't a requirement for these tests any longer.

When you delete the participant data and then try to change the selection config the question stage parts depending on the pools that does not exist any longer are lost with the fist saving step, because there is no chance to rebuild the parts from the original pools. The current technical concept follows  a fully reset/rebuild of all involved data each time something is saved.

This problem now will have more effect since we are able to export/import random test with the next release. Re-imported random tests will have a fully working state but since a single click in question config leads to a lost question stage the question config has to be set to a frozen state in case of missing pools. This also fixes the situation for the problem that existed in last releases, as this will be implemented as general fix.

Several aspects for this concept could be changed to solve the problem, this request descibes an idea that is easily to implement and does not conflict any other ideas that might be also implemented.

1 Requirements

A new mechanism is to be implemented that helps getting a frozen random test question config into a configurable state again.

  • In case of lost or trashed question pool(s) the random test depends on a new table is to be shown that lists this/these pool(s),each listing shows ..
    • .. a kind of warning when pool is in trash
    • .. a kind of alert when pool is lost (removed from system)
    • .. maybe the repository path (for trashed pools only)
  • Actions for generating new pool(s) from allready lost ones
    • single action / all action
    • multi selection action
  • When a re-creation of a "lost pool" is triggered ..
    • .. the next screen shows a repository explorer to choose a target container
    • .. the rebuild is done and the pools will have same name as the original lost one
    • .. all question contents as well as taxonomies and question-competence assignments are restored
    • .. the still existing and relating question stage part's questions in the random test are linked to the questions in re-created pools
When all "lost pools" are re-created by using this mechanism the random test's question selection config will unfreeze so maintaining the configuration becomes possible again.

2 Additional Information

3 Discussion

JourFixe, ILIAS [jourfixe], May 09, 2016: We appreciate this feature request and schedule it for 5.2.

4 Implementation

For the current implementation it doesn't matter wether a test was locally created or imported from another ILIAS instance. When at least a single question pool of the involved ones is trashed or got removed from system permanently the test occurs with newly introduced behaviours.

4.1 An Involved Question Pool is Trashed

When a question pool is trashed and the test question set configution is opened, the only change is a new occuring table that gives information about this fact. In this context the message about the trashed pool has a warning character as the test is still working. When no participants have taken the test yet, even the configuration can still be changed.

4.2 An Involved Question Pool got Removed from System Permanently

When a pool was removed from system permanently, the test is still takeable by participants, but the test question set config freezes, so it cannot be changed anymore. This is for the fact, that a single change requires a resynchronisation of all pools, and for the pool in question this is not possible any longer. This cirmcumstance is explained with an alert message. The newly introduced table showing conflicts for involved question pools now shows information about the consequences.

For question pools that have been removed from system permanently a possibility to re-create them based on the corresponding questions that has been synchronized to the test originally. The therefore provided link shows up a screen with a repository selector to choose a location within the repository where the pool can be re-created.

When permanently removed pools got re-created in whole the test question set configuration becomes changeable again.

Test Cases

Test cases completed at 26. Aug 2016 by Heyser, Björn [bheyser]

  • C13049: Ableitung von neuen Fragenpools aus importierten Zufallstests

Approval

Approved at 26. Aug 2016 by Heyser, Björn [bheyser].

Last edited: 20. Mar 2023, 09:16, Samoila, Oliver [oliver.samoila]