Skip to content

Inheriting from a class that doesn't exist #33334

Closed
@Qikerz

Description

@Qikerz

https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/Bundle/Pricing/Price/ConfiguredPrice.php#L151

Preconditions:
Install Magento 2.4-develop

Steps to reproduce :

  1. Open file magento2/app/code/Magento/Bundle/Pricing/Price/ConfiguredPrice.php
  2. Check line number 151
  3. It has a function call getPrice(BundleDiscountPrice::PRICE_CODE), with reference of BundleDiscountPrice class

Expected Result;
The class BundleDiscountPrice must be declare.

Actual Result:
This class is not defined

Metadata

Metadata

Assignees

Labels

Component: PricingFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: doneReported on 2.4.xIndicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions