EOEditingContext editingContext = ERXEC.newEditingContext();
_event = SPEvent.createSPEvent(editingContext, Boolean.TRUE, "New Event", _group.localInstanceIn(editingContext));
}
return _event;
}
<BUG>public WOActionResults addEvent() {
_event.editingContext().saveChanges();</BUG>
SPEventPage eventPage = pageWithName(SPEventPage.class);
eventPage.setEvent(_event);
return eventPage;

EOEditingContext editingContext = ERXEC.newEditingContext();
_event = SPEvent.createSPEvent(editingContext, Boolean.TRUE, "New Event", _group.localInstanceIn(editingContext));
}
return _event;
}
public WOActionResults addEvent() {
if (session().errors().hasNotices()) {
return null;
}
_event.editingContext().saveChanges();
SPEventPage eventPage = pageWithName(SPEventPage.class);
eventPage.setEvent(_event);
return eventPage;
