Skip to content

Latest commit

 

History

History
84 lines (74 loc) · 21.8 KB

incompatibilities-3-1-rc.md

File metadata and controls

84 lines (74 loc) · 21.8 KB

AlternativeCheckoutBundle

  • The OroAlternativeCheckoutBundle::build[?] method was removed.

CheckoutBundle

  • The OrderMapper::__construct(EntityFieldProvider $entityFieldProvider, PropertyAccessorInterface $propertyAccessor, PaymentTermAssociationProvider $paymentTermAssociationProvider)[?] method was changed to OrderMapper::__construct(FieldHelper $entityFieldHelper, PropertyAccessorInterface $propertyAccessor, PaymentTermAssociationProvider $paymentTermAssociationProvider)[?]
  • The CheckoutPaymentContextProvider::__construct(CheckoutPaymentContextFactory $paymentContextFactory)[?] method was changed to CheckoutPaymentContextProvider::__construct(CheckoutPaymentContextFactory $paymentContextFactory, CacheProvider $cacheProvider)[?]
  • The CheckoutShippingContextProvider::__construct(CheckoutShippingContextFactory $shippingContextFactory)[?] method was changed to CheckoutShippingContextProvider::__construct(CheckoutShippingContextFactory $shippingContextFactory, CacheProvider $cacheProvider)[?]
  • The CheckoutLineItemsDataProvider::__construct(FrontendProductPricesDataProvider $frontendProductPricesDataProvider, ManagerRegistry $registry)[?] method was changed to CheckoutLineItemsDataProvider::__construct(FrontendProductPricesDataProvider $frontendProductPricesDataProvider, AuthorizationCheckerInterface $authorizationChecker, CacheProvider $productAvailabilityCache)[?]
  • The CheckoutToOrderConverter::__construct(CheckoutLineItemsManager $checkoutLineItemsManager, MapperInterface $mapper)[?] method was changed to CheckoutToOrderConverter::__construct(CheckoutLineItemsManager $checkoutLineItemsManager, MapperInterface $mapper, CacheProvider $orderCache)[?]
  • The following methods in class CheckoutAddressType[?] were removed:
    • initCustomerAddressField[?]
    • getSelectedAddress[?]
    • getSelectedAddressKey[?]
  • The CheckoutLineItemsConverter::__construct[?] method was removed.
  • The CheckoutLineItemsDataProvider::$registry[?] property was removed.
  • The CheckoutLineItemsConverter::$propertyAccessor[?] property was removed.

OrderBundle

  • The AbstractOrderAddressType[?] class was removed.
  • The OrderAddressType::initCustomerAddressField[?] method was removed.

PaymentBundle

  • The PaymentTransactionProvider::getLoggedCustomerUser[?] method was removed.
  • The PaymentTransactionProvider::__construct(DoctrineHelper $doctrineHelper, TokenStorageInterface $tokenStorage, EventDispatcherInterface $dispatcher, $paymentTransactionClass)[?] method was changed to PaymentTransactionProvider::__construct(DoctrineHelper $doctrineHelper, CustomerUserProvider $customerUserProvider, EventDispatcherInterface $dispatcher, $paymentTransactionClass)[?]
  • The PaymentMethodViewsProvider::__construct(PaymentMethodViewProviderInterface $paymentMethodViewProvider, PaymentMethodProvider $paymentMethodProvider, PaymentTransactionProvider $transactionProvider)[?] method was changed to PaymentMethodViewsProvider::__construct(PaymentMethodViewProviderInterface $paymentMethodViewProvider, PaymentMethodProvider $paymentMethodProvider, PaymentTransactionProvider $transactionProvider, CacheProvider $cacheProvider)[?]
  • The PaymentTransactionProvider::$tokenStorage[?] property was removed.

PricingBundle

  • The following methods in class LineItemNotPricedSubtotalProvider[?] were removed:
    • setProductClass[?]
    • setProductUnitClass[?]
    • getEntityReference[?]
    • getManagerForClass[?]
  • The LineItemNotPricedSubtotalProvider::__construct(TranslatorInterface $translator, RoundingServiceInterface $rounding, ProductPriceProvider $productPriceProvider, DoctrineHelper $doctrineHelper, PriceListTreeHandler $priceListTreeHandler, SubtotalProviderConstructorArguments $arguments)[?] method was changed to LineItemNotPricedSubtotalProvider::__construct(TranslatorInterface $translator, RoundingServiceInterface $rounding, ProductPriceProvider $productPriceProvider, PriceListTreeHandler $priceListTreeHandler, SubtotalProviderConstructorArguments $arguments)[?]
  • The LineItemNotPricedSubtotalProvider::$doctrineHelper[?] property was removed.

