Actions
feature request #8503
closedCreate abstract base UI from RegistrationUI and use it for all UIs
Start date:
Due date:
% Done:
50%
Estimated time:
Severity:
normal
Description
The code which configures the error hanlder should also go into the abstract base class:
DelegatingErrorHandler delegatingErrorHander = new DelegatingErrorHandler();
WindowErrorHandler errorHandler = new WindowErrorHandler(this, RegistrationUIDefaults.ERROR_CONTACT_MESSAGE_LINE + "</br></br>"
+ "<i>To help analyzing the problem please describe your actions that lead to this error and provide the error details from below in your email. "
+ "You also might want to add a sreenshot of the browser page in error.</i>");
delegatingErrorHander.registerHandler(new ErrorTypeErrorHandlerWrapper<PermissionDeniedException>(PermissionDeniedException.class, new PermissionDeniedErrorHandler(this)));
delegatingErrorHander.registerHandler(new ErrorTypeErrorHandlerWrapper<Exception>(Exception.class, errorHandler));
setErrorHandler(delegatingErrorHander);
VaadinSession.getCurrent().setErrorHandler(delegatingErrorHander);
also other code part of the init method
To be implemented for
- DistributionStatusUI URGENT: this UI is already based on the UI interface only
- StatusEditorUI: still based on the AbstractAuthenticatedUI
- ConceptRelationshipUI: still based on the AbstractAuthenticatedUI
Additional
- drop AbstractAuthenticatedUI and CdmBaseUI once done
Related issues
Actions