Object mappingSetFromSession = req.getSession().getAttribute("mappingSet");
if (!(mappingSetFromSession instanceof MappingSet)) {
throw new BugException("invalid mappingSet parameter: " + mappingSetFromSession);
}
MappingSet mappingSet = (MappingSet) mappingSetFromSession;
mappingSet.reload(locale, session);
Object oldInteractionListId = req.getSession().getAttribute("oldInteractionListId");
if (oldInteractionListId == null || !(oldInteractionListId instanceof Long)){
throw new InputException(getResources(req).getMessage(locale, "admin.entryNotAvailable"),"old fragment entry not found in session",null,null);
}