LDEV-1225: Page wasn't working if the learner had started the activity but hadn't saved their entry. Now if there isn't an entry, it shows the normal page but skips the entry section.
LDEV-1225: Page wasn't working if the learner had started the activity but hadn't saved their entry. Now if there isn't an entry, it shows the normal page but skips the entry section.
LDEV-1225: When a 2.0 export file was imported, the system tool id wasn't being set for grouping. So if the design was run without being saved again, the grouping page in export portfolio didn't work. Once the design was saved, the field was set hence we didn't pick up the problem before.
LDEV-1225: While testing, found that the notSupported.jsp doesn't work properly. This page only appeared when the system tools (gates and grouping) don't work in export portfolio properly, so its not worth trying to fix it. Now if they don't work there is an entry in the main page but no "no supported" page.
[LDEV-1229] Add unique index on transitionsFor the 2.0.3 updater, existing duplicate rows need to be deleted from the lams_learning_transition table, this SQL code has been added to the alter_203_transition.sql
LDEV-1182 & LDEV-1126: Fixing up behaviour of the close.jsp - which is called when the user completes an activity that was already finished. There were problems with the parallel activities when one was finished and the user clicked resume (or restarted learner) and with force complete. Now instead of just showing the "close" message, it detects that it is not in the popup window and instead of trying to close it now forwards to the next appropriate screen.
LDEV-1229: Add a unique key on the activity columns in transition. Somehow we are ending up with duplicate rows in the database, which stops the design being opened. This will stop the bad data being written to the database.