Adjust for Removed Deprecations
Update your implementation to account for removed deprecations when upgrading from brXM 15.x to 16.y.
Removed Deprecated ConcurrentLoginFilter and ConcurrentLoginListener Classes
The previously deprecated and non-functional (NOOP) classes ConcurrentLoginFilter and ConcurrentLoginListener have been removed in brXM 16. If your CMS web.xml contains references to these classes, remove the following configuration snippets:
<!--No concurrent logins--> <filter> <filter-name>ConcurrentLogin</filter-name> <filter-class>org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter</filter-class> </filter> <filter-mapping> <filter-name>ConcurrentLogin</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <listener> <listener-class>org.hippoecm.frontend.plugins.login.ConcurrentLoginListener</listener-class> </listener>
Removed Deprecated Repository Modules
The following Maven modules and associated classes, previously deprecated, have been removed in brXM 16:
org.onehippo.cms7:hippo-repository-deprecated-facetsearchorg.hippoecm.repository.jackrabbit.AbstractFacetSearchProvider.javaorg.hippoecm.repository.jackrabbit.FacetSearchProvider.javaorg.hippoecm.repository.jackrabbit.FacetSearchSubtypedDataProvider.javaorg.hippoecm.repository.jackrabbit.FacetSubSearchProvider.java
org.onehippo.cms7:hippo-repository-deprecated-facetselectmirrororg.hippoecm.repository.jackrabbit.FacetSelectProvider.javaorg.hippoecm.repository.jackrabbit.MirrorNodeVirtualProvider.javaorg.hippoecm.repository.jackrabbit.SubtypedDataProvider.java
The following constant has also been removed:
org.hippoecm.repository.api.HippoNodeType#NT_FACETSUBSEARCH
Removed Deprecated GoogleAnalytics Module
The GoogleAnalytics module, deprecated since brXM 15.3, has been removed in brXM 16.
CMS
The following reports are no longer available:
- “Buzz > Visitors Last Month”
- “Totals > Visitors Last Two Weeks”
The following Maven artifact and Wicket plugin class have been removed:
org.onehippo.cms7:hippo-cms-google-analytics-frontendorg.onehippo.cms7.ga.editor.DocumentHitsPlugin
The following Java package and its classes have been removed:
com/onehippo/cms7/reports/plugins/gacom.onehippo.cms7.reports.plugins.ga.Columncom.onehippo.cms7.reports.plugins.ga.GAPanelcom.onehippo.cms7.reports.plugins.ga.GAPlugincom.onehippo.cms7.reports.plugins.ga.GAStore
The following repository configuration nodes have been removed:
/hippo:configuration/hippo:frontend/cms/hippo-reports/buzz-website-visits/hippo:configuration/hippo:frontend/cms/hippo-reports/totals-website-visit
Required actions:
- Remove the dependency on
org.onehippo.cms7:hippo-cms-google-analytics-frontendfrom your CMSpom.xmlif present. - Check for and remove any usage of the removed classes.
Delivery
The following Maven artifacts and related resources have been removed:
org.onehippo.cms7.hst.client-modules:hst-google-analytics-hstgoogleanalytics.tldand its backing classes:org.onehippo.cms7.hst.ga.tags.GoogleAnalyticsAccountIdTagorg.onehippo.cms7.hst.ga.tags.GoogleAnalyticsTrackDocumentTag
- Web resource:
google-analytics.js
org.onehippo.cms7.hst.client-modules:hst-google-analytics-repositoryhippogoogleanalytics.cnd- Note: After deployment, this CND file remains in existing repositories and is visible in the console app, but does not affect functionality.
- Repository configuration:
/hippo:configuration/hippo:modules/googleAnalyticsConfiguration - Interface:
org.onehippo.cms7.services.googleanalytics.GoogleAnalyticsService - Implementation:
org.onehippo.cms7.googleanalytics.GoogleAnalyticsServiceImpl
Required actions:
- Remove the dependency on
org.onehippo.cms7.hst.client-modules:hst-google-analytics-hstfrom your sitepom.xmlif present. Also, remove any usage of the removedgoogleanalytics.tld.- In Freemarker templates (FTL), remove
<@ga.accountId/>,<@ga.trackDocument/>, or<#assign ga=JspTaglibs["http://www.onehippo.org/jsp/google-analytics"]>. - In JSP files, remove
<ga:accountId/>,<ga:trackDocument/>, or<%@ taglib uri="http://www.onehippo.org/jsp/google-analytics" prefix="ga" %>. - Remove any references to
google-analytics.jsif they point to the removed artifact.
- In Freemarker templates (FTL), remove
- Remove the dependency on
org.onehippo.cms7.hst.client-modules:hst-google-analytics-repositoryfrom your CMSpom.xmlif present.- Remove any YAML configuration that adds properties to
/hippo:configuration/hippo:modules/googleAnalyticsConfiguration.
- Remove any YAML configuration that adds properties to
Removed Deprecations in Enterprise Forms
The undocumented PDF Filler functionality, deprecated since brXM 15.0, has been removed in brXM 16.
Removed classes:
com.onehippo.cms7.eforms.cms.extensions.PDFFillerPlugin.javacom.onehippo.cms7.eforms.hst.behaviors.PDFFillerBehavior.javacom.onehippo.cms7.eforms.hst.components.PDFFillingEformComponent.javacom.onehippo.cms7.eforms.hst.util.PdfDocument.javacom.onehippo.cms7.eforms.hst.util.PdfField.javacom.onehippo.cms7.eforms.hst.util.PdfValueLogVisitor.java
The following previously deprecated classes have also been removed:
com.onehippo.cms7.eforms.cms.extensions.ConfigurableMailFormDataPlugin.java(useMailFormDataPlugininstead)com.onehippo.cms7.eforms.cms.validation.ValidationHelperPlugin.javacom.onehippo.cms7.eforms.hst.beans.CheckBoxBean.javacom.onehippo.cms7.eforms.hst.beans.EmailBlockBean.javacom.onehippo.cms7.eforms.hst.beans.RadioBoxBean.javacom.onehippo.cms7.eforms.hst.behaviors.ConfigurableMailFormDataBehavior(useMailFormDataBehaviorinstead)com.onehippo.cms7.eforms.hst.components.AfterProcessComponent(useEformComponentorAutoDetectFormComponentinstead)com.onehippo.cms7.eforms.hst.components.ConfigurableMailAndStoreFormDataComponent(useEformComponentorAutoDetectFormComponentinstead)com.onehippo.cms7.eforms.hst.model.EmailBlock
The following constructors have been removed. Use the corresponding #builder methods instead:
com.onehippo.cms7.eforms.hst.model.TextField#TextField(Form, String, String, long, long, long)com.onehippo.cms7.eforms.hst.model.RadioBox#RadioBox(RadioBoxBean, Form)com.onehippo.cms7.eforms.hst.model.RadioBox#RadioBox(Form, String, String, String, String, boolean, String)com.onehippo.cms7.eforms.hst.model.CheckBox#CheckBox(CheckBoxBean, Form)com.onehippo.cms7.eforms.hst.model.CheckBox#CheckBox(Form, String, String, String, String, boolean, String)com.onehippo.cms7.eforms.hst.model.DateField#DateField(Form, String, String, String)
Previously deprecated methods, attributes, or constants have been removed from the following classes:
com.onehippo.cms7.eforms.cms.exporter.FormContainerExporter- Removed
#fetchLastInsertedColumn
- Removed
com.onehippo.cms7.eforms.cms.extensions.ConfirmationPlugin- Removed
#PROP_NAME_SENDER_ADDRESS. Do not use"eforms:confirmationsenderaddress"; use"eforms:confirmationreplytoaddress","eforms-sender-email", or"eforms-sender-name"instead.
- Removed
com.onehippo.cms7.eforms.hst.behaviors.AbstractMailBehavior- Removed overloaded
#getPlainTextand#getHtmlmethods with anEmailBlockparameter - Removed
#createMailSender(HstRequest, ComponentConfiguration, FormBean, FormMap)(usecreateMailSenderwithout bean and map parameters) - Removed
#getFromAddress(HstRequest, ComponentConfiguration, FormBean, FormMap)(usegetFromAddresswithout bean and map parameters) - Removed
#getSenderAddress(HstRequest, ComponentConfiguration, FormBean, FormMap, MailAddress)(usegetSenderAddresswithout bean and map parameters)
- Removed overloaded
com.onehippo.cms7.eforms.hst.behaviors.MailFormDataBehavior- Removed
#getRecipients(HstRequest, ComponentConfiguration, Form)(usegetRecipientswith a bean parameter) - Removed
#getCcRecipients(HstRequest, ComponentConfiguration, Form)(usegetCcRecipientswith a bean parameter) - Removed
#getBccRecipients(HstRequest, ComponentConfiguration, Form)(usegetCcRecipientswith a bean parameter) - Removed
#getSubject(HstRequest, ComponentConfiguration, FormBean, String)(usegetSubjectwith a HippoItem bean parameter) - Removed
#createRecipients(String, String)(use#addRecipients(List, String, String)instead) - Removed
#createReplyToAddresses(FormBean, FormMap)(usecreateReplyToAddresseswith a HippoItem bean parameter) - Removed
#EMPTY_ARRAY(unused)
- Removed
com.onehippo.cms7.eforms.hst.behaviors.FormSubmissionCounterBehavior- Removed
#getSubmissionCount(FormBean)and dependent methods
- Removed
com.onehippo.cms7.eforms.hst.api.OnValidationErrorBehavior- Removed
#onValidationError(HstRequest, HstResponse, ComponentConfiguration, FormBean, Form, FormMap, List<ErrorMessage>)(use the version with aMapas the errors argument)
- Removed
com.onehippo.cms7.eforms.hst.api.ValidationSupport- Removed
#onValidationError(HstRequest, HstResponse, Form, FormMap, List<ErrorMessage>)(use the version with aMapas the errors argument)
- Removed
com.onehippo.cms7.eforms.cms.model.SingleValuePropertyModel- Removed constructors:
#SingleValuePropertyModel(JcrPropertyModel)and#SingleValuePropertyModel(Property)
- Removed constructors:
com.onehippo.cms7.eforms.hst.components.ConfirmFormComponent- Removed
#addConfiguredBehaviors(HstRequest)(use#addConfiguredBehaviorsinstead) - Removed
#getComponentParameter(HstRequest, String, String)(use#getComponentParameter(String, String)instead) - Removed
#removeFormMap(do not use this method)
- Removed
com.onehippo.cms7.eforms.hst.components.EformComponent- Removed
#removeFormMap(do not use this method)
- Removed
Removed Deprecations in Commons Module
The following classes, deprecated since brXM 12, have been removed in brXM 16:
org.onehippo.cms7.logging.log4j.JndiPropertyFilterorg.onehippo.cms7.logging.log4j.AbstractPropertyFilter
Use LookupFilter as a replacement.
In addition, the following interface method, deprecated since brXM 14, has been removed:
org.hippoecm.hst.security.AuthenticationProvider- Removed
#getRolesByUsername(use#getRolesByUser(User)instead)
- Removed
Removed Deprecations in Site Toolkit Security Module
The following classes, deprecated since brXM 14, have been removed in brXM 16:
org.hippoecm.hst.security.impl.HippoAuthenticationProviderorg.hippoecm.hst.security.impl.JcrAuthenticationProvider
Use RepositoryAuthenticationProvider instead.
The following method has been removed from RepositoryAuthenticationProvider:
#getRolesByUsername(this was an implementation of the removed interface methodAuthenticationProvider#getRolesByUsername)
Removed Deprecations in Site Toolkit Core Module
The following property has been removed from SpringComponentManager properties in brXM 16:
security.authentication.role.domain
This property was used by the now-removed AuthenticationProvider classes.
Removed Deprecations in Taxonomy Plugin
The following methods have been removed in brXM 16:
org.onehippo.taxonomy.plugin.model.ClassificationDao- Removed
#getClassification(IModel<Node>)(use#getClassification(IModel<Node>, Taxonomy)instead)
- Removed
org.onehippo.taxonomy.plugin.TaxonomyFieldPlugin- Removed
#isTaxonomyFieldValid(useViolationUtils#getFirstFieldViolationand check for a violation)
- Removed