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

ability to retrieve the time of an Event.

    Details

    • Type: Task
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.x
    • Component/s: Kernel
    • Labels:

      Description

      There is no way to get the time of an Event. Need it to be set into the Event object. It's retrieved from the db, but ignored:

      // read the Event
      long id = result.getLong(1);
      Time date = timeService().newTime(result.getTimestamp(2, sqlService().getCal()).getTime());
      String function = result.getString(3);
      String ref = result.getString(4);
      String session = result.getString(5);
      String code = result.getString(6);
      String context = result.getString(7);
      String eventSessionServerId = result.getString(8);

      then:

      BaseEvent event = new BaseEvent(id, function, ref, context, "m".equals(code), NotificationService.NOTI_NONE);

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  k1team KERNEL TEAM (Inactive)
                  Reporter:
                  steve.swinsburg Steve Swinsburg
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code