Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-40660

Content Edit: Post an event when the content has been updated to a newer version.

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Verified
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.4, 12.3, 19.0
    • Fix Version/s: 12.5, 19.0
    • Component/s: Content
    • Labels:
      None
    • 12 status:
      Resolved
    • 11 status:
      Please Merge
    • Test Plan:
      Hide

      You need database access to read the SAKAI_EVENT table.

      1. Add a new file in resources (Don't use an admin user).
      2. *SAKAI_EVENT should contain a new event "content.new"
      3. Upload a new version of the file in resources.
      4. *SAKAI_EVENT should have two new events, "content.revise" and "content.upd.new.version".

      You can use this query (MySQL syntax): 

      select * from sakai_event order by event_date desc;
      Show
      You need database access to read the SAKAI_EVENT table. Add a new file in resources (Don't use an admin user). *SAKAI_EVENT should contain a new event "content.new" Upload a new version of the file in resources. *SAKAI_EVENT should have two new events, "content.revise" and "content.upd.new.version". You can use this query (MySQL syntax):  select * from sakai_event order by event_date desc;

      Description

      When a user uploads a new content, the eventTrackingService posts a "content.new" event.

      When a user edits the title or the dates, it posts two events:

      • "content.revise" and "content.upd.title" for the first case.
      • "content.revise" and "content.upd.visibility" for the second case.

      When a user replaces the content with a newer version, only posts a "content.revise" event, it will be good if posts something like "content.upd.new.version".

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                farreri Miguel Pellicer
                Reporter:
                farreri Miguel Pellicer
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code