Totara Release Notes

Totara 2.9.6, 2.7.14, 2.6.31, and 2.5.38 released 20th April 2016

 
Sam Hemelryk
Totara 2.9.6, 2.7.14, 2.6.31, and 2.5.38 released 20th April 2016
de Sam Hemelryk - Tuesday, 19 de April de 2016, 20:24
Grupo Totara
Hello everyone,

The following versions of Totara have now been released:
  • 2.9.6
  • 2.7.14
  • 2.6.31
  • 2.5.38
Kind regards
Sam Hemelryk


Release 2.9.6 (20th April 2016):

Important:

    TL-8417        Historical completion records belonging to a course are now deleted if the course gets deleted

                   Previously when a course was deleted the historical completion records were
                   forgotten about and left orphaned.
                   This lead to errors and visual inconsistencies when trying to work with the
                   historical completion records as they now referenced removed courses.
                   Now when a course is deleted all historical completion records held for it
                   are also deleted.
                   Please note that during upgrade all orphaned historical completion records
                   are deleted.

    TL-8711        Scheduled reports belonging to a user are now deleted when the user gets deleted

                   Previously when a user or audience was deleted any scheduled reports
                   belonging to that user were left in the system.
                   This lead to errors as the scheduled reports now referenced users that no
                   longer existed.
                   Now when a user is deleted all scheduled reports belonging to that user are
                   also deleted.
                   During upgrade all orphaned scheduled reports belonging to previously
                   deleted users will be cleaned up.
                   
                   The same is true of audiences referenced as recipients of scheduled
                   reports.
                   Now when an audience is deleted orphaned scheduled report recipient records
                   are also cleaned up.
                   During upgrade all orphaned scheduled reports referencing audiences that no
                   longer exist will be cleaned up.


Improvements:

    TL-8174        Fixed visibility for the 'My Learning' SCORM activity overview
    TL-8358        Updated the help text for a custom fields' "Locked" setting
    TL-8393        Performance improvement when admins view a course with many activities

                   Previously, when an admin viewed a course, the admin's completion data for
                   each course would be checked for each activity multiple times. The higher
                   the number of activities in a course, the more often these completion
                   checks would occur, causing performance issues when there were many
                   activities involved. This only affected users who could access the course
                   but were not enrolled, such as site administrators. Enrolled users were not
                   affected by this bug. Guest users were also not affected as completion data
                   is not checked for them. 
                   
                   The issue occurred due to cached data being cleared incorrectly for the
                   affected users. This has been corrected and page load times for admins on
                   the view course page will now be similar to that of enrolled learners. 

    TL-8421        Usernames on login page now avoid mobile OS default capitalisation
    TL-8522        Template library now has a context for admin_tool/list_templates_page
    TL-8595        Added cost information to Face-to-face direct enrolment for sign-up page
    TL-8657        Improved performance of adding courses and programs to audiences
    TL-8751        Added links to run completion checker over whole site

                   Links were added in Manage Programs and Manage Certifications which allow
                   privileged users to run the program and certification completion checkers
                   over all programs or certifications on a site, rather than having to run
                   them one program or certification at a time.

    TL-8759        Added help popup for Require view activity completion criteria

Bug fixes:

    TL-6962        Made signup and cancellation fields consistent throughout Face-to-face

                   Previously Face-to-face custom fields for signup and cancellations were
                   being attached to a users signup status.
                   This was a regression from the conversion of Face-to-face custom fields in
                   2.7 that has been the cause of a several hard to track down problems.
                   In this fix we have changed the attachment point from signup status to the
                   signup itself.
                   This has lead to several minor changes in the Face-to-face API's as noted
                   below.

                   * facetoface_get_attendee no longer returns the statusid or usernote as
                   part of the record it returns.
                   * facetoface_get_attendees no longer returns a usernote as part of the
                   record it returns.
                   * facetoface_user_signup the usernote argument 10 has been deprecated and
                   now displays a debugging notice if used.
                   * facetoface_update_signup_status the usernote argument 4 has been
                   deprecated and now displays a debugging notice if used.
                   * facetoface_get_cancellations no longer returns a cancellation reason
                   property as part of its response.
                   * facetoface_get_requests no longer returns a usernote property as part of
                   the record it returns.
                   * facetoface_user_import no longer imports a usernote (this was not being
                   stored correctly)

    TL-8101        Removed the incorrect "role change" warning for completed dynamic appraisals
    TL-8136        Fixed Face-to-face custom field filters when applied within the calendar
    TL-8156        Fixed capability checks when adding audiences and users as scheduled report recipients
    TL-8162        Ensured only eligible activities are selectable for feedback reminders

                   Only activities which are part of course completion can be tracked for
                   sending out feedback reminder messages. However, it was previously possible
                   to select other activities and the reminder would simply not go out. The
                   select options for activity completion to base a feedback reminder on are
                   now restricted to those that are part of course completion criteria. 

    TL-8338        Fixed the Face-to-face signup by waitlist functionality by including overbook capability check
    TL-8346        Corrected Face-to-face terminology within the session report source

                   The Face-to-face session report now correctly refers to users who have self
                   booked via the self-booking service as "Self booked", previously they were
                   incorrectly referred to as "Reserved"

    TL-8355        Corrected spelling of re-classify and re-classifying by removing hyphen
    TL-8374        Ensured the certification completion date is only calculated on the current paths courses
    TL-8380        Removed the sorting from Progress column for Certification overview report
    TL-8399        Fixed the coursenames column in the Program/Certification overview report

                   Previously if a course's short name contained a comma it would be
                   incorrectly processed by the Program overview and Certification overview
                   reports.
                   It is now correctly handled.

    TL-8428        Fully disabled Syncing Position ID number field in HR Import when Position Hierarchies are disabled

                   The previous behaviour was that if you have any of the position fields
                   (Position Title, Position ID Number, Position start date, Position end
                   date) enabled for the sync and then Position hierarchies are disabled then
                   the position fields are removed from the interface but are still synced.
                   The new behaviour is that Position ID number will be completely disabled
                   (it will not sync the field until Position hierarchies are re-enabled) and
                   the other fields will not be disabled.

    TL-8434        Added columns for custom program fields to Program Completion, Program Membership and Program Overview report sources
    TL-8438        Added a missing string used within the Program membership report
    TL-8458        Face-to-face module can now be managed by users with the 'totara/core:modconfig' capability
    TL-8461        Fixed course deletion to more accurately update program coursesets

                   Previously, all competency course sets were inadvertently being removed
                   from programs whenever any course on the site was deleted. This, and
                   deletion of courses that left other course sets empty, also resulted in
                   exceptions being displayed when viewing programs. 
                   
                   This behaviour has been prevented. 
                   
                   Two methods have been added to the course_set abstract class in
                   totara/program/program_courseset.class.php, get_courses and delete_course.
                   These will be abstract methods in the next major release. For existing
                   releases, they will output a message if debugging has been turned on. If
                   any custom classes have been created that inherit from this class, it is
                   recommended that you overwrite these methods in the custom class.

    TL-8471        Fixed 'totara/dashboard:manage' capability for non admin user
    TL-8475        Fixed position type display function for Face-to-face session report
    TL-8502        HR Import now correctly handles invalid usernames by logging a warning and continuing on

                   This issue was only encountered when the user delete setting was set to
                   suspend users, and there were users being deleted. However this adds extra
                   validation to the HR import sanity checks so any invalid users will be
                   detected during any sync action.

    TL-8582        Updated course multiselect custom field type to update all data records when option text or icons are changed
    TL-8585        Face-to-face notification iCalendar attachments now support updates during signup status and/or session date changes

                   Please note, software that does not support iCalendar sequence will still
                   create new event each time instead of updating it.

    TL-8603        Fixed multilang support within Report description field
    TL-8633        Fixed use of the duedate placeholder in program messages
    TL-8634        Fixed Audience: Visible Learning report when no id is set
    TL-8653        Fixed image used by the template library when viewing the core/pix_icon template
    TL-8672        Fixed removal of seleted audiences when editing a course
    TL-8685        Fixed pagination when viewing global report restriction list
    TL-8691        Fixed the handling of locked custom course fields when creating a new course
    TL-8698        Fixed minor JavaScript error when using AMD get_strings implementation in IE9
    TL-8707        Made the 'Duration' column within Face-to-face reports translatable
    TL-8760        Fixed deactivation of the "require end reach" completion condition for Lesson activities

Release 2.7.14 (20th April 2016):

Important:

    TL-8417        Historical completion records belonging to a course are now deleted if the course gets deleted

                   Previously when a course was deleted the historical completion records were
                   forgotten about and left orphaned.
                   This lead to errors and visual inconsistencies when trying to work with the
                   historical completion records as they now referenced removed courses.
                   Now when a course is deleted all historical completion records held for it
                   are also deleted.
                   Please note that during upgrade all orphaned historical completion records
                   are deleted.

    TL-8711        Scheduled reports belonging to a user are now deleted when the user gets deleted

                   Previously when a user or audience was deleted any scheduled reports
                   belonging to that user were left in the system.
                   This lead to errors as the scheduled reports now referenced users that no
                   longer existed.
                   Now when a user is deleted all scheduled reports belonging to that user are
                   also deleted.
                   During upgrade all orphaned scheduled reports belonging to previously
                   deleted users will be cleaned up.
                   
                   The same is true of audiences referenced as recipients of scheduled
                   reports.
                   Now when an audience is deleted orphaned scheduled report recipient records
                   are also cleaned up.
                   During upgrade all orphaned scheduled reports referencing audiences that no
                   longer exist will be cleaned up.


Improvements:

    TL-8358        Updated the help text for a custom fields' "Locked" setting
    TL-8393        Performance improvement when admins view a course with many activities

                   Previously, when an admin viewed a course, the admin's completion data for
                   each course would be checked for each activity multiple times. The higher
                   the number of activities in a course, the more often these completion
                   checks would occur, causing performance issues when there were many
                   activities involved. This only affected users who could access the course
                   but were not enrolled, such as site administrators. Enrolled users were not
                   affected by this bug. Guest users were also not affected as completion data
                   is not checked for them. 
                   
                   The issue occurred due to cached data being cleared incorrectly for the
                   affected users. This has been corrected and page load times for admins on
                   the view course page will now be similar to that of enrolled learners. 

    TL-8657        Improved performance of adding courses and programs to audiences
    TL-8751        Added links to run completion checker over whole site

                   Links were added in Manage Programs and Manage Certifications which allow
                   privileged users to run the program and certification completion checkers
                   over all programs or certifications on a site, rather than having to run
                   them one program or certification at a time.


Bug fixes:

    TL-6962        Made signup and cancellation fields consistent throughout Face-to-face

                   Previously Face-to-face custom fields for signup and cancellations were
                   being attached to a users signup status.
                   This was a regression from the conversion of Face-to-face custom fields in
                   2.7 that has been the cause of a several hard to track down problems.
                   In this fix we have changed the attachment point from signup status to the
                   signup itself.
                   This has lead to several minor changes in the Face-to-face API's as noted
                   below.

                   * facetoface_get_attendee no longer returns the statusid or usernote as
                   part of the record it returns.
                   * facetoface_get_attendees no longer returns a usernote as part of the
                   record it returns.
                   * facetoface_user_signup the usernote argument 10 has been deprecated and
                   now displays a debugging notice if used.
                   * facetoface_update_signup_status the usernote argument 4 has been
                   deprecated and now displays a debugging notice if used.
                   * facetoface_get_cancellations no longer returns a cancellation reason
                   property as part of its response.
                   * facetoface_get_requests no longer returns a usernote property as part of
                   the record it returns.
                   * facetoface_user_import no longer imports a usernote (this was not being
                   stored correctly)

    TL-8101        Removed the incorrect "role change" warning for completed dynamic appraisals
    TL-8136        Fixed Face-to-face custom field filters when applied within the calendar
    TL-8156        Fixed capability checks when adding audiences and users as scheduled report recipients
    TL-8162        Ensured only eligible activities are selectable for feedback reminders

                   Only activities which are part of course completion can be tracked for
                   sending out feedback reminder messages. However, it was previously possible
                   to select other activities and the reminder would simply not go out. The
                   select options for activity completion to base a feedback reminder on are
                   now restricted to those that are part of course completion criteria. 

    TL-8338        Fixed the Face-to-face signup by waitlist functionality by including overbook capability check
    TL-8346        Corrected Face-to-face terminology within the session report source

                   The Face-to-face session report now correctly refers to users who have self
                   booked via the self-booking service as "Self booked", previously they were
                   incorrectly referred to as "Reserved"

    TL-8374        Ensured the certification completion date is only calculated on the current paths courses
    TL-8380        Removed the sorting from Progress column for Certification overview report
    TL-8399        Fixed the coursenames column in the Program/Certification overview report

                   Previously if a course's short name contained a comma it would be
                   incorrectly processed by the Program overview and Certification overview
                   reports.
                   It is now correctly handled.

    TL-8438        Added a missing string used within the Program membership report
    TL-8458        Face-to-face module can now be managed by users with the 'totara/core:modconfig' capability
    TL-8461        Fixed course deletion to more accurately update program coursesets

                   Previously, all competency course sets were inadvertently being removed
                   from programs whenever any course on the site was deleted. This, and
                   deletion of courses that left other course sets empty, also resulted in
                   exceptions being displayed when viewing programs. 
                   
                   This behaviour has been prevented. 
                   
                   Two methods have been added to the course_set abstract class in
                   totara/program/program_courseset.class.php, get_courses and delete_course.
                   These will be abstract methods in the next major release. For existing
                   releases, they will output a message if debugging has been turned on. If
                   any custom classes have been created that inherit from this class, it is
                   recommended that you overwrite these methods in the custom class.

    TL-8471        Fixed 'totara/dashboard:manage' capability for non admin user
    TL-8475        Fixed position type display function for Face-to-face session report
    TL-8502        HR Import now correctly handles invalid usernames by logging a warning and continuing on

                   This issue was only encountered when the user delete setting was set to
                   suspend users, and there were users being deleted. However this adds extra
                   validation to the HR import sanity checks so any invalid users will be
                   detected during any sync action.

    TL-8585        Face-to-face notification iCalendar attachments now support updates during signup status and/or session date changes

                   Please note, software that does not support iCalendar sequence will still
                   create new event each time instead of updating it.

    TL-8592        Backport MDL-51408 to fix custom field completion criteria within Badges
    TL-8633        Fixed use of the duedate placeholder in program messages
    TL-8634        Fixed Audience: Visible Learning report when no id is set
    TL-8635        Corrected the handling of timezones on Learning Plan End Date field
    TL-8691        Fixed the handling of locked custom course fields when creating a new course
    TL-8707        Made the 'Duration' column within Face-to-face reports translatable

Release 2.6.31 (20th April 2016):

Improvements:

    TL-8393        Performance improvement when admins view a course with many activities

                   Previously, when an admin viewed a course, the admin's completion data for
                   each course would be checked for each activity multiple times. The higher
                   the number of activities in a course, the more often these completion
                   checks would occur, causing performance issues when there were many
                   activities involved. This only affected users who could access the course
                   but were not enrolled, such as site administrators. Enrolled users were not
                   affected by this bug. Guest users were also not affected as completion data
                   is not checked for them. 
                   
                   The issue occurred due to cached data being cleared incorrectly for the
                   affected users. This has been corrected and page load times for admins on
                   the view course page will now be similar to that of enrolled learners. 

    TL-8751        Added links to run completion checker over whole site

                   Links were added in Manage Programs and Manage Certifications which allow
                   privileged users to run the program and certification completion checkers
                   over all programs or certifications on a site, rather than having to run
                   them one program or certification at a time.


Bug fixes:

    TL-8162        Ensured only eligible activities are selectable for feedback reminders

                   Only activities which are part of course completion can be tracked for
                   sending out feedback reminder messages. However, it was previously possible
                   to select other activities and the reminder would simply not go out. The
                   select options for activity completion to base a feedback reminder on are
                   now restricted to those that are part of course completion criteria. 

    TL-8374        Ensured the certification completion date is only calculated on the current paths courses
    TL-8438        Added a missing string used within the Program membership report
    TL-8461        Fixed course deletion to more accurately update program coursesets

                   Previously, all competency course sets were inadvertently being removed
                   from programs whenever any course on the site was deleted. This, and
                   deletion of courses that left other course sets empty, also resulted in
                   exceptions being displayed when viewing programs. 
                   
                   This behaviour has been prevented. 
                   
                   Two methods have been added to the course_set abstract class in
                   totara/program/program_courseset.class.php, get_courses and delete_course.
                   These will be abstract methods in the next major release. For existing
                   releases, they will output a message if debugging has been turned on. If
                   any custom classes have been created that inherit from this class, it is
                   recommended that you overwrite these methods in the custom class.

    TL-8633        Fixed use of the duedate placeholder in program messages

Release 2.5.38 (20th April 2016):

Improvements:

    TL-8393        Performance improvement when admins view a course with many activities

                   Previously, when an admin viewed a course, the admin's completion data for
                   each course would be checked for each activity multiple times. The higher
                   the number of activities in a course, the more often these completion
                   checks would occur, causing performance issues when there were many
                   activities involved. This only affected users who could access the course
                   but were not enrolled, such as site administrators. Enrolled users were not
                   affected by this bug. Guest users were also not affected as completion data
                   is not checked for them. 
                   
                   The issue occurred due to cached data being cleared incorrectly for the
                   affected users. This has been corrected and page load times for admins on
                   the view course page will now be similar to that of enrolled learners. 

    TL-8751        Added links to run completion checker over whole site

                   Links were added in Manage Programs and Manage Certifications which allow
                   privileged users to run the program and certification completion checkers
                   over all programs or certifications on a site, rather than having to run
                   them one program or certification at a time.


Bug fixes:

    TL-8374        Ensured the certification completion date is only calculated on the current paths courses
    TL-8438        Added a missing string used within the Program membership report