ContentHosting should post an event whenever a change is made in the title to a resource

Description

In 2.9.x, we will need to be able to identify the timing of changes in the title (or "display name") for specific resources. This can be accomplished by having CHS post a specific even, "content.upd.title", whenever a change is made in the title for a resource.

Environment

None

Test Plan

None

Activity

Show:

Jim Eng January 19, 2012 at 12:26 PM

As I understand it, this ticket is fixed and merged into branches. If there is a bug in kernel affecting dashboard, please create a new ticket for the bug and indicate which branches need the fix.

Zhen Qian December 14, 2011 at 12:16 PM

It looks to me that the block for checking title change and hence post the relevant event should be placed after the storage.commit() call, then if any exception is thrown and prevents the commit to finish, the "resource changed" event won't be generated.

Hudson CI Server September 16, 2011 at 3:13 PM

Integrated in kernel-trunk #382 (See http://builds.sakaiproject.org:8080/job/kernel-trunk/382/)

This adds a new event identifier in ContentHostingService for "content.upd.title".
Then in BaseContentService.java, it tracks changes to particular properties of entities before they are committed and posts the "content.upd.title" event if changes have occurred.

Jim Eng September 16, 2011 at 2:47 PM

This is fixed in rev 98229.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created September 16, 2011 at 11:36 AM
Updated April 25, 2018 at 3:34 PM
Resolved January 19, 2012 at 12:26 PM