Adjust for Removed Deprecations

Adjust your implementation project for removed deprecations to upgrade from Bloomreach Experience Manager 16.x to 17.y.

Removed Jackrabbit RMI references

// FIXME Jackrabbit RMI got removed, see https://bloomreach.atlassian.net/browse/CMS-17716

The following ... has been removed:

  • 1
  • 2

Removed RGB autoconversion option

Before 16.7, uploaded images with CMYK/YCCK color models were automatically converted from to RGB. In 16.7 this change because to no longer convert since it lead to deterioration of image quality. A configuration option to still do that is now removed in 17.0. Most important parts:

  • removed configuration: /hippo:configuration/hippo:frontend/cms/cms-services/galleryProcessorService/convertToRGB
  • removed method: org.hippoecm.frontend.plugins.gallery.imageutil.ImageUtils#convertToRGB
  • only a single constructor left of org.hippoecm.frontend.plugins.gallery.imageutil.ImageBinary

HippoWorkflowEvent — removed deprecated event keys 

Any code that listens to the event bus and reads workflow events by key name will silently receive null instead of data. Three deprecated event property keys were removed from the underlying HippoEvent map together with their setter/getter methods.

Removed method Removed JCR log key Use instead
methodName() / methodName(String) "methodName" action() / action(String)
handleUuid() / handleUuid(String) "handleUuid" subjectId() / subjectId(String)
documentPath() / documentPath(String) "documentPath" subjectPath() / subjectPath(String)

Also affects persisted event data: WorkflowLogger no longer writes the methodName, handleUuid, or documentPath keys to JCR workflow log nodes below /hippo:log. Projects that query these log nodes by those property names (e.g. in a Groovy script or custom dashboard) must update those queries to use action, subjectId, subjectPath.

Full list of removed deprecated classes and methods

The following deprecated classes and method have been removed. 

Community module

CMS (community/cms)

Class org.hippoecm.addon.workflow.AbstractWorkflowDialog — deprecated since 13.1; use org.hippoecm.addon.workflow.WorkflowDialog instead

Class org.hippoecm.frontend.editor.plugins.resource.ImageInfo — deprecated since 14.7.0, no longer used; no replacement

Class org.hippoecm.frontend.plugins.standards.browse.BreadcrumbPlugin — deprecated since 10.0.x; use org.hippoecm.frontend.widgets.breadcrumb.NodeBreadcrumbWidget instead (included by default in org.hippoecm.frontend.editor.plugins.linkpicker.LinkPickerDialog and org.hippoecm.frontend.plugins.richtext.dialog.AbstractBrowserDialog)

Class org.hippoecm.frontend.plugins.standards.list.resolvers.CssClass — deprecated; use org.hippoecm.frontend.attributes.ClassAttribute instead

Class org.hippoecm.frontend.editor.plugins.linkpicker.FacetSelectTemplatePlugin — deprecated; plugin is no longer used, no replacement

Class org.hippoecm.frontend.plugins.login.BrowserCheckBehavior — deprecated since 15.2.3; server-side browser detection no longer supported, no replacement

Class org.hippoecm.frontend.plugins.cms.browse.model.BrowserSectionsModel — deprecated; no replacement

Class org.hippoecm.frontend.plugins.reviewedactions.dialogs.DatePickerComponent — deprecated since 16.3.0; use org.hippoecm.frontend.component.DatePickerComponent instead

Constructor org.hippoecm.addon.workflow.StdWorkflow(String id, String name, IPluginContext, RenderPlugin) — use constructor with explicit org.hippoecm.addon.workflow.WorkflowDescriptorModel argument instead

Constructor org.hippoecm.addon.workflow.StdWorkflow(String id, StringResourceModel name, IPluginContext, RenderPlugin) — use constructor with explicit org.hippoecm.addon.workflow.WorkflowDescriptorModel argument instead

Constructor org.hippoecm.addon.workflow.StdWorkflow(String id, StringResourceModel name, ResourceReference, IPluginContext, RenderPlugin) — use constructor with explicit org.hippoecm.addon.workflow.WorkflowDescriptorModel argument instead

Constructor org.hippoecm.addon.workflow.StdWorkflow(String id, String name, ResourceReference, IPluginContext, RenderPlugin) — use constructor with explicit org.hippoecm.addon.workflow.WorkflowDescriptorModel argument instead

Class  org.hippoecm.frontend.validation.SvgValidator — deprecated since 16.7; use com.bloomreach.cms.services.mediavalidation.svg.SvgValidationService instead

Class  org.hippoecm.frontend.validation.SvgValidationResult — deprecated since 16.7; use com.bloomreach.cms.services.mediavalidation.svg.SvgValidationResult instead

Constructor org.hippoecm.frontend.plugins.gallery.imageutil.ScalingParameters(int width, int height, boolean upscaling) — use org.hippoecm.frontend.plugins.gallery.imageutil.ScalingParameters.Builder instead

Constructor org.hippoecm.frontend.plugins.gallery.imageutil.ScalingParameters(int, int, boolean, ImageUtils.ScalingStrategy) — use org.hippoecm.frontend.plugins.gallery.imageutil.ScalingParameters.Builder instead

Constructor org.hippoecm.frontend.plugins.gallery.imageutil.ScalingParameters(int, int, boolean, ImageUtils.ScalingStrategy, float compressionQuality) — use org.hippoecm.frontend.plugins.gallery.imageutil.ScalingParameters.Builder instead

Constructor org.hippoecm.frontend.plugins.gallery.imageutil.ScalingParameters(int, int, boolean, boolean, ImageUtils.ScalingStrategy, float) — use org.hippoecm.frontend.plugins.gallery.imageutil.ScalingParameters.Builder instead

Method org.hippoecm.frontend.plugins.gallery.imageutil.ScalingParameters#getUpscaling() — use isUpscaling() instead

Method org.hippoecm.frontend.plugins.gallery.imageutil.ScalingParameters#getCompressionQuality() — use getLossyCompressionQuality() instead

Constructor org.hippoecm.frontend.plugins.gallery.imageutil.ScaleImageOperation(int, int, boolean) — use org.hippoecm.frontend.plugins.gallery.imageutil.ScalingParameters.Builder instead

Constructor org.hippoecm.frontend.plugins.gallery.imageutil.ScaleImageOperation(int, int, boolean, ImageUtils.ScalingStrategy) — use org.hippoecm.frontend.plugins.gallery.imageutil.ScalingParameters.Builder instead

Constructor org.hippoecm.frontend.plugins.gallery.imageutil.ScaleImageOperation(int, int, boolean, ImageUtils.ScalingStrategy, float) — use org.hippoecm.frontend.plugins.gallery.imageutil.ScalingParameters.Builder instead

Constructor org.hippoecm.frontend.plugins.gallery.imageutil.ScaleImageOperation(int, int, boolean, boolean, ImageUtils.ScalingStrategy, float) — use org.hippoecm.frontend.plugins.gallery.imageutil.ScalingParameters.Builder instead

Method org.hippoecm.frontend.plugins.gallery.imageutil.AbstractScaleImageOperation#getCompressionQualit y() — use org.hippoecm.frontend.plugins.gallery.imageutil.ScalingParameters#getLossyCompressionQuality() instead

Method org.hippoecm.frontend.plugins.gallery.imageutil.AbstractScaleImageOperation#getScaledData() — use org.hippoecm.frontend.plugins.gallery.imageutil.ImageOperationResult#getData() instead

Method org.hippoecm.frontend.plugins.gallery.imageutil.AbstractScaleImageOperation#getScaledWidth() — use org.hippoecm.frontend.plugins.gallery.imageutil.ImageOperationResult#getWidth() instead

Method org.hippoecm.frontend.plugins.gallery.imageutil.AbstractScaleImageOperation#getScaledHeight() — use org.hippoecm.frontend.plugins.gallery.imageutil.ImageOperationResult#getHeight() instead

Method org.hippoecm.frontend.plugins.gallery.imageutil.AbstractScaleImageOperation#calculateResizeRatio(double, double, int, int) — use org.hippoecm.frontend.plugins.gallery.imageutil.ImageUtils#determineResizeRatio(double, double, int, int) instead

Method org.hippoecm.frontend.plugins.gallery.imageutil.ImageUtils#writeImage(ImageWriter, BufferedImage) — use writeImage(ImageWriter, BufferedImage, float, float) instead

Method org.hippoecm.frontend.plugins.gallery.imageutil.ImageUtils#writeImage(ImageWriter, BufferedImage, float compressionQuality) — deprecated since 16.7.0; use writeImage(ImageWriter, BufferedImage, float, float) instead

Method org.hippoecm.frontend.plugins.gallery.imageutil.ImageUtils#scaleImage(BufferedImage, Rectangle, Dimension, Object hint, boolean) — use cropImage() + scaleImage(BufferedImage, int, int, ScalingStrategy) instead

Method org.hippoecm.frontend.plugins.gallery.imageutil.ImageUtils#scaleImage(BufferedImage, int xOff, int yOff, int srcW, int srcH, int tgtW, int tgtH, Object hint, boolean) — use cropImage() + scaleImage(BufferedImage, int, int, ScalingStrategy) instead

Method org.hippoecm.frontend.plugins.gallery.model.GalleryProcessor#isUpscalingEnabled(Node) — use org.hippoecm.frontend.plugins.gallery.imageutil.ScalingParameters#isUpscaling() instead

Method org.hippoecm.frontend.plugins.gallery.model.GalleryProcessor#getScalingParametersMap() — use getScalingParameters(Node) instead

Constructor org.hippoecm.frontend.plugins.jquery.upload.AbstractFileUploadWidget(String id, IPluginConfig, FileUploadValidationService) — use the 4-argument constructor including org.hippoecm.frontend.plugins.yui.upload.processor.FileUploadPreProcessorService instead

Constructor org.hippoecm.frontend.plugins.jquery.upload.single.SingleFileUploadWidget(String, IPluginConfig, FileUploadValidationService, boolean) — deprecated since 16.7; use the 5-argument constructor including org.hippoecm.frontend.plugins.yui.upload.processor.FileUploadPreProcessorService instead

Constructor org.hippoecm.frontend.plugins.standards.DocumentListFilter(DocumentListFilter parent, String state) — deprecated since 15.7.1; use org.hippoecm.frontend.plugins.standards.DocumentListFilter(IPluginConfig) instead

Method org.hippoecm.frontend.plugins.standards.DocumentListFilter#filter(Node current, NodeIterator) — deprecated since 15.7.1; use filter(NodeIterator) instead

Method org.hippoecm.frontend.model.PropertyValueProvider.EMPTY_DATE_VALUE — use org.onehippo.repository.util.DateConstants.EMPTY_DATE_VALUE instead

Method org.hippoecm.frontend.model.PropertyValueProvider.EMPTY_DATE — use org.onehippo.repository.util.DateConstants.EMPTY_DATE instead

CRISP Addon (community/crisp)

Class org.onehippo.cms7.crisp.core.resource.DefaultValueMap — deprecated; use org.onehippo.cms7.crisp.api.resource.DefaultValueMap instead

Method org.onehippo.cms7.crisp.api.exchange.ExchangeHint#getRequest() — use getRequestHeaders() and getRequestBody() instead

Method org.onehippo.cms7.crisp.api.exchange.ExchangeHintBuilder#request(Object) / #request() — use requestBody(Object) / requestHeaders(Map) instead

Method org.onehippo.cms7.crisp.hst.module.CrispHstServices.getModuleComponent(String name) — use getModuleComponent(HstServices.getComponentManager(), name) instead

Method org.onehippo.cms7.crisp.hst.module.CrispHstServices.getDefaultResourceServiceBroker() — use getDefaultResourceServiceBroker(HstServices.getComponentManager()) instead

Method org.onehippo.cms7.crisp.core.resource.FileBinary — deprecated; use org.onehippo.cms7.crisp.core.resource.SpringResourceBinary instead, e.g. new SpringResourceBinary(new FileSystemResource(file), true)

Essentials Components (community/essentials-components)

Class org.onehippo.cms7.essentials.components.utils.query.HstQueryBuilder — deprecated since 3.1.1; use org.hippoecm.hst.content.beans.query.builder.HstQueryBuilder instead

Class org.onehippo.cms7.essentials.components.utils.query.QueryBuilder — deprecated since 3.1.1; use org.hippoecm.hst.content.beans.query.builder.HstQueryBuilder instead

Method org.onehippo.cms7.essentials.components.utils.ComponentsUtils#getPublicRequestParameters(BaseHst Component, HstRequest, String) — use BaseHstComponent#getPublicRequestParameters(HstRequest, String) instead

Method org.onehippo.cms7.essentials.components.EssentialsCarouselComponent#getCarouselItems(EssentialsC arouselComponentInfo) — use getCarouselItems(List) instead

Repository (community/repository)

Class org.hippoecm.repository.Log4j1LoggerLevelManager — deprecated; Log4j 1.x no longer supported, use Log4j 2

Method org.onehippo.repository.events.HippoWorkflowEvent#methodName() / #methodName(String) — use action() / action(String) instead

Method org.onehippo.repository.events.HippoWorkflowEvent#handleUuid() / #handleUuid(String) — use subjectId() / subjectId(String) instead

Method org.onehippo.repository.events.HippoWorkflowEvent#documentPath() / #documentPath(String) — use subjectPath() / subjectPath(String) instead

Method org.hippoecm.repository.util.DateTools#getSupportedDateResolutions() — use getSupportedResolutions() instead

Method org.onehippo.repository.scheduling.RepositoryJobExecutionContext#getSession(Credentials) — use createSession(Credentials) instead

Method org.onehippo.repository.scheduling.RepositoryJobExecutionContext#getSystemSession() — use createSystemSession() instead

Method org.hippoecm.repository.standardworkflow.FolderWorkflow#list() — use hints().get("prototypes") instead

Method org.onehippo.repository.documentworkflow.DocumentWorkflow#requestPublication(Date publicationDate, Date depublicationDate) — use requestPublicationDepublication(Date, Date) instead

Method org.hippoecm.repository.PasswordHelper#getHashingAlogrithm() — typo variant; use getHashingAlgorithm() instead

Method org.hippoecm.repository.PasswordHelper#setHashingAlogrithm(String) — typo variant; use setHashingAlgorithm(String) instead

Method org.hippoecm.repository.gallery.GalleryWorkflow#createGalleryItem(String, String);  — deprecated since 5.0 (CMS 12.0); use org.hippoecm.repository.gallery.GalleryWorkflow#createGalleryItem(String, String, String) instead

Constructor org.hippoecm.repository.gallery.impl.GalleryWorkflowImpl(Session, Session, Node) — deprecated since 16.9.0; use GalleryWorkflowImpl(WorkflowContext, Session, Session, Node) instead

Method org.onehippo.repository.mock.MockNode#addMockNode(String, String) — use addNode(String, String) instead

Constructor org.onehippo.repository.mock.MockPropertyDefinition(String, boolean) — use MockPropertyDefinition(String, int, boolean) instead

Method org.hippoecm.repository.query.lucene.ServicingIndexingConfiguration#getSkipIndexName() — deprecated since 13.0.0; feature no longer used, no replacement

Member org.hippoecm.repository.query.lucene.StandardHippoAnalyzer.CJK_STOP_WORDS — deprecated since 5.0 (CMS 12.0); locale-specific stop words no longer provided in public API

Member org.hippoecm.repository.query.lucene.StandardHippoAnalyzer.SPANISH_STOP_WORDS — deprecated since 5.0 (CMS 12.0); locale-specific stop words no longer provided in public API

Search Service (community/search-service)

Class org.onehippo.cms7.services.search.query.constraint.SubQueryConstraint — deprecated since 16.5.0; use org.onehippo.cms7.services.search.query.constraint.AppendQueryConstraint or org.onehippo.cms7.services.search.query.constraint.PrependQueryConstraint instead

Method org.onehippo.cms7.services.search.query.Query#returnSubquery(String subqueryFilter) — deprecated since 16.5.0; use returnPrependQuery(String) or returnAppendQuery(String) instead

Selections Addon (community/selections)

Method org.onehippo.forge.selection.frontend.provider.IValueListProvider#getValueList(IPluginConfig) — use getValueList(String, Locale) instead

Method org.onehippo.forge.selection.frontend.provider.IValueListProvider#getValueList(String name) — use getValueList(String, Locale) instead

Services API (community/services-api)

Class org.onehippo.cms7.services.googleanalytics.GoogleAnalyticsService — deprecated; Google Universal Analytics is decommissioned, migrate to GA4

Method org.onehippo.cms7.services.HippoServiceRegistry.registerService(T, Class<T>) — deprecated since v13.0; use register(T, Class<T>) instead

Method org.onehippo.cms7.services.HippoServiceRegistry.unregisterService(T, Class<T>) — deprecated since v13.0; use unregister(T, Class<T>) instead

Method org.onehippo.cms7.services.project.Project#getLastModificationDate() / #setLastModificationDate(long) — use getLastModifiedAt() instead

Method org.onehippo.cms7.services.project.Project#getStartRunningAt() / #setStartRunningAt(Long) — use getStartRunningFrom() / setStartRunningFrom(Calendar) instead

Method org.onehippo.cms7.services.project.Project#getStopRunningAt() / #setStopRunningAt(Long) — use getStopRunningAfter() / setStopRunningAfter(Calendar) instead

HST API (community/site-toolkit)

Class org.hippoecm.hst.core.jcr.RuntimeRepositoryException — deprecated; use org.hippoecm.repository.api.RuntimeRepositoryException instead

Class org.hippoecm.hst.environment.EnvironmentParameters — deprecated since 13.3.0; no replacement

Class org.hippoecm.hst.platform.configuration.environment.EnvironmentUtils — deprecated since 13.3.0; no replacement

Class org.hippoecm.hst.platform.configuration.environment.HostConfigListener — deprecated since 13.3.0; no replacement

Class org.hippoecm.hst.platform.configuration.environment.HostConfigPublisher — deprecated since 13.3.0; no replacement

Class org.hippoecm.hst.platform.configuration.environment.OptionalEnvironmentEventListenerItemImpl — deprecated since 13.3.0; no replacement

Method org.hippoecm.hst.core.sitemapitemhandler.HstSiteMapItemHandler#destroy() — deprecated since 13.0.0; not invoked anymore, no replacement needed

Method org.hippoecm.hst.core.sitemapitemhandler.AbstractHstSiteMapItemHandler#destroy() — deprecated since 13.0.0; not invoked anymore, no replacement needed

Method org.hippoecm.hst.core.jcr.SessionSecurityDelegation#getOrCreateLiveSecurityDelegate(Credentials, String key) — deprecated since 13.0.1; use createLiveSecurityDelegate(Credentials, boolean) instead

Method org.hippoecm.hst.core.jcr.SessionSecurityDelegation#getOrCreatePreviewSecurityDelegate(Credentials, String key) — deprecated since 13.0.1; use createPreviewSecurityDelegate(Credentials, boolean) instead

Method org.hippoecm.hst.pagecomposer.jaxrs.api.PageCopyEvent#getPageCopyContext() — use getPageActionContext() instead

Member org.hippoecm.hst.core.channelmanager.ChannelManagerConstants.HST_PAGE_EDITABLE — deprecated since 14.x Experience Pages; no replacement

Method org.hippoecm.hst.core.parameters.@Parameter#description() annotation element — value was never used; configure hints in the ParametersInfo class resource bundle instead

Method org.hippoecm.hst.servlet.utils.HeaderUtils#setExpiresHeaders(HttpServletResponse, BinaryPage) — use setExpiresHeaders(HttpServletResponse, BinaryPage, long) instead

Taxonomy (community/taxonomy)

Constructor org.onehippo.taxonomy.plugin.model.JcrCategoryInfo(IModel<Node> categoryInfoModel, boolean editable) — deprecated; use the no-argument or other available constructor instead

Utilities (community/utilities)

Class org.hippoecm.hst.servlet.ResourceServlet — deprecated; use org.onehippo.cms7.utilities.servlet.ResourceServlet instead

Enterprise module

Reporting Dashboard (enterprise/reporting-dashboard)

Constructor com.onehippo.cms7.reports.plugins.chart.AbstractChartStore(Component component) — deprecated; use the constructor that also takes a report name instead

Advanced Search (enterprise/advanced-search)

Constructor com.onehippo.cms7.search.frontend.engine.model.QueryResultModel(IModel<Query> queryModel) — deprecated; does not include a limit parameter; use the other constructor instead 

Enterprise Services API (enterprise/services-api)

Class com.onehippo.cms7.services.wpm.project.Project — deprecated since 16.3.0; use org.onehippo.cms7.services.project.Project instead

Class com.onehippo.cms7.services.wpm.project.ProjectService — deprecated since 16.3.0; use org.onehippo.cms7.services.project.ProjectService instead

Class com.onehippo.cms7.services.wpm.project.ProjectState — deprecated since 16.3.0; use org.onehippo.cms7.services.project.ProjectState instead

Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?