click here for details... Sakai Executive Director Position Search now open
Issue Details (XML | Word | Printable)

Key: STAT-97
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Nuno Fernandes
Reporter: David Roldán Martínez
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Sitestats

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

Created: 12-Sep-2008 02:24   Updated: 04-May-2009 02:27
Component/s: SiteStats
Affects Version/s: SiteStats_1.x_2.5.x
Fix Version/s: Trunk, SiteStats_1.x_2.5.x, 1.2.1, 2.0

Time Tracking:
Not Specified

File Attachments: 1. Text File sitestats.patch (7 kB)



 Description  « Hide
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

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Nuno Fernandes added a comment - 12-Sep-2008 02:50
Resolved in r53026 (trunk) and r53027 (2.5.x.)

Nuno Fernandes added a comment - 15-Sep-2008 04:28
Re-opened as sitestats stopped inserting data in SST_RESOURCES

Nuno Fernandes added a comment - 15-Sep-2008 04:42
Resolved in r53093 (trunk) and r53095 (2.5.x)

Nuno Fernandes added a comment - 12-Nov-2008 09:07
Removing 1.3 [Tentative] as next version is 2.0 [Tentative].