Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Outdated
-
2.22.13
-
None
-
Hippo CMS 7.7.7
Description
The workflow frontend plugin org.hippoecm.frontend.plugins.reviewedactions.EditingReviewedActionsWorkflowPlugin
contains two methods (validate() and isValid()) which have default visibility:
void validate() throws ValidationException {
isValid = true;
List<IValidationService> validators = getPluginContext().getServices(
getPluginConfig().getString(IValidationService.VALIDATE_ID), IValidationService.class);
if (validators != null) {
for (IValidationService validator : validators)
}
}
boolean isValid()
{ return isValid; }When extending EditingReviewedActionsWorkflowPlugin (for example to add an additional button in the editing menu), the above two methods are not visible to the extending class and must be duplicated locally.
If the methods had 'protected' visibility this would not be necessary.