ProductBundle

  • The EnumValueForProductExtension[?] class was removed.
  • The VirtualFieldsProductDecorator::__construct(EntityFieldProvider $provider, VirtualFieldsSelectQueryConverter $converter, ManagerRegistry $doctrine, FieldHelper $fieldHelper, array $products, Product $product)[?] method was changed to VirtualFieldsProductDecorator::__construct(VirtualFieldsSelectQueryConverter $converter, ManagerRegistry $doctrine, FieldHelper $fieldHelper, CacheProvider $cacheProvider, array $products, Product $product)[?]
  • The VirtualFieldsProductDecoratorFactory::__construct(EntityFieldProvider $entityFieldProvider, VirtualFieldsSelectQueryConverter $converter, ManagerRegistry $doctrine, FieldHelper $fieldHelper)[?] method was changed to VirtualFieldsProductDecoratorFactory::__construct(VirtualFieldsSelectQueryConverter $converter, ManagerRegistry $doctrine, FieldHelper $fieldHelper, CacheProvider $cacheProvider)[?]
  • The ProductVisibilityLimitedSearchHandler::__construct($entityName, array $properties, RequestStack $requestStack, ProductManager $productManager)[?] method was changed to ProductVisibilityLimitedSearchHandler::__construct($entityName, RequestStack $requestStack, ProductManager $productManager, LocalizationHelper $localizationHelper)[?]
  • The VirtualFieldsProductDecorator::$provider[?] property was removed.
  • The ProductRepository::findParentSkusByAttributeValue[?] method was removed.
  • The following methods in class ProductVisibilityLimitedSearchHandler[?] were removed:
    • getProperties[?]
    • getSelectedData[?]

PromotionBundle

  • The MatchingProductsProvider::__construct(SegmentManager $segmentManager)[?] method was changed to MatchingProductsProvider::__construct(SegmentManager $segmentManager, CacheProvider $matchingProductsCache)[?]

SaleBundle

  • The NotificationHelper::__construct(ManagerRegistry $registry, EmailModelBuilder $emailModelBuilder, Processor $emailProcessor)[?] method was changed to NotificationHelper::__construct(ManagerRegistry $registry, EmailModelBuilder $emailModelBuilder, Processor $emailProcessor, FeatureChecker $featureChecker)[?]
  • The AjaxQuoteProductController::matchQuoteProductOfferAction(QuoteProduct $quoteProduct, Request $request)[?] method was changed to AjaxQuoteProductController::matchQuoteProductOfferAction(QuoteProduct $quoteProduct, QuoteDemand $quoteDemand, Request $request)[?]

ShoppingListBundle

  • The ShoppingListManager::__construct(ManagerRegistry $doctrine, TokenAccessorInterface $tokenAccessor, TranslatorInterface $translator, QuantityRoundingService $rounding, WebsiteManager $websiteManager, ShoppingListTotalManager $totalManager, ProductVariantAvailabilityProvider $productVariantProvider)[?] method was changed to ShoppingListManager::__construct(ManagerRegistry $doctrine, TokenAccessorInterface $tokenAccessor, TranslatorInterface $translator, QuantityRoundingService $rounding, WebsiteManager $websiteManager, ShoppingListTotalManager $totalManager, ProductVariantAvailabilityProvider $productVariantProvider, ProductMatrixAvailabilityProvider $productMatrixAvailabilityProvider, ConfigManager $configManager)[?]
  • The following methods in class LineItemValidateEvent[?] were removed:

TaxBundle

  • The TaxationSettingsProvider::__construct(ConfigManager $configManager, TaxBaseExclusionFactory $taxBaseExclusionFactory, AddressModelFactory $addressModelFactory)[?] method was changed to TaxationSettingsProvider::__construct(ConfigManager $configManager, TaxBaseExclusionFactory $taxBaseExclusionFactory, AddressModelFactory $addressModelFactory, CacheProvider $cacheProvider)[?]
  • The TaxManager::__construct(TaxFactory $taxFactory, TaxEventDispatcher $eventDispatcher, TaxValueManager $taxValueManager, TaxationSettingsProvider $settingsProvider)[?] method was changed to TaxManager::__construct(TaxFactory $taxFactory, TaxEventDispatcher $eventDispatcher, TaxValueManager $taxValueManager, TaxationSettingsProvider $settingsProvider, CacheProvider $cacheProvider)[?]