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

SiteStats - error in quartz job when event processing launches an error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.3
    • Fix Version/s: 2.5.6, 2.6.3
    • Component/s: Sitestats
    • Labels:
      None
    • Previous Issue Keys:
      STAT-97

      Description

      I've testing SiteStats and have found a "curious" issue. When an exception is launched while SST is processing an event, SAKAI_EVENT processing is stop and SST_JOB_RUN row is inserted with end_event_id set to zero and job_end_date set to null. This makes the following execution to fail as it tries to start at SAKAI_EVENT.ID = 1. To solve it I attach a patch that skips problematic events, that is, events launching any kind of exception. In this way, SAKAI_EVENT mapping keeps working though you find a problematic event. At least for UPV this behaviour is preferred than to abort job run due to the exception.
      I attach the patch to correct this behaviour.
      David

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                nfernandes Nuno Fernandes (Inactive)
                Reporter:
                darolmar@abierta.upv.es David Roldán Martínez
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration