Skip to content

Latest commit

 

History

History
339 lines (296 loc) · 66.5 KB

incompatibilities-2-6.md

File metadata and controls

339 lines (296 loc) · 66.5 KB

Action

  • The FlashMessage::__construct(ContextAccessor $contextAccessor, TranslatorInterface $translator)[?] method was changed to FlashMessage::__construct(ContextAccessor $contextAccessor, TranslatorInterface $translator, HtmlTagHelper $htmlTagHelper)[?]

ActivityListBundle

  • The ActivityListChainProvider::__construct(DoctrineHelper $doctrineHelper, ConfigManager $configManager, TranslatorInterface $translator, EntityRoutingHelper $routingHelper)[?] method was changed to ActivityListChainProvider::__construct(DoctrineHelper $doctrineHelper, ConfigManager $configManager, TranslatorInterface $translator, EntityRoutingHelper $routingHelper, TokenAccessorInterface $tokenAccessor)[?]

ApiBundle

  • The following classes were removed:
    • ValidateNormalizedResultExists[?]
    • ValidateDeletionResult[?]
    • ValidateLoadedResult[?]
    • ApiExceptionListener[?]
    • ApiSecurityFirewallCompilerPass[?]
  • The ParentEntityObjectSecurityCheck::__construct(DoctrineHelper $doctrineHelper, AuthorizationCheckerInterface $authorizationChecker, $permission)[?] method was changed to ParentEntityObjectSecurityCheck::__construct(AuthorizationCheckerInterface $authorizationChecker, $permission)[?]
  • The SetTotalCountHeader::__construct(CountQueryBuilderOptimizer $countQueryOptimizer)[?] method was changed to SetTotalCountHeader::__construct(CountQueryBuilderOptimizer $countQueryOptimizer, QueryHintResolverInterface $queryHintResolver)[?]
  • The ParentEntityObjectSecurityCheck::$doctrineHelper[?] property was removed.

AttachmentBundle

  • The following methods in class FileListener[?] were changed:

    • prePersist(LifecycleEventArgs $args)[?]
    • prePersist(File $entity, LifecycleEventArgs $args)[?]
    • preUpdate(LifecycleEventArgs $args)[?]
    • preUpdate(File $entity, LifecycleEventArgs $args)[?]
    • postPersist(LifecycleEventArgs $args)[?]
    • postPersist(File $entity, LifecycleEventArgs $args)[?]
    • postUpdate(LifecycleEventArgs $args)[?]
    • postUpdate(File $entity, LifecycleEventArgs $args)[?]

CommentBundle

  • The CommentLifecycleListener::isCommentEntity[?] method was removed.
  • The CommentLifecycleListener::preUpdate(LifecycleEventArgs $args)[?] method was changed to CommentLifecycleListener::preUpdate(Comment $entity, LifecycleEventArgs $args)[?]

ConfigBundle

  • The AbstractProvider::__construct(ConfigBag $configBag, TranslatorInterface $translator, FormFactoryInterface $factory, AuthorizationCheckerInterface $authorizationChecker)[?] method was changed to AbstractProvider::__construct(ConfigBag $configBag, TranslatorInterface $translator, FormFactoryInterface $factory, AuthorizationCheckerInterface $authorizationChecker, ChainSearchProvider $searchProvider)[?]
  • The AbstractProvider::buildJsTree($nodes, $correctMenuLevel, $level, $parentName, $groupedData = [])[?] method was changed to AbstractProvider::buildJsTree($nodes, $correctMenuLevel, $level, $parentName, array $groupedData = [])[?]

CurrencyBundle

  • The SetPriceByValueAndCurrencyProcessor[?] class was removed.

DataAuditBundle

  • The SegmentWidgetOptionsListener::setRequest[?] method was removed.
  • The SegmentWidgetOptionsListener::getAuditFields[?] method was removed.
  • The SegmentWidgetOptionsListener::__construct(HttpKernelInterface $httpKernel, AuthorizationCheckerInterface $authorizationChecker, ContextChecker $contextChecker)[?] method was changed to SegmentWidgetOptionsListener::__construct(AuthorizationCheckerInterface $authorizationChecker, ContextChecker $contextChecker)[?]
  • The following properties in class SegmentWidgetOptionsListener[?] were removed:

DataGridBundle

  • The MassActionExtension::__construct(MassActionFactory $actionFactory, MassActionMetadataFactory $actionMetadataFactory, AuthorizationCheckerInterface $authorizationChecker)[?] method was changed to MassActionExtension::__construct(MassActionFactory $actionFactory, MassActionMetadataFactory $actionMetadataFactory, AuthorizationCheckerInterface $authorizationChecker, CsrfTokenManagerInterface $tokenManager)[?]
  • The ContainerListener::__construct(ConfigurationProvider $provider, ConfigMetadataDumperInterface $dumper)[?] method was changed to ContainerListener::__construct(ConfigMetadataDumperInterface $dumper, ContainerInterface $container)[?]
  • The ContainerListener::$confProvider[?] property was removed.

EmailBundle

  • The AutoResponseRuleType::setDefaultOptions[?] method was removed.
  • The following methods in class EmailAssociationsDemoDataFixturesListener[?] were removed:
  • The EmailAssociationsDemoDataFixturesListener::__construct(OptionalListenerManager $listenerManager, MessageProducerInterface $messageProducer)[?] method was changed to EmailAssociationsDemoDataFixturesListener::__construct(OptionalListenerManager $listenerManager, AssociationManager $associationManager)[?]
  • The EmailEntityBuilder::__construct(EmailEntityBatchProcessor $batch, EmailAddressManager $emailAddressManager, EmailAddressHelper $emailAddressHelper)[?] method was changed to EmailEntityBuilder::__construct(EmailEntityBatchProcessor $batch, EmailAddressManager $emailAddressManager, EmailAddressHelper $emailAddressHelper, ManagerRegistry $doctrine)[?]

EntityBundle

  • The following classes were removed:
    • QueryHintResolver[?]
    • InvalidIncludedFallbackItemException[?]
    • EntityFallbackValidateProcessor[?]
  • The DictionaryEntityRouteOptionsResolver::__construct(ChainDictionaryValueListProvider $dictionaryProvider, EntityAliasResolver $entityAliasResolver, EntityClassNameHelper $entityClassNameHelper)[?] method was changed to DictionaryEntityRouteOptionsResolver::__construct(ChainDictionaryValueListProvider $dictionaryProvider, EntityAliasResolver $entityAliasResolver, LoggerInterface $logger)[?]
  • The EntityFallbackResolver::__construct(ConfigProvider $entityConfigProvider, SystemConfigurationFormProvider $formProvider, ConfigManager $configManager, ConfigBag $configBag)[?] method was changed to EntityFallbackResolver::__construct(ConfigProvider $entityConfigProvider, SystemConfigurationFormProvider $formProvider, ConfigManager $configManager, ConfigBag $configBag, DoctrineHelper $doctrineHelper)[?]
  • The DictionaryEntityRouteOptionsResolver::$entityClassNameHelper[?] property was removed.
  • The following properties in class ModifyCreatedAndUpdatedPropertiesListener[?] were removed:
    • $metadataCache[?]
    • $entityManager[?]
  • The following methods in class OroClassMetadataFactory[?] were removed:
    • isDisconected[?]
    • setDisconected[?]
  • The ModifyCreatedAndUpdatedPropertiesListener::getMetadataForEntity[?] method was removed.
  • The ModifyCreatedAndUpdatedPropertiesListener::updateChangeSets($entity)[?] method was changed to ModifyCreatedAndUpdatedPropertiesListener::updateChangeSets($entity, EntityManager $em, UnitOfWork $uow)[?]
  • The EntityFallbackProviderInterface::getFallbackEntityClass[?] interface method was added.

EntityConfigBundle

  • The RemoveRelationQuery::__construct[?] method was removed.
  • The RemoveRelationQuery::executeQuery[?] method was removed.
  • The RemoveRelationQuery::updateEntityData(LoggerInterface $logger, $targetClass, $data)[?] method was changed to RemoveRelationQuery::updateEntityData(LoggerInterface $logger, $entityData, $entityClass, $fieldName, $relationKey)[?]
  • The following properties in class RemoveRelationQuery[?] were removed:
    • $entityClass[?]
    • $associationName[?]

EntityExtendBundle

  • The ExtendHelper::convertName[?] method was removed.
  • The DoctrineListener::__construct(ServiceLink $metadataBuilderLink, MultiEnumManager $multiEnumManager, Reader $reader)[?] method was changed to DoctrineListener::__construct(ServiceLink $metadataBuilderLink, MultiEnumManager $multiEnumManager, Reader $reader, ConfigProvider $extendConfigProvider)[?]

FilterBundle

  • The following classes were removed:
    • DateGroupingFilterType[?]
    • SkipEmptyPeriodsFilterType[?]
  • The following methods in class DateGroupingFilter[?] were removed:
    • setEntityManager[?]
    • addSpecificEmptyDateQuery[?]
    • resolveExclusionCriteria[?]
    • generateFirstMonthOfQuarters[?]
  • The following methods in class DateGroupingFilter[?] were removed:
    • getFormType[?]
    • handleCalendarDateSelect[?]
  • The following methods in class SkipEmptyPeriodsFilter[?] were removed:
  • The following properties in class DateGroupingFilter[?] were removed:
    • $groupingNames[?]
    • $entityManager[?]
    • $config[?]
    • $exclusionCriteria[?]
    • $specificDateExpressions[?]
  • The SkipEmptyPeriodsFilter::$config[?] property was removed.

ImapBundle

  • The ImapClearManager::__construct(EntityManager $em, OptionalListenerInterface $listener)[?] method was changed to ImapClearManager::__construct(RegistryInterface $registry, OptionalListenerInterface $listener)[?]
  • The UserEmailOriginListener::prePersist(LifecycleEventArgs $event)[?] method was changed to UserEmailOriginListener::prePersist(UserEmailOrigin $origin, LifecycleEventArgs $args)[?]
  • The ImapClearManager::$em[?] property was removed.

ImportExportBundle

  • The following methods in class ImportType[?] were changed:

    • getImportProcessorsChoices($entityName)[?]
    • getImportProcessorsChoices(string $entityName)[?]
    • generateProcessorLabel($alias)[?]
    • generateProcessorLabel(string $alias)[?]

InstallerBundle

  • The following methods in class InstallCommand[?] were removed:

IntegrationBundle

  • The SoapClient[?] class was removed.

LayoutBundle

  • The ContainerListener::__construct(ResourceProviderInterface $provider, ConfigMetadataDumperInterface $dumper)[?] method was changed to ContainerListener::__construct(ConfigMetadataDumperInterface $dumper, ContainerInterface $container)[?]
  • The ContainerListener::$provider[?] property was removed.

MessageQueue

  • The RootJobProgressCalculator[?] class was removed.
  • The CalculateRootJobProgressProcessor::__construct(JobStorage $jobStorage, RootJobProgressCalculator $rootJobProgressCalculator, MessageProducerInterface $producer, LoggerInterface $logger)[?] method was changed to CalculateRootJobProgressProcessor::__construct(JobStorage $jobStorage, LoggerInterface $logger)[?]
  • The RootJobStatusCalculator::__construct(JobStorage $jobStorage)[?] method was changed to RootJobStatusCalculator::__construct(JobStorage $jobStorage, JobStatusChecker $jobStatusChecker, StatusCalculatorResolver $statusCalculatorResolver)[?]
  • The Job::$activeStatuses[?] property was removed.
  • The JobProcessor::sendRecalculateJobProgressMessage[?] method was removed.
  • The following methods in class RootJobStatusCalculator[?] were removed:
    • calculateRootJobStatus[?]
    • getRootJobStatus[?]

MessageQueueBundle

  • The StateDriverInterface::setChangeStateDateWithTimeGap[?] interface method was added.

NavigationBundle

  • The following methods in class AclAwareMenuFactoryExtension[?] were removed:
    • setCache[?]
    • setLogger[?]
    • setHideAllForNotLoggedInUsers[?]
  • The following methods in class AbstractNavigationHistoryItem[?] were removed:
  • The following methods in class AbstractNavigationItem[?] were removed:
    • setUrl[?]
    • getUrl[?]
    • setCreatedAt[?]
    • getCreatedAt[?]
    • setUpdatedAt[?]
    • getUpdatedAt[?]
    • setOrganization[?]
    • getOrganization[?]
  • The following methods in class AclAwareMenuFactoryExtension[?] were removed:
    • processAcl[?]
    • processRoute[?]
    • getRouteInfoByRouteName[?]
    • getRouteInfoByUri[?]
    • getCacheKey[?]
  • The ResponseHistoryListener::prepareUrl[?] method was removed.
  • The AclAwareMenuFactoryExtension::__construct(RouterInterface $router, AuthorizationCheckerInterface $authorizationChecker, ClassAuthorizationChecker $classAuthorizationChecker, TokenAccessorInterface $tokenAccessor)[?] method was changed to AclAwareMenuFactoryExtension::__construct(Router $router, AuthorizationCheckerInterface $authorizationChecker, ClassAuthorizationChecker $classAuthorizationChecker, TokenAccessorInterface $tokenAccessor, LoggerInterface $logger)[?]
  • The ContainerListener::__construct(ConfigurationProvider $configurationProvider, ConfigMetadataDumperInterface $dumper)[?] method was changed to ContainerListener::__construct(ConfigMetadataDumperInterface $dumper, ContainerInterface $container)[?]
  • The following properties in class AclAwareMenuFactoryExtension[?] were removed:
    • $aclCache[?]
    • $hideAllForNotLoggedInUsers[?]
  • The following properties in class AbstractNavigationHistoryItem[?] were removed:
  • The following properties in class AbstractNavigationItem[?] were removed:

NotificationBundle

  • The EmailNotificationType::__construct(BuildTemplateFormSubscriber $buildTemplateSubscriber, AdditionalEmailsSubscriber $additionalEmailsSubscriber, ConfigProvider $ownershipConfigProvider, RouterInterface $router)[?] method was changed to EmailNotificationType::__construct(BuildTemplateFormSubscriber $buildTemplateSubscriber, AdditionalEmailsSubscriber $additionalEmailsSubscriber, RouterInterface $router, ContactInformationEmailsSubscriber $contactInformationEmailsSubscriber)[?]
  • The EmailNotificationAdapter::__construct($entity, EmailNotification $notification, EntityManager $em, ConfigProvider $configProvider, PropertyAccessor $propertyAccessor)[?] method was changed to EmailNotificationAdapter::__construct($entity, EmailNotification $notification, EntityManager $em, PropertyAccessor $propertyAccessor)[?]
  • The EmailNotificationHandler::__construct(EmailNotificationManager $manager, EntityManager $em, ConfigProvider $configProvider, PropertyAccessor $propertyAccessor)[?] method was changed to EmailNotificationHandler::__construct(EmailNotificationManager $manager, EntityManager $em, PropertyAccessor $propertyAccessor)[?]
  • The RecipientListRepository::getRecipientEmails(RecipientList $recipientList, $entity, $ownerPropertyName = null)[?] method was changed to RecipientListRepository::getRecipientEmails(RecipientList $recipientList)[?]
  • The EmailNotificationType::$ownershipConfigProvider[?] property was removed.
  • The EmailNotificationAdapter::$configProvider[?] property was removed.
  • The EmailNotificationHandler::$configProvider[?] property was removed.
  • The RecipientList::$owner[?] property was removed.
  • The following methods in class RecipientList[?] were removed:
  • The RecipientListRepository::addOwnerEmails[?] method was removed.

PlatformBundle

  • The OptionalListenersListener[?] class was removed.
  • The following methods in class LazyServicesCompilerPass[?] were removed:
    • setLazyServicesByConfig[?]
    • setLazyPrivateServicesByTag[?]
  • The LazyServicesCompilerPass::$lazyServicesTags[?] property was removed.

QueryDesignerBundle

  • The ColumnType::setDefaultOptions[?] method was removed.
  • The DateFieldChoiceType::buildView[?] method was removed.
  • The FieldChoiceType::setDefaultOptions[?] method was removed.
  • The FunctionChoiceType::setDefaultOptions[?] method was removed.

ReportBundle

  • The DatagridDateGroupingBuilder::changeGroupBySection[?] method was removed.
  • The DatagridDateGroupingBuilder::__construct($calendarDateEntity, $joinIdHelper = null)[?] method was changed to DatagridDateGroupingBuilder::__construct($calendarDateEntity, JoinIdentifierHelper $joinIdHelper = null)[?]
  • The ReportDatagridConfigurationProvider::__construct(ReportDatagridConfigurationBuilder $builder, ManagerRegistry $doctrine, Cache $reportCacheManager, $prefixCacheKey)[?] method was changed to ReportDatagridConfigurationProvider::__construct(ReportDatagridConfigurationBuilder $builder, ManagerRegistry $doctrine, Cache $reportCacheManager, SystemAwareResolver $resolver, $prefixCacheKey)[?]
  • The ReportCacheCleanerListener::postUpdate(LifecycleEventArgs $args)[?] method was changed to ReportCacheCleanerListener::postUpdate(Report $entity, LifecycleEventArgs $args)[?]
  • The ReportType::setDefaultOptions[?] method was removed.

SSOBundle

  • The UserEmailChangeListener::preUpdate(PreUpdateEventArgs $args)[?] method was changed to UserEmailChangeListener::preUpdate(User $user, PreUpdateEventArgs $args)[?]

SecurityBundle

  • The following classes were removed:
    • ConsoleContextListener[?]
    • Entry[?]
  • The OroSecurityBundle::__construct[?] method was removed.
  • The AclListener::getConfigMetadataDumper[?] method was removed.
  • The AclListener::__construct(ContainerInterface $container)[?] method was changed to AclListener::__construct(ConfigMetadataDumperInterface $dumper, ContainerInterface $container)[?]
  • The AbstractAccessLevelAclExtension::isAccessDeniedByOrganizationContext($object, OrganizationContextTokenInterface $securityToken)[?] method was changed to AbstractAccessLevelAclExtension::isAccessDeniedByOrganizationContext($object, OrganizationContextTokenInterface $securityToken, $accessLevel)[?]

SegmentBundle

  • The SegmentType::setDefaultOptions[?] method was removed.

SidebarBundle

  • The RequestHandler[?] class was removed.
  • The WidgetDefinitionRegistry::$widgetDefinitions[?] property was removed.

SyncBundle

  • The ClientPing::__construct(TopicPublisher $publisher, LoggerInterface $logger)[?] method was changed to ClientPing::__construct(AuthenticationTopicHandler $topicHandler, LoggerInterface $logger)[?]
  • The ClientPing::$publisher[?] property was removed.

WorkflowBundle

  • The WorkflowChangesEventsCompilerPass[?] class was removed.

  • The following methods in class ProcessDataSerializeListener[?] were changed:

    • __construct(SerializerInterface $serializer)[?]
    • __construct(ServiceLink $serializerLink)[?]
    • postLoad(LifecycleEventArgs $args)[?]
    • postLoad(ProcessJob $entity, LifecycleEventArgs $args)[?]
  • The following methods in class WorkflowDataSerializeListener[?] were changed:

    • __construct(WorkflowAwareSerializer $serializer, DoctrineHelper $doctrineHelper)[?]
    • __construct(ServiceLink $serializerLink, DoctrineHelper $doctrineHelper)[?]
    • postLoad(LifecycleEventArgs $args)[?]
    • postLoad(WorkflowItem $entity, LifecycleEventArgs $args)[?]
  • The WorkflowItemListener::postPersist(LifecycleEventArgs $args)[?] method was changed to WorkflowItemListener::postPersist(WorkflowItem $workflowItem, LifecycleEventArgs $args)[?]

  • The WorkflowTransitionRecordListener::postPersist(LifecycleEventArgs $args)[?] method was changed to WorkflowTransitionRecordListener::postPersist(WorkflowTransitionRecord $transitionRecord, LifecycleEventArgs $args)[?]

  • The ProcessDataSerializeListener::$serializer[?] property was removed.

  • The WorkflowDataSerializeListener::$serializer[?] property was removed.