Project

General

Profile

Actions

Bug #2934

closed

possible None.get in EventLogServiceImpl

Added by Vincent MEMBRÉ over 11 years ago. Updated over 11 years ago.

Status:
Released
Priority:
2
Category:
Web - Maintenance
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

in method getListOfModificationEvents, there is an Option.get

we should at least pu a default value with a getOrElse

What do you think of 0 as default value ?

repository.getEventLogByCriteria(Some("eventtype in (" eventList ") and id > " +lastSuccess.id.get ), None, Some("id DESC") )

Actions

Also available in: Atom PDF